All Questions
22 questions
0
votes
1
answer
126
views
STM32 SPI communication with 93C46 EEPROM
I want to sent commands (Read, Write, etc.) to a 93C46 EEPROM with a STM32 micro-controller through the SPI interface. The data sheet of 93C46 says that we should send (e.g.) 20 clock cycles for a ...
1
vote
1
answer
100
views
Read EEPROM via SPI (C232HM)
I want to read a M95128-DRMF4TG/K EEPROM with a C232Hm MPSSE cable, with contains a C232H MPSSE controller. This is my code (C#):
private void ReadSPI(byte[] byteArray, int adress) //adress is 0x0100, ...
0
votes
0
answers
25
views
I will write an eprom driver.This writing process will be based on address and size.Iwill write it in Clanguage
I have an eeprom that communicates via SPI. I will write a driver for this eeprom, but this writing process will not contain any ready-made functions. Writing and reading operations will start from a ...
0
votes
1
answer
193
views
STM32F0x8 SPI with 25LC256 recieve problem [Peripheral Lib]
I use an STM32F0 discovery board.
I am trying to program an EEPROM to save an QR-code and display it on an LCD.
Right now I am working on getting the STM32 to receive the data from the EEPROM, my code ...
1
vote
2
answers
834
views
STM32-G474RE - problem with reading data from EEPROM by SPI
I have a problem. My EEPROM is 93lc66b. I am doing the following to write and after that, read the data.
uint16_t Inst_EWEN = 0x9800;
uint16_t Inst_WRITE = 0xA01F;
uint16_t Inst_Read = 0xC000;
...
0
votes
1
answer
434
views
M93C46 cant write but can read
I encountered some problems when using M93C46. I can read data in 93C46 through spi communication, but I cannot write data to 93C46. I checked the timing of my spi, but no problem was found.
Here are ...
0
votes
1
answer
382
views
PIC32 SPI EEPROM connection
I have my own board with the PIC32MX795F512L and I'm trying to connect it with an SPI EEPROM (M95128-DRE). I'm writing a byte (0x80) and reading it (after a 5ms delay) but always the reading result is ...
1
vote
2
answers
3k
views
How To Erase and Overwrite Data in Spi EEPROM
I am using WinBond W25Q64JV SPI Flash chip for storing data and micro controller is STM32F101RCT6. When i am try to store the data in Winbond chip it is working fine i can able to read and write data ...
1
vote
1
answer
2k
views
Not able to read from an external EEPROM using the STM32F103C8
I'm trying to write and read from an external EEPROM. There is a start bit (SB) followed by an opcode, then a 6-bit address and then the actual data. I've combined the SB and opcode into one byte that ...
0
votes
3
answers
4k
views
STM32 SPI data is sent the reverse way
I've been experimenting with writing to an external EEPROM using SPI and I've had mixed success. The data does get shifted out but in an opposite manner. The EEPROM requires a start bit and then an ...
2
votes
2
answers
5k
views
STM32F4 : EEPROM 25LC256 management through SPI
I am trying to drive a EEPROM Chip 25LC256 with a STM32F469I-DISCO but can't achieve it.
I have tried to make my own function with HAL API bases but apparently something is wrong : I don't know if I ...
4
votes
2
answers
2k
views
M95128-W EEPROM. First byte of each page not writing or reading correctly
I am working on a library for controlling the M95128-W EEPROM from an STM32 device. I have the library writing and reading back data however the first byte of each page it not as expected and seems to ...
2
votes
1
answer
6k
views
What is the correct way to format data to send by HAL SPI in STM32?
I am trying to read/write data from ST EEPROM M95640-W
Acording to datasheet, for read operations data command must be formated like:
First is 8-bit instruction "Read from Memory Array": 0x03 (...
1
vote
1
answer
4k
views
How to read from and write to EEPROM suing SPI communication
I am using PIC32MX350F128L Microcontroller to read from and write to EEPROM(SST26VF032B) using SPI communication. SPI communication in this program is working, I have checked it by sending JEDEC code ...
1
vote
0
answers
2k
views
EEPROM read and write Operation using SPI communication (PIC32MX350F1128L) (Checking EEPROM value using UART)
I am working on EEPROM read and write operation using SPI communication, and I am checking the recieved bytes using UART communication. The problem I am facing in this code is I am writing to EEPROM ...