This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic UART ble example

github.com/.../nrf51-UART-examples

Hey any I was trying to test the example, the one with BLE I test APP BLE sending --------shows on PC UART software However, I can not make PC UART software ----->>BLE APP work

I suspect sth wrong with the void UART0_IRQHandler(void),

so, I put global variable inside, to debug

it seems that when sending 1 byte, the interrupt functions. when sending multiple bytes together ,it restarts the main.

I dont quite understand the function as the comments:

**UART interrupt handler to process TX Ready when TXD is available, RX Ready when a byte

  •      is received, or in case of error when receiving a byte.**
    

is that mean can only receive one byte once? image description

BTW, for the uart_evnt_callback image description It was called everytime for uart operation, however, it does not do as the comments

Any one can help me out? thank you.

Related