Tool/software: Code Composer Studio
I encountered two MCAL code problems when configuring the TMS570 chip. I would like to ask you.
Problem 1: When integrating the code, we found that after the program call PORT initialization, we call PWM and ICU initialization. The IO ports related to N2HET can not be used normally. Now the reason is found because there is a N2HET module in the PWM initialization. The registers are directly overwritten, causing the IO ports on the N2HET to be inoperable.
Problem 2: When debugging the ADC interrupt, it is found that the Adc_StopGroupConversion() function in Adc.c will execute the /* Disable group notification */ operation, while the Adc_StartGroupConversion() function does not continue to enable group notification, causing the program to eventually enter the default An empty callback function, Adc_AvoidNotification(), causes the program to behave unexpectedly.
Do you know if there are any good solutions to these two problems?
Thank you!