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

BLE_UART code not working in new develped module

Hi

I am working on nRF52832 SOC and developing hardware modules.

we are using nRF5_SDK_15.3 and SES

we developed one new hardware module with nRF52832 SOC

and we testing the example codes :  Blinky , BLE_blinky, TWI scanner  and also BLE_UART

The BLE_UART code is not working in one or two developed prototype. but it works on the nRF5_DK board and also in new developed module.

My question is the problem we are facing is because of nRF52832 ic or any hardware issues.

because the code is our example code it works in DK board and some of our board also.

while debug the problem board .

same board we tested the
TWI scanner the Hardware UART line works fine.

what will be the problem

whether IC or Soldering ISSUES 

can you help me how to identify the SOC IC works fine.

Parents
  • Hi,

     

    Given call stack trace, I suspect that you are seeing a UART framing error.

    Unfortunately, the default behavior is to assert in most examples, like this:

    case APP_UART_COMMUNICATION_ERROR:
        APP_ERROR_HANDLER(p_event->data.error_communication);
        break;

     

    If you uncomment the call to APP_ERROR_HANDLER() and instead either set a flag or any other way to indicate that you have gotten a error in framing, your application should start working again.

    Could you try this and see if it works?

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    Given call stack trace, I suspect that you are seeing a UART framing error.

    Unfortunately, the default behavior is to assert in most examples, like this:

    case APP_UART_COMMUNICATION_ERROR:
        APP_ERROR_HANDLER(p_event->data.error_communication);
        break;

     

    If you uncomment the call to APP_ERROR_HANDLER() and instead either set a flag or any other way to indicate that you have gotten a error in framing, your application should start working again.

    Could you try this and see if it works?

     

    Kind regards,

    Håkon

Children
Related