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

TWI sending address with no data

I need to send the following sequence of bits through TWI

start bit | 7 bit address | write | slave ACK | stop bit

I looked through the twi_hw_master.c and it seems that when you issue the TASKS_STARTTX both the ADDRESS and the TXD would be sent.

How do I manually issue a stop bit right after the slave ACKed the address?

Parents
  • Hi,

    I have a pretty similar issue. I'm using the si7210 Hall effect sensor from Silicon Labs. To wake the chip, a TWI frame like the one described above must be sent and nothing else. I looked for the software TWI library suggested bu Hung Bui but as it was 4 years ago and I'm using the SDK version 15, it is now indicated as deprecated. 

    Any new idea/solution for this issue.
    Thanks a lot.

Reply
  • Hi,

    I have a pretty similar issue. I'm using the si7210 Hall effect sensor from Silicon Labs. To wake the chip, a TWI frame like the one described above must be sent and nothing else. I looked for the software TWI library suggested bu Hung Bui but as it was 4 years ago and I'm using the SDK version 15, it is now indicated as deprecated. 

    Any new idea/solution for this issue.
    Thanks a lot.

Children
No Data
Related