2021-04-30 04:20 AM
Hi,
I am planning to implement DALI on STM32G MCU, I have looked at the documentation but all the example projects are with STM32L1 or STM32F1 and the library provided by STM is based on IAR workbench. My questions are
Thanks for your Help in Advance.
Best Regards,
Prasanna
Solved! Go to Solution.
2021-05-19 02:37 AM
Hello @KPras.1 and welcome to the Community =)
DALI can be ported to some another STM32 MCU. The DALI project has 2 parts:
HAL layer are available for STM32F1, STM32L1 MCU, and there is no plan to port this to STM32G0.
The HAL layer should be ported from given MCU (F1, L1) to target MCU according hardware differences.
The DALI HAL layer is using only GPIO, Timer, EXTI interrupts and EEPROM storage, and those IP can differ between MCUs.
So, the HAL layer can be quite simple ported to another STM32 microcontroller, and you can do this according your needs (which GPIO used, which timer used).
Hope my answer helped you! :smiling_face_with_smiling_eyes:
Please mark my answer as best by clicking on the "Select as Best" button if it helped. This will help other users find that answer faster.
Imen
2021-05-19 02:37 AM
Hello @KPras.1 and welcome to the Community =)
DALI can be ported to some another STM32 MCU. The DALI project has 2 parts:
HAL layer are available for STM32F1, STM32L1 MCU, and there is no plan to port this to STM32G0.
The HAL layer should be ported from given MCU (F1, L1) to target MCU according hardware differences.
The DALI HAL layer is using only GPIO, Timer, EXTI interrupts and EEPROM storage, and those IP can differ between MCUs.
So, the HAL layer can be quite simple ported to another STM32 microcontroller, and you can do this according your needs (which GPIO used, which timer used).
Hope my answer helped you! :smiling_face_with_smiling_eyes:
Please mark my answer as best by clicking on the "Select as Best" button if it helped. This will help other users find that answer faster.
Imen