2019-05-10 06:22 AM
I'm trying to emulate an 24c08 EEPROM with anSTM32F303.
My problem is, that my master (can't change that behaviour) after sending the start and adresss-byte imediately send up to 16 byte of data, (write-operation) but in case of a read-operation it sends a repeated start directly after te address-byte und expects up to 16 byte of data from my slave.
This is not predictable from my point of view, because the master is an existing device and i want to replace it's internal EEPROM (desoldered) with my emulated one.
My first aproach was to sequenial read up to 17 bytes of data (address and up to 16byte data), but in the repeated start in case of a read-operation i can not initiate the send-process, becuase there is only 1 byte received so far and i don't know how to abort the pending read-operation at this point.
Any ideas?
2020-10-25 02:28 PM
Did you find an answer?
Regards
Paul