Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Hi
I am developing codes for tmp570LC4357 for the first time. I have been reading TMS570LC43x 16-32 RISC Flash Microcontroller Technical Reference Manual (Rev. A) a lot as I develop. I am studying n2het. There seems to be missing specs definitions. To start off, I don't find details of HETINTENAS , HETOFF1, HETOFF2. Eg for HETINTENAS. The explanations provided is
| Interrupt Enable Set bits. HETINTENAS is readable and writable in any operation mode.Writing a 1 to bit x enables the interrupts of the N2HET instructions at N2HET addresses x+0, x+32, x+64, and so on. Generating an interrupt requires to set bit x in HETINTENAS and to enable the interrupt bit in one of the instructions at addresses x+0, x+32, x+64, and so on. To avoid ambiguity, only one of the instructions x+0, x+32, x+64, and so on, should have the interrupt enable bit (inside the instruction) set. Writing a 0 to HETINTENAS has no effect.When reading from HETINTENAS bit x gives the information, if N2HET instructions x+0, x+32, x+64, and so on, have the interrupt enabled or disabled |
But which bit is pwm, edge interrupts . It gets auto generated by halcogen. I can't cross check the code generated with the specs definitions. Is it possible for you to give an example of pwm1 and edge 2 interrupts and explain how to set and read back these registers?
Thanks for your support.