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

UART MESH PROBLEM

Hi,

Here i are using nRF52832 ,softdevice S132 and mesh sdk v3.0.0

I am facing an issue in UART configuration in mesh (LIGHT SWITCH EXAMPLE) server code . When using my customized configured pins 14(RX) and 13(TX), if i use external pull up resistor(10k) on RX line then code is working fine , but if i use any standard BLE example code(other than mesh) without external pull up resistor on same board it's working.

Is it internal pull up issue or not?

Please suggest solution on it,i don't want to use external pull up resistor on RX line.

  • Hello,

    When you say:

     

    When using my customized configured pins 14(RX) and 13(TX), if i use external pull up resistor(10k) on RX line then code is working fine , but if i use any standard BLE example code(other than mesh) without external pull up resistor on same board it's working.

     In what case is it working, and in what case is it not working?

    And also, if you mean if that it is not working in one of the cases, what do you mean by this? How is it "not working"? My guess is that you have an APP_ERROR_CHECK(err_code) or ERROR_CHECK(err_code) or the COMMUNICATION_ERROR event in the UART event handler. This is a typical error if you initialize a UART RX pin with floating pins (without pullup). Is that the case, maybe?

    If you define DEBUG in your preprocessor defines (let me know if you don't know how to do this, and let me know what compiler you are using). Then it should say in the log why/where your application fails.

    Best regards,
    Edvin

  • Hi.

    From the HW view. -> !!!!!!!!!!!!!! ********** Allways treat unConnected RX_line by Pull_Up resistor **********!!!!!!!!!

    Kamo.

Related