Skip to content

feat(config): create EEPROM driver #184

Description

@t-bre

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions