I am attempting to port the CC3000 host driver to a Freescale Kinetis K60. I am using the LSR TiWi-SL Module and I am in the process of reproducing the SPI configuration on this 32 bit platform. I am having intermittent issues when the CC3000 is initialized. After powering up the CC3000 and performing the first write, the CC3000 normally responds by pulling the SPI IRQ line low after roughly 0.6 sec. Roughly one third of the time, the CC3000 will simply never respond to the first write, which prevents the sample application from going any further.
Current Kinetis SPI configuration:
- 6 Mhz Baud
- Clock Polarity: Low
- Clock Phase: Read on falling edge
I am not sure if incorrect timing is the culprit here, so I am including several captured images of the first write command.
Overall First Write:
First 4 Bytes:
Last 6 Bytes:
Timing of first byte:
Does anyone know what could be the culprit here?