2020-09-22 05:48 AM
I'm developing for an STM32L0 and trying to use DMA to control the I2c peripheral Tx and Rx. I got it working so far(both Tx and Rx using DMA) but I'm stumped on the reload functionality for the I2c peripheral. Is this even possible?
I looked at the L0 code snippets but they do not make use of the reload functionality.
I need to read around 1600 bytes from an external sensor using I2c but the peripheral can only be configured to read up to 255 bytes at a time. I was hoping to use the reload function to automatically reset the I2c peripheral to read all the 1600 bytes.