I'm using TIWM (TWIM) peripheral by directly writing at the register set mapped in memory. I need to send some data packets over I2C larger than 255 bytes, whereas TXD.MAXCNT register is only 8-bit sized. I can overcome that by dividing the my packets in 255-byte chunks and by triggering SUSPEND task at the end of the packets and then triggering RESUME & STARTTX (in this order) at the beggining of the packet. In the last packet I trigger STOPTX by configuring the LASTTX -> STOPTX shorcut.
So far so good, with the only problem that everytime I issue STARTTX the I2C address gets sent, and the I2C slave I'm using does not support that. So I need to send I2C address only in the very first chunk. However, I can't resume sending by only triggering SUSPEND/RESUME, I always need to do the STARTTX, which unfortunately sends the I2C address.
Is there any proper way to do that?