I2C Messages Sent by Spin to EEProm
Moderator: frank
-
- Posts: 11
- Joined: Wed Apr 14, 2021 3:19 pm
I2C Messages Sent by Spin to EEProm
Hi, I am wondering if there is any documentation of the I2C messages sent by the FV-1 to the EEProm chip for program loading. Like a description of what messages are sent out and what the FV-1 expects to get back, as well as a timing diagram if possible. Please let me know, thanks!
Re: I2C Messages Sent by Spin to EEProm
Just reads the EEPROM exactly as shown in a datasheet for the 24LC32A. Programs are in the EEPROM in order so program 0 starts at address 0 of the EEPROM.
Frank Thomson
Experimental Noize
Experimental Noize
Re: I2C Messages Sent by Spin to EEProm
If you are interested, there is a project posted in diystompboxes.com that emulates an EEProm chip with and ESP32 and interfaces with an FV-1. This way you can store more than 8 programs.HammerheadAudio wrote: ↑Fri Jan 06, 2023 2:26 pm Hi, I am wondering if there is any documentation of the I2C messages sent by the FV-1 to the EEProm chip for program loading. Like a description of what messages are sent out and what the FV-1 expects to get back, as well as a timing diagram if possible. Please let me know, thanks!
https://www.diystompboxes.com/smfforum/ ... c=126277.0
-
- Posts: 11
- Joined: Wed Apr 14, 2021 3:19 pm
Re: I2C Messages Sent by Spin to EEProm
Okay, would that be a sequential read as described in the datasheet?
How many bytes are read? And what is the expected start address for each program based on their index?8.3 Sequential Read
Sequential reads are initiated in the same way as a
random read, except that once the 24XX32A transmits
the first data byte, the host issues an Acknowledge as
opposed to the Stop condition used in a random read.
This Acknowledge directs the 24XX32A to transmit the
next sequentially addressed 8-bit word (Figure 8-3).
Following the final byte transmitted to the host, the host
will NOT generate an Acknowledge, but will generate a
Stop condition. To provide sequential reads, the
24XX32A contains an internal Address Pointer which is
incremented by ‘1’ upon completion of each operation.
This Address Pointer allows the entire memory
contents to be serially read during one operation. The
internal Address Pointer will automatically roll over
from address FFF to address 000 if the host
acknowledges the byte received from the array
address FFF.
Re: I2C Messages Sent by Spin to EEProm
128 instruction/program * 4 bytes/instruction so 512 bytes per program
Programs are sequential in the EEPROM so program 0 is bytes 0 -511, program 1 512 - 1023, etc.
Programs are sequential in the EEPROM so program 0 is bytes 0 -511, program 1 512 - 1023, etc.
Frank Thomson
Experimental Noize
Experimental Noize
-
- Posts: 11
- Joined: Wed Apr 14, 2021 3:19 pm
Re: I2C Messages Sent by Spin to EEProm
Yes, that is clear enough but is the reading method used by the FV-1 the sequential read described in the EEPROM datasheet? Or is it reading these bytes one address at a time. That is not specified.