Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
Question 1)
I am working with the RM48L952 and I have taken a look into the example provided by HALCOGEN for the generation of a PWM which is based on the het timer. I am a little bit confused that the hetInt() is called once (which will start the pwm generation on the specified pins) and then you directly jump into your endless loop. I have read the documents for the het timer so I assume I know the behavior of that independent timer functionality.
i would like to have a distinction to make the het timer (here: specified pwm output pins) run during runtime of the application depending on the application specific context. It would be similar like a start or stop pwm. I assume I could realize that when I cut off the memcpy instruction within the halcogen example for the het timer which will load the micro-instructions into the het RAM in order to be executed. But I would like to verify that with ti engineers and get a feedback or proposal how to realize it in a more clever way if possible.
Question 2)
How can I provide pure isolation of the het timer specific pins when I want to use several of them as simple GPIO and other for pwm signal generation or input captures? For the GPIO, there are several register e.g. direction, output/input, open drain/pull, set & clr in order to specify the behavior and its value. But let's assume that the dedicated pin is configured as a GPIO, but it is also used by the het program which will generate pwm signal on the same pin. Is there some overlapping happening or does this scenario never occur due to some consistency checks by the hardware itself?