Part Number: TMS320F28388D
Tool/software:
Hello,
I have a high-priority task running on my CLA, triggered every 31.25 µs by CPU2 Timer 0. Since this task is time-critical, I want to ensure it is not delayed.
At the same time, I would like to use the CLA to handle ADC conversions whenever the high-priority task is not active. I came across background tasks, which can be interrupted by other CLA tasks, and I’m considering using them for this purpose.
I have a few questions:
- Is using background tasks a good approach, or would the overhead of allowing them be too significant?
- As I understand, Task 8 is meant to run once at startup for initialization. Would this require a
while(1)loop? If so, wouldn't that be problematic since there’s no real "break" for the CLA? - I don’t need ADC values very frequently—every 500 µs would be sufficient. Would you recommend continuous conversions, or would that have any downsides?
- Are there any considerations or potential issues when changing Task 8 from a standard task to a background task?
I appreciate your insights.
Best regards,
Wilko