Posted on May 17, 2011 at 13:08The transmission code is the following: if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) { // Read one byte from the receive data register BufRx[NumBytesRx] = USART_ReceiveData(USART2); if (BufRx[NumBytesRx]=...
Posted on May 17, 2011 at 13:08Thank you very much. I have been looking a lot of flags of the USART, but not the first line of the interruption code. The problem is solved
Posted on May 17, 2011 at 13:08Hi. I have make a program to communicate between USART1 and USART2. I have taken most of the code from STM32 library USART examples. I send data with USART1 (by pooling) and I receive data with USART2 (by IRQ). The pro...
Posted on May 17, 2011 at 13:08Hi. I have reduced the SetDate routine to: PWR_BackupAccessCmd(ENABLE); PWR_BackupAccessCmd(DISABLE); As a summary, the problem is the following. I have a program that: * Uses the 1 second interruption from the RTC....
Posted on May 17, 2011 at 13:08Hi Finally I have solve the problem. In the SetDate routine I called PWR_BackupAccessCmd(DISABLE), and after that, I was not able to accede to the RTC. I haven't in mind that the PWR_BackupAccessCmd(DISABLE) also disab...