vcu
vcu copied to clipboard
feat(config): create EEPROM driver
Description
Driver for the M24256-DRDW8TP/K EEPROM.
Requirements
- [ ] Configure I2C peripheral in STM32CubeMX and regenerate code.
- [ ] Create new module for EEPROM and define API (read, write, etc).
- [ ] Implement driver.
- [ ] Create testbench independent of main VCU code.
Additional Notes
- The VCU schematic / PCB is currently set up to use the I2C peripheral on pins PB8 and PB9 (I2C1?), so this will need to be the one that is used. The write control is on PC6.
- The EEPROM driver should be just for interfacing with the memory. This should be completely separate from the logic of how configuration parameters are actually stored.
- EEPROM Mouser link.
- STM32F7 HAL manual. See I2C section.