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

BLE_UART using NRF52810 Chipset

Hi Sir: 

I am using SDK nRF5_SDK_17.0.2,the chip is nRF52810. Using the ble_peripheral\ble_app_uart.

The IO is using P0.6 as the BLE Uart's RX Pin,And P0.7 is used as BLE uart's Tx Pin.

But when i change the Rx Pin as P0.6 ,the system will be crashed .

 I have find ,there is no used the PIN Why?

Best Regards!
James Lee

Parents
  • Hello,

    But when i change the Rx Pin as P0.6 ,the system will be crashed .

     What does it behave like when it crashes?

     Do you not see notifications on the central (phone)? Does it disconnect? Do you see the UART interrupts on the nRF?

    Have you tried debugging? Have you tried to monitor the log? What does it say? Do you see anything particular when the crash occurs? Did you see any logging earlier? The ble_app_uart uses RTT as a log backend. Let me know what IDE you are using if you haven't seen any logs.

     

    The IO is using P0.6 as the BLE Uart's RX Pin,And P0.7 is used as BLE uart's Tx Pin.

    But when i change the Rx Pin as P0.6 ,the system will be crashed .

     That is the same. You say RX pin P0.6 in both cases. Did you mean that you changed to or from P0.06? If so, where does it work, and what did you change it to when it doesn't work?

    If your log says "Fatal error.", try adding DEBUG to your preprocessor definitions. If you are not sure how to do this, let me know what IDE you are using.

    Best regards,

    Edvin

Reply
  • Hello,

    But when i change the Rx Pin as P0.6 ,the system will be crashed .

     What does it behave like when it crashes?

     Do you not see notifications on the central (phone)? Does it disconnect? Do you see the UART interrupts on the nRF?

    Have you tried debugging? Have you tried to monitor the log? What does it say? Do you see anything particular when the crash occurs? Did you see any logging earlier? The ble_app_uart uses RTT as a log backend. Let me know what IDE you are using if you haven't seen any logs.

     

    The IO is using P0.6 as the BLE Uart's RX Pin,And P0.7 is used as BLE uart's Tx Pin.

    But when i change the Rx Pin as P0.6 ,the system will be crashed .

     That is the same. You say RX pin P0.6 in both cases. Did you mean that you changed to or from P0.06? If so, where does it work, and what did you change it to when it doesn't work?

    If your log says "Fatal error.", try adding DEBUG to your preprocessor definitions. If you are not sure how to do this, let me know what IDE you are using.

    Best regards,

    Edvin

Children
No Data
Related