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
  • Here are some more data points on this issue:

    running peripheral/twi_scanner using s132/pca10040 returns output of

     0> APP:INFO:TWI scanner.
     0> APP:INFO:TWI device detected at address 0x53.
    

    running peripheral/twi_sensor with the 0x53 address found from running twi_scanner returns output of

     0> APP:INFO:
     0> TWI sensor example
     0> APP:INFO:
     0> handler 1 
    

    indicating the device address is nacked.

Reply
  • Here are some more data points on this issue:

    running peripheral/twi_scanner using s132/pca10040 returns output of

     0> APP:INFO:TWI scanner.
     0> APP:INFO:TWI device detected at address 0x53.
    

    running peripheral/twi_sensor with the 0x53 address found from running twi_scanner returns output of

     0> APP:INFO:
     0> TWI sensor example
     0> APP:INFO:
     0> handler 1 
    

    indicating the device address is nacked.

Children
No Data
Related