Send more than 8192 bytes on nrf9160 using nrfx_twim

This has been asked before i2c message max buffer size but I need a little more info on the the proposed solution "break it up into chunks" from Oyvind.

Using nrfConnect SDK 1.6.1

The MAX32664 requires 8210 bytes in a flash write message between START and STOP conditions. Using the "drivers/i2c" this results in 18 bytes being sent due to TX.MAXCNT overflow.

Using the "drivers/i2c" driver provided you can send two chunks (4000 say, then 4210 bytes)- 1st without STOP and second with a STOP but this results in a repeated start being generated between the two transactions and the MAX32664 doesn't seem to like it.

is there a way to use the nrfx_twim.c driver to send the second chunk without the "repeated START". If anyone has done this with MAX32664 and nrf9160 and I'm sure someone has - any pointers or code fragments would be appreciated.

Mark

Parents Reply Children
No Data
Related