Hello,
can the PWM-Module (to example EPWM1) assigned to CPU2 trigger one ADC convertion if the ADC is assigned to CPU1?
Best regards
Gennadi
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.
Hello,
can the PWM-Module (to example EPWM1) assigned to CPU2 trigger one ADC convertion if the ADC is assigned to CPU1?
Best regards
Gennadi
Hi Devin,
thank you for the answer. I have three more questions:
1) Is it possible to write to PWM Registers AQSFRC, AQCSFRC, CMPA, CMPB or read from PWM Registers TBSTS, TBCTR if the PWM module is assigned to the other CPU?
2) Can ADC EOC interrupt CPU2 if ADC is assigned to CPU1?
3) Are there some possibilities to compile application for the CPU1 and application for CPU2 and get one .out or one .hex file includes both applications together?
Best regards
Gennadi
Hi Gennadi,
1) Is it possible to write to PWM Registers AQSFRC, AQCSFRC, CMPA, CMPB or read from PWM Registers TBSTS, TBCTR if the PWM module is assigned to the other CPU?
No, only master CPU has read/write access to peripheral register.
2) Can ADC EOC interrupt CPU2 if ADC is assigned to CPU1?
Yes, interrupts are connected to both the CPU irrespective of master ownership.
3) Are there some possibilities to compile application for the CPU1 and application for CPU2 and get one .out or one .hex file includes both applications together?
I don't think we have utility to combine the .out but flash programming toll should be able to load both the .out. I would suggest to start a new E2E post for this topic.
Regards,
Vivek Singh