AnsweredAssumed Answered

Bluetooth HC-05 and STM32F4 Discovery

Question asked by paszko.michal on Nov 20, 2014
Latest reply on Nov 20, 2014 by paszko.michal
Hello i want to test my BT on Discovery board. I connected all pins correctly and build easy code for recive data and turn on the light.In my code i use this function to recive data on STM.

if (USART_GetFlagStatus(USART3, USART_FLAG_RXNE)!=RESET)
i=USART_ReceiveData(USART3);



I send numbers 1,2,3,6,8 (i is integer) from RealTerm terminal from my laptop to STM. In Debugger i see under "i" place random numbers like 252, 244, 252, 255 . What is wrong with my code ? or problem happens in other side ?

Outcomes