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.

Dynamic control of the PWM output using HET when running in user task

Other Parts Discussed in Thread: HALCOGEN

I tested the HET/PWM driver generated by Halcogen on the RM48 USB development stick and it works fine when the hetInit(), pwmStart() and pwmStop() are called from the main() function.  However, when these functions are moved and executed within one of the tasks (I am using FreeRTOS), then the PWM operation does not work anymore.   As the hetInit(), pwmStart() and pwmStop() all require access to the HET RAM, I wonder if it is something to do with the MPU.  I disabled the MPU via Halcogen, but it still doesn't work.  Any idea why?

Development platform: RM48 USB development stick

Halcogen: version 3.06.00

CCS version 5.3.0.00090