Synchronisation of PWM signals between different ST Nucleo boards

2 visualizaciones (últimos 30 días)
AHMED
AHMED el 15 de Oct. de 2024
Comentada: Umar el 17 de Oct. de 2024
I am designing a control system for a multilevel converter. For each module I used dedicated nucleo board (l432kc). I am struggling with synchronise the PWM signals of different board. I tried to use external trigger in master-slave configuration but it didnt work. How can I synchronise them ?
  3 comentarios
AHMED
AHMED el 16 de Oct. de 2024
Thank you very much. I have seen it before. However, my problem is synchronisation of different board. If I am not wrong, I think I should need to generate a trigger signal from the master and use it as a trigger input to the slaves for the synchronisation of timers. But I havent managed it using the PWM block or MXCube.
Umar
Umar el 17 de Oct. de 2024
Hi @Ahmed,
Well, I tried to help out. Based on your recent comments, “my problem is synchronisation of different board. If I am not wrong, I think I should need to generate a trigger signal from the master and use it as a trigger input to the slaves for the synchronisation of timers. But I havent managed it using the PWM block or MXCube”
To synchronize PWM signals across multiple Nucleo boards, first approach would be Master-Slave Configuration with External Triggering, in this setup, one board acts as the master and generates a PWM signal that serves as a reference for the slave boards. Ensure that the external trigger signal is correctly configured and connected to the timer input on each slave board. Another approach is to use a shared clock source for all Nucleo boards. By synchronizing the clock signals, all timers can operate in unison. If your board has I2C or SPI Communication then utilize them to send synchronization commands from the master to slaves.
Hope this helps.

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by