C2000 BLDC Hall Sensor Interrupts
Afficher commentaires plus anciens
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 commentaire
Venkatesh Chilapur
le 15 Déc 2020
Please create a service request by contacting our support:
Regards,
Venkatesh C
Réponses (0)
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!