Posted on August 12, 2014 at 16:00
Hey, I am trying to communicate with SIM900 GSM module using STM32F072RB chip on discovery board. I have written the code, which works fine for a few commands. I can transmit and receive small commands and I re...
Posted on August 21, 2014 at 11:21 Hey, what all header files have you included? When i complile this code in CooCox IDE, I get the following errors :- 'RTC_WKUP_IRQn' was not declared in this scope 'RTC_Alarm_B' was not declared in this scope 'PWR_...
Posted on August 13, 2014 at 06:37Thank you for your suggestion Trev! I changed the 'if' condition. But, it still doesn't work. Something seems to be wrong in the receive or transmit part. Can someone help me with that? Thanks in advance!
Posted on August 08, 2014 at 07:46
I am using STM32F072RB discovery board.
And, I dont want to use the interrupt based USART.
So what can I do to take a string of data at one go.
Or maybe check every incoming byte with a particular f...
Posted on August 07, 2014 at 17:05
while
(1)
{
while
(USART_GetFlagStatus(USART1, USART_FLAG_RXNE) == RESET);
RXBUFF[j] = USART_ReceiveData(USART1);
if
(USART_GetFlagStatus(USART1, USART_FLAG_TXE) != RESET)
USART_SendData(USART1, RXBUFF[j...