cancel
Showing results for 
Search instead for 
Did you mean: 

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

TShet.2
Associate III

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.

2 REPLIES 2
gbm
Lead III

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
Associate III

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?