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.
现在有一个程序,Cla1Task1用来进行adc滤波,该任务由ADCINT1触发。
Cla1Task1中对ADC采样结果进行累加,累加一定次数后进行平均,只有进行平均之后才需要通知CPU更新数据,否则无需CPU处理。
ADCINT1由ECO15触发(16个通道全部转换完成)。
ADC转换由EPWM1触发,频率15KHz。
Cla1Task1任务执行完成时可以触发CLA1_INT1来通知CPU,但如果每次都通知CPU来处理,会导致CPU负载过重,影响到RS485正常通讯。
所以这里想请问一下,能否在Cla1Task1中根据需要触发Cla1Task2?
或者在Cla1Task1中根据需要触发CPU端指定中断?