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

Transfer project nrf52810 on nrf52832

Hi, faced a problem while transferring a project nrf52810 on nrf52832. I changed project settings and file paths comparing projects. The connection with the phone became very bad on nrf52832. I changed BLE_GATT_ATT_MTU_DEFAULT on size NRF_SDH_BLE_GATT_MAX_MTU_SIZE, 43 on nrf52832. I changed NRF_SDH_BLE_GATT_MAX_MTU_SIZE on 43, but no changed BLE_GATT_ATT_MTU_DEFAULT on nrf52810. Only after that it became stable to connect to the phone. What is the cause of this problem?

Parents
  • Hi

    Just to make sure I understand correctly. You have an nRF52810 project that you are trying to transfer over to work on nRF52832 HW? It is usually the other way around, as most example projects have an nRF52832 variant, but not an nRF52810 one. Thus we have a guide to move projects from the nRF52832 to nRF52810. Please try doing the "Transferring the project to nRF52810 hardware" guide "backwards" so that you change the target device to nRF52832, add the preprocessor defines "NRF52" and "NRF52832_XXAA". Remove the "NRF52810_XXAA" preprocessor define. Adjust the linker script to match the maximum RAM and Flash memory of the nRF52832. Remove the nRF52810 startup and system files, and add the startup_nrf52.s and system_nrf52.c files.

    It shouldn't be necessary to edit the MTU size if the application code hasn't been modified at all either. Can you clarify what you mean by the connection being very bad? Do you get a specific disconnect reason or error code from the nRFConnect app or nRF52832?

    Best regards,

    Simon

  • I have already answered the question of how I endured it and did everything as you just described. Он постоянно отключается. Error code that the connection failed (error 8 GATT CONN TIMEOUT). On the part of the android, he writes that the characteristic was not found, in the third case, out of four connections, and then the device reboots on nrf52832.

Reply
  • I have already answered the question of how I endured it and did everything as you just described. Он постоянно отключается. Error code that the connection failed (error 8 GATT CONN TIMEOUT). On the part of the android, he writes that the characteristic was not found, in the third case, out of four connections, and then the device reboots on nrf52832.

Children
No Data
Related