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

Using nRF51422 for sending bluetooth packets

Hi, I started using the nRF51422 kit today. Downloaded nRFgo Studio, Master Control Panel, nRF Connect, BLE Sniffer, Wireshark 1.10 (after figuring out that you don't support higher versions), Keil µVision, S110, S120, S130 stacks, and nRF5-SDK files.

I ultimately need to make a program that can transmit acquired data over bluetooth from the chip, but of course I want to test the templates first to understand the functionality.

To test the kit I installed the SDK zip files package in µVision, and ran the peripheral_blinky example. So far so good, the LEDs changed at the 20 Hz frequency I set them to. Now I wanted to test the chip's bluetooth connectivity, so I followed the guides laid out in the ble_peripheral_app_beacon example. I configured it to build the flash softdevice and not the default application. When I turned it on, no LEDs were flashing. I opened Master Control Panel and connected through the COM port, but it didn't find any signals. I then tried with nRF connect and Wireshark with the same null results.

It seems most likely that I'm completely misunderstanding the application of this chip and/or the SDK templates, but I just can't figure out how to get this chip to send anything over bluetooth to my computer. Help?!

Parents
  • Hi,

    The softdevice target in Keil only flashes the softdevice, you will have to flash the application in addition afterwards.

    I would recommend you to go through the tutorials here on DevZone, especically the getting started tutorial and the BLE tutorials, to learn more about the use of our chips and how to setup BLE communication.

    Best regards,

    Jørgen

  • Even the UART doesn't seem to work. I loaded ble_att_uart_c_s130_pca10028 into µVIsion, loaded the flash softdevice, then changed to the application, and loaded that. LED1 is blinking at 0.5 Hz as it's supposed to according to the guide, but nothing happens in Termite. I tried both setups; RTS/CTS flow control and Status LEDs, and then enabling the RTS in the terminal. Nothing. Then I tried removing flow control and status LEDs from the terminal, and disable flow control in the uart_init function. Still nothing. Note: The example used a baud rate of 115200, while the program I used is 38400. As long as uart_init and Termite setting is the same, I assume it doesn't matter.

Reply
  • Even the UART doesn't seem to work. I loaded ble_att_uart_c_s130_pca10028 into µVIsion, loaded the flash softdevice, then changed to the application, and loaded that. LED1 is blinking at 0.5 Hz as it's supposed to according to the guide, but nothing happens in Termite. I tried both setups; RTS/CTS flow control and Status LEDs, and then enabling the RTS in the terminal. Nothing. Then I tried removing flow control and status LEDs from the terminal, and disable flow control in the uart_init function. Still nothing. Note: The example used a baud rate of 115200, while the program I used is 38400. As long as uart_init and Termite setting is the same, I assume it doesn't matter.

Children
No Data
Related