Ever faced the problem of having not enough DMAs for your task? Why not free it of low-priority I2C transfers? If your system uses I2Cv1, the salvation to your misery is attached to this post!
I enhanced the driver to support the full state machine of the I2C logic and added required data fields to the driver struct. Note that with activated DMA the driver is still as lightweight as before, whilst with DMA deactivated (STM32_I2C_USE_DMA set to FALSE in mcuconf.h) all DMA-related code is omitted and no unused overhead remains.
Mayhaps someone other than me finds this useful
cheers,
Thomas
I2Cv1 without DMA
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 14 guests