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

using i2c to send 3 command per 10ms, ppi available?

just like github.com/.../nrf52-mpu-easydma-using-timers-and-drivers we add a sensor, and try to read 2 sensors by 3 command in i2c. is it possible to still using ppi?

Parents
  • Hi, so sorry for the late answer.

    As far as I understand you want to read from three different slaves consecutively without using interrupts. The problem with that is that you can't change the addresses just by using PPI and hardware. You will have to change the address in software every time you change slave. There are two TWI modules though, that can work concurrently.

Reply
  • Hi, so sorry for the late answer.

    As far as I understand you want to read from three different slaves consecutively without using interrupts. The problem with that is that you can't change the addresses just by using PPI and hardware. You will have to change the address in software every time you change slave. There are two TWI modules though, that can work concurrently.

Children
Related