hello everyone,
I am learning TWI, need to send 16-bit address, is there a sample reference?
Thanks!
hello everyone,
I am learning TWI, need to send 16-bit address, is there a sample reference?
Thanks!
I am learning TWI
Do you mean TWI (I2C) itself, or just the "TWI" peripheral functions within the nRF52832 ?
Of course, an understanding of I2C itself is necessary to understand Nordic's implementation of it.
To learn about I2C itself, start with the Official Specification:
https://www.nxp.com/docs/en/user-guide/UM10204.pdf
There are plenty of other tutorials & learning materials on I2C itself; eg,
https://en.wikipedia.org/wiki/I%C2%B2C
https://learn.sparkfun.com/tutorials/i2c
Note that I2C itself has no notion of "registers" - that's just to do with the particular Slave you're talking to.
As far as I2C itself is concerned, it's all just data.
https://www.avrfreaks.net/comment/2884306#comment-2884306
https://www.avrfreaks.net/comment/2884371#comment-2884371
I am learning TWI
Do you mean TWI (I2C) itself, or just the "TWI" peripheral functions within the nRF52832 ?
Of course, an understanding of I2C itself is necessary to understand Nordic's implementation of it.
To learn about I2C itself, start with the Official Specification:
https://www.nxp.com/docs/en/user-guide/UM10204.pdf
There are plenty of other tutorials & learning materials on I2C itself; eg,
https://en.wikipedia.org/wiki/I%C2%B2C
https://learn.sparkfun.com/tutorials/i2c
Note that I2C itself has no notion of "registers" - that's just to do with the particular Slave you're talking to.
As far as I2C itself is concerned, it's all just data.
https://www.avrfreaks.net/comment/2884306#comment-2884306
https://www.avrfreaks.net/comment/2884371#comment-2884371