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

cellphone can connect to nrf52 DK, but show GATT_ERROR 133 (0x85) when I connect to my customer board

Hi,

I start developing with ble_app_template and DK

I combine uart spi twi into it

It can connect to my phone(nRF Connect APP)and work fine on DK

However when i use the same code on my customer board ,i cant connect to my phone,only uart spi twi work fine

On my phone,I can see the log give me GATT_ERROR 133 (0x85)  everytime I press connect

In rtt viewer, i can see my program go to BLE_GAP_EVT_CONNECTED event,and the next second it go to BLE_GAP_EVT_DISCONNECTED 

between the connected and disconnect ,BLE_ADV_EVT_FAST event in on_adv_evt(ble_adv_evt_t ble_adv_evt) also appear

I also found out that  i cant even connect to my phone with the origin ble_app_template!

this is my schematic of nrf52832

p0.05,p0.06,p0.07,p0.08 for external spi flash : mx25v8006e
p0.11 for uart sensor(read only)
p0.18,p.019 for twi IC :ds3231
p0.13 for a led indicator
p0.17 for a button interrupt
and my board below

thanks

Parents
  • Hi

    Yes, the DK has an external clock that all examples uses by default. What we see is that most modules don't include this clock in their design. It is entirely up to you if you would like to add an external LF clock, it is more accurate and less power consuming to use than the internal RC oscillator, so if that is something you care about in your design I'd recommend it.

    To use P0.00 and P0.01 you only need the configurations below. Keep in mind that these are the only pins that can be used for an external LF clock though.

    Best regards,

    Simon

Reply
  • Hi

    Yes, the DK has an external clock that all examples uses by default. What we see is that most modules don't include this clock in their design. It is entirely up to you if you would like to add an external LF clock, it is more accurate and less power consuming to use than the internal RC oscillator, so if that is something you care about in your design I'd recommend it.

    To use P0.00 and P0.01 you only need the configurations below. Keep in mind that these are the only pins that can be used for an external LF clock though.

    Best regards,

    Simon

Children
No Data
Related