Help on SPI data transfer of last bit.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WaLi_2541706
Level 1
Level 1

Hi, guys

  Thank you for your attention. I am working on an Hi-Res Speaker Project, which needs SPI FLASH.

  Now I am using SPI to send command to SPI SLAVE, but I found that the last bit of what I have sent is always bit 0 through Logic Analysis.

spi.PNG

I am sending 0x55 command, but the picture shows that the last bit changes to 0 on the rising edge of last bit clock.

Alos 0xff(which is hard coded by WICED) is also changed to 0xfe, which last bit changes to 0 on the rising edge of last bit clok.

Any ideas? Your sugestions will be aprreciated.

Thanks in advance.

0 Likes
2 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Can you share the code snippet where you used the SPI? We need to know how you configured SPI in WICED. Also please provide the WICED SDK version and the WICED platform where you are facing this issue.

WangLinetkux

Any update here?

0 Likes