Posted on January 16, 2014 at 12:29Hi there!I'm trying to transfer as much ASCII as possible from my STM32F4Discovery board.Basically I'm doing this:while (1) { APP_Rx_Buffer[APP_Rx_ptr_in]=APP_Rx_ptr_in; APP_Rx_ptr_in++; if(APP_Rx_ptr_in == A...
Posted on January 17, 2014 at 09:45As far as I see, the VCP example uses this function to send data:static uint16_t VCP_DataTx (uint8_t* Buf, uint32_t Len){ if (linecoding.datatype == 7) { APP_Rx_Buffer[APP_Rx_ptr_in] = USART_ReceiveData(EVAL_C...
Posted on January 16, 2014 at 13:33There is 'extern' definition of APP_Rx_Buffer[] buffer at the beginning of main.c, but that's not the problem. The code you are seeing works just fine as long as you don't execute it in constant loop. If you put ...
Posted on January 16, 2014 at 12:59Hi!Well, sorry for this.. In general I'm running the code form VCPdemo. As long as I execute the above code slowly enough, I receive the data. Whenever I'm ''putting'' data to APP_Rx_Buffer to fast, the communicati...