Hi
I'm having problems with the I2C. For now what I see is the twi_transfer function remains in infinite loop. Other symtomp is the SDA line remains normally at low level. I've no idea what's happening. Errata documents looks ok, and the ERRORSRC register shows 0x00.
In order to try what's happening, I have the following questions:
-
What's the difference between TWI and TWIM? TWIM has a DMA mode, but it is mandatory to use it? All I want is to read and to write into a peripheral, I don't need DMA.
-
TWI peripheral is listed in the section 8.4 of the Reference Manual
as Deprecated. What does mean? Should I migrate to TWIM peripheral? -
ENABLE register needs to have 0x06 value in order to be enabled, but the nrf_drv_twi driver writes on this register the value 0x05. Is this a problem?
Thanks in advance. Any help would be appreciated.
Regards,
Elena