C2000 BLDC Hall Sensor Interrupts
Mostra commenti meno recenti
There are a lot of very sophisticated examples in simulink on how to use the C2000 with the embedded coder e.g. sensorless FOC etc.
However, I can not find a simple example how to controll a BLDC with hall sensors.
My problem:
Every hall sensor generates an interrupt. Within every interrupt the three half bridges change to the next step. For this the ePWM of every half bridge modules need to be updates. However, it is not allowed to use more than one ePWM for the similar output. How to solve this problem?
Or in general: How can independend interrupts change the same ePWM module?
Within C-Code I would write a separate function which is called within the interrupts.
Or in general: Is it possible to call a function block out of different interrupt functions?
Regards,
Heinz
1 Commento
Venkatesh Chilapur
il 15 Dic 2020
Please create a service request by contacting our support:
Regards,
Venkatesh C
Risposte (0)
Categorie
Scopri di più su Texas Instruments C2000 Processors in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!