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

nrf51822 UART Problem

Hello all,

I am new to nRF platfrom, I am working on a protect which contains multiple BMD-200 modules with nRF51822 controller. It has to transfer some data via UART, I started of using example code and writing the values to it. But when i try to transfer the data it is not showing any data across the serial monitor. I am attaching my code , which is almost same as that of example code with modification.
main.c

Parents
  • When you say RX is pin 9 and TX is pin 10 I assume that you are talking about the things mentioned in chapter 6 of the BMD 200 Module datasheet? As you may know it is perfectly fine to use any GPIO for UART communication and pin 9 and 10 was simply what Rigado decided on for whatever reason.

    1. Are you using some sort of UART <-> USB FTDI gadget?
    2. Have you made sure that you have TX on your BMD connected to RX on your peer device and vise versa?
    3. Are you able to run any other applications on your module? Maybe it is broken?
Reply
  • When you say RX is pin 9 and TX is pin 10 I assume that you are talking about the things mentioned in chapter 6 of the BMD 200 Module datasheet? As you may know it is perfectly fine to use any GPIO for UART communication and pin 9 and 10 was simply what Rigado decided on for whatever reason.

    1. Are you using some sort of UART <-> USB FTDI gadget?
    2. Have you made sure that you have TX on your BMD connected to RX on your peer device and vise versa?
    3. Are you able to run any other applications on your module? Maybe it is broken?
Children
No Data
Related