Write & Read the data to/from SPI EEPROM interfaced with STM32

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 8

  • @nktrendings816
    @nktrendings816 7 месяцев назад +1

    👍

  • @manojsuryawanshi1334
    @manojsuryawanshi1334 2 года назад

    i am not able to read more than 256 bytes in externnal spi
    I am reading 4 bytes of structure after 256 bytes data is rollover

  • @RaghuDS-z1q
    @RaghuDS-z1q 9 месяцев назад +1

    Can we get the program with interrupt mode instead of polling mode for data?

  • @Minam_ESC
    @Minam_ESC 2 года назад +2

    I am getting this value 0xff on every address what's wrong can you guide me?

    • @hardware_coding3603
      @hardware_coding3603  2 года назад +1

      The issue, in my opinion, is with the writing process. In all memory location, the default data is 0xff. Before reading the data, you can check the circuit and modify the delay (reading side).

    • @Minam_ESC
      @Minam_ESC 2 года назад +2

      @@hardware_coding3603 yeah, it's working but if we use this code for another EEPROM(1Mbit) then it will work?

    • @hardware_coding3603
      @hardware_coding3603  2 года назад +1

      @@Minam_ESC Devices having more than 256 bytes use a second byte for array addressing (i.e. 0x0001). This scheme is valid up to 64 Kbytes. Add a third byte for addressing to 1 Mbit EEPROMs. The remaining portion of the code can be used as is. Please feel free to contact me if you need any further information on clearn71@gmail.com.