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

Testing coded PHY with UART?

I have two nRF52840-pdk's and two laptops. I was thinking to send test strings using the following Basic setup:

       laptop1 - usb1 - pdk1 ....(coded PHY transmission)....pdk2 - usb2 - laptop2

Can I use directly some existing example codes for making this to happen?

I tested the ble_app_uart example in a laptop - usb - pdk....(bt4.2)....android-phone
-setup and it worked well, but I am not sure if it could also apply in my pdk-to-pdk case.

Parents
  • FormerMember
    0 FormerMember

    Both UART central and the peripheral examples, ble_app_uart_c and ble_app_uart can be used with the nRF52840-pdk.

    Note: SDK 13.0.0 supports S140 v.5.0.0-2.alpha, while the latest version is S140 v. 5.0.0-3.alpha.

    The main difference between 2.alpha and 3.alpha is that 3.alpha supports advertising/connection initiation on coded phy and 2 Mbps, while 2.alpha supports advertising/connection initiation on 1Mbps and the phy can be changed to coded phy/2Mbps after a connection has been established.

  • Ok, thanks! However, I wasn't too successfull:

    1. S140 3.alpha seems not to work together with the ble_app_uart example (from nRF5_SDK_13.0.0_04a0bfd), I get "Error: Flash Download failed - Cortex-M4".

    2. With 2.alpha I get both boards up. Terminal for the peripheral (ble_app_uart) says now "UART Start!"

    and the terminal of the central (ble_app_uart_c) "BLE UART central example started. Connected to device with Nordic UART Service."

    But, what next? Should I give some commands or are the boards now ready to transfer strings? Typing some characters in either terminal seems not to lead any reactions in the peer. Did I do/understand something wrong :-) ?

Reply
  • Ok, thanks! However, I wasn't too successfull:

    1. S140 3.alpha seems not to work together with the ble_app_uart example (from nRF5_SDK_13.0.0_04a0bfd), I get "Error: Flash Download failed - Cortex-M4".

    2. With 2.alpha I get both boards up. Terminal for the peripheral (ble_app_uart) says now "UART Start!"

    and the terminal of the central (ble_app_uart_c) "BLE UART central example started. Connected to device with Nordic UART Service."

    But, what next? Should I give some commands or are the boards now ready to transfer strings? Typing some characters in either terminal seems not to lead any reactions in the peer. Did I do/understand something wrong :-) ?

Children
No Data
Related