C2000 BLDC Hall Sensor Interrupts
Mostrar comentarios más antiguos
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 comentario
Venkatesh Chilapur
el 15 de Dic. de 2020
Please create a service request by contacting our support:
Regards,
Venkatesh C
Respuestas (0)
Categorías
Más información sobre Texas Instruments C2000 Processors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!