2025-01-25 10:45 PM
Hi Team,
I am observing a shift in a data each time i am sending same data from ESP8266 master to STM32f103RCT6 slave controller but each time i am getting different data and seems to be the shifted data as i can see some part of strings sent.
I have observed with the logic analyzer and it is showing same data each time.
I have attached the project and logic analyzer traces and data printed over putty from stm32 MCU, Please check the SPI configuration if i am doing anything wrong.
Please help debug this issue.
Thank you in advance!
Best Regards,
Aadesh
2025-01-26 05:39 AM
Hi,
did you check: same/or matching setting for the spi clock ?
see, in Cube:
Has to match, what you send from ESP8266 . Otherwise you receive...nonsense.
2025-01-26 06:09 AM
Are you using a CS line to sync master/slave? Can you show the traces of CS/SCK/MOSI/MISO?