Using the UART I need to pause out my characters like this.
USARTdrv->Send("A", 1); osDelay(20); USARTdrv->Send("T", 1);
If I don't my device does not reply at all. When spacing it out the CMSIS is calling the ARM_USART_EVENT_RX_TIMEOUT break point, yet I get a good reply from the device? I;d like to understand what is going on here rather then ignoring the break point and moving on .
the baud and bits are correct USARTdrv->Control(ARM_USART_MODE_ASYNCHRONOUS | ARM_USART_DATA_BITS_8 | ARM_USART_PARITY_NONE | ARM_USART_STOP_BITS_1 | ARM_USART_FLOW_CONTROL_NONE, 9600);
My reply from the device is about 300ms, is there a setting for timeout?
err, ok a bit confused here?
USARTdrv->Send("AT1234567", 9); printf("\nsending"); Output is "sending"
USARTdrv->Send("AT12345678", 10); printf("\nsending"); Output is "" apparently getting stuck in the Send function.
Why cant I send more the 9?