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

TWI with nrfx

Hi there,

I'm just starting out to interface a sensor over i2c. Not having any experience I dove right in and succeeded in issuing single write and read commands via nrfx_twim_tx and nrfx_twim_rx respectively. However when I issue two of those writes in sequence I get a "fatal error". The doc was not very helpful on this but I assume that it's a scheduling problem (i.e. 2nd write command tries to start before the first finishes). 

- How would one go about properly implementing i2c communication with the nrfx version of the TWIM driver? Since all the examples are writte for the nrf_drv version I am a bit lost.

- Or is it generally not a good idea to use nrfx at this point?

- Is the transaction manager compatible with nrfx?

Best regards,

smo


Parents Reply Children
No Data
Related