Skip to main content
TShet.2
Associate II
March 29, 2023
Question

Can we build a DALI slave board using SMT32F030CCT6TR controller while receiving DALI data through GPIO input.

  • March 29, 2023
  • 2 replies
  • 1004 views

I need to build a DALI slave board which receives DALI command, now I am receiving the dali data through GPIO input pin.

Can I capture entire dali packet using timer to by checking the GPIO input status.

This topic has been closed for replies.

2 replies

gbm
Super User
March 29, 2023

Use timer input capture function - this will give you precise timing of DALi input signal.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
TShet.2
TShet.2Author
Associate II
March 29, 2023

I am currently using Pin A5 as GPIO input and reading the pin state every 100micro second, as the DALI data rate sends a bit every 833 micro second.

Do you think this method will work?