Thanks Anthony.
Another question: Now my code is ready. I have two codes and i want to use both the N2HETs. I tried configuring the second N2HET with same configurations as first N2HET, but i do not see the output. Is there any special setting for the second N2HET other than making it slave.
Can we make any of the N2HETs as master?
I see that there are 2 HTUs in the 3137, 1 for each N2HET. How do i configure the second HTU? There is only one set of registers in HTU, how do i tell the HTU that it should transfer the data to/from N2HET 1 or 2?