Posted on August 07, 2013 at 07:12Im using usart2 and i know its sending data but will not receive im using :rx_data = USART_ReceiveData(USART2);to save the data then using a while(rx_data > 0 ) { do stuff}any suggestions about why its not receiving...
Posted on July 21, 2013 at 07:37
Currently im using SPI to send information to configure the internal registers of a ENC28J The minimum SCK allowed is 8 Mhz. Im using the STM32F103RB, which can operate at 78Mhz. For some reason when i try to boo...
Posted on July 20, 2013 at 20:19im trying to pull a pin high and drop low right before SPI transmission. Any suggestions on how i can accomplish this? Basically i need a command that will do this every time there is a transmission. #stm32f103
Posted on July 17, 2013 at 05:19
I tried configuring. Im using the STM32F103RB
/* Setup GPIO pin GPIO_USART1_TX. */
GPIO_InitTypeDef GPIO_InitStructure; // GPIO structure
USART_InitTypeDef USART_InitStructure; // USART Structure
USART_ClockIn...
Posted on August 07, 2013 at 18:07
yes i use
while( USART_GetFlagStatus(USART2, USART_FLAG_RXNE) == SET); // checking flag
{rx_data = USART_ReceiveData(USART2);
} then once rx_data >0 it does stuff, but i dont understand why it doesnt react...