My device is TMS570LS3137. Now I want to use the N2HET as I/O. My Purpose is I can use one pin of N2HET to Export high and low level。
I need hnow the Specific Configuration of HAL, and the main code.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
My device is TMS570LS3137. Now I want to use the N2HET as I/O. My Purpose is I can use one pin of N2HET to Export high and low level。
I need hnow the Specific Configuration of HAL, and the main code.
Kevin,
HET1 in halcogen is the same as N2HET1. You need to first enable HET1 driver and then click the HET1 tab to configure details for HET1. The default setting for all HET1 pins as GIO input. If the pin the a mux pin and HET1 pin is not the primary function, you will also need to configure the pimux module.
Thanks and regards,
Zhaohong