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

How to bluetooth communication SAADC data from peripheral to central module?

Hello, 

I'm a beginner in NRF52832 module.

I want to test saadc + bluetooth communication.

So, I searched 

https://github.com/NordicPlayground/nRF52-ADC-examples

this example and tested with my PC. It works well.

However, when I am trying to communicate with other BLE module(nrf52832 breakout board), 

I don't know why the data is not checked other module..

1) DK board test environment

nrf52832 DK board ---UART--- PC (saadc data from UART) : used code https://github.com/NordicPlayground/nRF52-ADC-examples

2) breakout board test environment

nrf52832 breakout board ---UART---PC (saadc data from UART)

: I don't know why the UART is not working in breakout board while using same code.

: Program download is checked using LED.

3) board-board test environment

nrf52832 breakout board(slave) - nrf52832 breakout board(master) ---UART--- PC

                  saadc data                       saadc data from slave to PC

I want to 3) environment test. And I am using ble_app_uart_c SDK version17.0.0 for master breakout board.

(slave board using github nrf52-ADC-examples).

The breakout board program is downloaded using nrf52DK (debugging mode).

I am really beginner for NRF52, and not sure my thinking is right..

Help, if someone tested a similar environment, or point out please if something wrong.

Thank you for read this question.

Have a good day.

Parents
  • Hi,

    2) What kind of breakout board are you using? Does the board have the UART pins on the same GPIOs as the example? Are you using a USB-to-serial/FTDI-cable to connect the board to the PC, or does it have something on-board like our DK has?

    3) You can use the ble_app_uart_c example together with the ble_app_uart__saadc_timer_driven__scan_mode example for the Github repository. I just tested this, and it works as expected out of the box.

    Best regards,
    Jørgen

  • I am using

    nRF52832 Chip Base BLE Module, MDBT42Q-P512K Breakout Board

    And, I can more focus on breakout board debugging thanks to your reply.

    I was check the breakout board pin 06(TX), 08(RX) which is same as the example.

    Also, I am using USB-to-serial cable named 'AD-USBISP V03'(which has UART pin).

    I think i should check the breakout board and PC connection because both examples are works.

    I will test breakout board and reply the results.

    Thank you so much for reply it really helpful for me.

    Best regards,

    Yclee

Reply
  • I am using

    nRF52832 Chip Base BLE Module, MDBT42Q-P512K Breakout Board

    And, I can more focus on breakout board debugging thanks to your reply.

    I was check the breakout board pin 06(TX), 08(RX) which is same as the example.

    Also, I am using USB-to-serial cable named 'AD-USBISP V03'(which has UART pin).

    I think i should check the breakout board and PC connection because both examples are works.

    I will test breakout board and reply the results.

    Thank you so much for reply it really helpful for me.

    Best regards,

    Yclee

Children
Related