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

Use UART in Characteristic Tutorial

Hello again,

i wanna use the UART communication for transfering data from my µc to the nrf51 and vice versa.

For a test i used the ble_app_uart example and it works fine. I got my data in the uart_event_handler from app_uart_fifo.c. Now i want to use UART inside the characteristic-master example, which i use as my ground project-> if there is a better way to built up a project like this, pls tell me :)

What i have to do to include the UART part, to get the data as i did it in the app_uart example? if i try to get it in the uart_event_handler from app_uart.c i dont get any data.

Thank you

*additional data: i user nRF51DK with SDK11

Parents Reply
  • Ok i try to explain. I want a simple hardware UART communication between the nRF51 and our microcontroller. In a simple test i only want to transfer one byte: 0x01 over UART (P0.09) from our µc to nRF51 and when received i send 0x02 back over UART(P0.11) to our µc. 0x01 will correct received by nRF51 in uart_event_handler from app_uart.c, but when i want to send 0x02 back from nRF51 to our µc, there is no data send over the uart tx pin.

Children
No Data
Related