Other Parts Discussed in Thread: CC3100
Hi I am seeing a problem where the sync word coming back from the CC3100 is off by 4 bits.
This seems to occur only when some of the SPI bytes are close together, but does not seem related to the actual SPI clock frequency.
In the example attached the first non-zero response from the CC3100 to the host starts with a 0x0B at the end of one frame, and the rest of the sync word in the next frame: 0x00 - 0x00 - 0x00 - 0x0B, then 0xCD - 0xCC - 0xDA - 0xB0, instead of 0x00 - 0x00 - 0x00 - 0x00 then 0xBC - 0xDC - 0xCD - 0xAB
-The SPI clock is only at 4 MHz
- The separation between the two first bytes of the frame is only 560 ns (This SPI module can send the two first bytes very close together)
- It is difficult to see on the picture, but there are NO spurious clock transitions anywhere. The clock is very clean and well synchronized to the CS
-The first image shows the host initiating the sync word (sending 0x65 - 0x87 - 0x78 - 0x56)
- There is a frame of zero following that initiating frame (not shown)
- The second image shows the first frame where the CC3100 does not send back all 0x00s, and the frame after that one (with the 4-bit shifted Sync Response from the CC3100)