Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I'm trying to switch my clock from an RTI interrupt based routine to a pwm interrupt one. In order to do this I've set up all the necessary settings in HalCoGen and as far as the creation of the pwm and of linked interrupts I'm doing all right. I would like to know if anyone has any hints or code examples (Code Composer Projects) on how to create a proper notification function (pwmNotification) and moreover on which registers to use to compare the "notification" value from this function in order to trigger some actions at a given moment in time based on the periodicity of the pwm. I am trying to replicate the rtiNotification and rtiCompare type of functions into the pwm setting.
thank you