Synchronisation of PWM signals between different ST Nucleo boards

3 ビュー (過去 30 日間)
AHMED
AHMED 2024 年 10 月 15 日
コメント済み: Umar 2024 年 10 月 17 日
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 件のコメント
AHMED
AHMED 2024 年 10 月 16 日
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 2024 年 10 月 17 日
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.

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by