cancel
Showing results for 
Search instead for 
Did you mean: 

some question about DALI Slave in STM32F

晓石.1
Associate II

DALI_RX port and DALI_TX port have been initiated twice in" void DALI_Init(TDLightControlCallback LightControlFunction) " and "init_DALI(OUT_DALI_PORT, OUT_DALI_PIN, INVERT_OUT_DALI, IN_DALI_PORT, IN_DALI_PIN, INVERT_IN_DALI, DALI_Interrupt, DALI_Error, Lite_timer_Interrupt)",and between them, one of interruption of PB0 is "EXTI_Trigger_Falling"and other in init_DALI is "EXTI_Trigger_Rising" .

The GPIOB0 of stm32f1x board has been give data which is '1 0011 0001 0010 0100 11' from other board every stable time, but the STM32_Slave do nothing in main() ,but do 'if'.

:persevering_face: hoping somebody can help me!!!0693W000003P8hPQAS.png0693W000003P8e6QAC.png

3 REPLIES 3
晓石.1
Associate II

I have worked it out:beaming_face_with_smiling_eyes:

Sorry to interrupt, but can I have your contact information? I am also studying DALI and would like to ask you a question.:beaming_face_with_smiling_eyes:

2019282070189@whu.edu.cn //////

you can connect with me through this Email.​