This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C with Softdevice nrf_drv_twi_enable hangs

Using SDK 12.1.0

I2C with SoftDevice works on PCA10040 Eval Board with nRF52832 but hangs in the nrf_drv_twi_enable function with TY module EBSGCNZWY which is an nRF51822 version F1. Running without the SoftDevice on the TY module, the I2C works fine.

Parents
  • I would write the UICR register in the code (as it is erased whenever the SoftDevice is downloaded), check how it is done in the uicr_config example.

    You should connect a logic analyzer or an oscilloscope to the lines and see what is going on in hardware. At this point I do not know what is the cause of your problem.

Reply
  • I would write the UICR register in the code (as it is erased whenever the SoftDevice is downloaded), check how it is done in the uicr_config example.

    You should connect a logic analyzer or an oscilloscope to the lines and see what is going on in hardware. At this point I do not know what is the cause of your problem.

Children
No Data
Related