Skip to content
Snippets Groups Projects
Commit 630ec84a authored by Bartlomiej Sieka's avatar Bartlomiej Sieka
Browse files

Motion-PRO: Update EEPROM's page write bits and write delay.


Change EEPROM configuration according to the datasheet: "The 24C01A and 24C02A
have a page write capability of two bytes", and "This device offers fast (1ms)
byte write". Add 3ms of extra delay.

Signed-off-by: default avatarPiotr Kruszynski <ppk@semihalf.com>
Acked-by: default avatarBartlomiej Sieka <tur@semihalf.com>
parent c00125e0
No related branches found
No related tags found
No related merge requests found
......@@ -299,8 +299,8 @@
*/
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* DTT driver needs this */
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 70
#define CFG_EEPROM_PAGE_WRITE_BITS 1 /* 2 bytes per write cycle */
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 5 /* 2ms/cycle + 3ms extra */
#define CFG_I2C_MULTI_EEPROMS 1 /* 2 EEPROMs (addr:50,52) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment