Posted on July 16, 2012 at 11:28 Hi, I am try to develop a simple I2C “receive data�? type of function; I took most of the code from the zip file that I was able to download from the st webpages. The main function of interest getBytesI2C1DMA(...
Posted on July 12, 2012 at 16:08
Hi,
Hardware -> STM32-Discovery
IDE-> Keil uVision
getBit(USART2->SR, position) works in the non-interrupt mode, but, it doesn't in the USARTn interrupt mode...!
I have linked the USART1's...
Posted on July 13, 2012 at 03:00
Never mind, this looks like a bug in the Keil debugger. When I do a step-by-step debug, the debugger first reads the USART2->SR; this clears all the required flags; and when we go to the next step, the reset SR re...
Posted on July 13, 2012 at 02:29 Ok, removed all the BBs and cleaned up the code... #include ''wrapper.h'' USART_InitTypeDef USART_InitTypeDef2={
9600,
USART_WordLength_8b,
USART_StopBits_1,
USART_Parity_No,
(USART_Mode_Rx | USART_Mode_Tx )...