Other Parts Discussed in Thread: CC3135
Hi team,
Our customer is developing their system with CC3135MOD and they would like external MCP to communicate CC3135MOD over SPI. Customer is checking " 8.16.1 SPI Host Interface" in datasheet and they are asking the following inquires.
1. Regarding SPI_CLK-latch-timing of write(MOSI data-line)/read(MISO data-line), is both latch-timing Rising-edge ? customer would like to just confirm it
2. Regarding SPI_CLK, which the polarity (High/Low) should customer set it during not communication ?
3. Regarding SPI read (from CC3135MOD), should customer need to discard one-clock-data ? (it seems the first data is always read as zero).
I notice there is not the following description in CC3135MOD datasheet. But, for CC3135 datasheet, it seems this description exists. For #3, I doubt nCS signal timing.
Ensure that nCS (active-low signal) is asserted 10 ns before the clock is toggled. nCS can be deasserted 10 ns after the clock edge.
And then, I'd like to introduce SDK-WIFI-PLUGIN ( https://www.ti.com/tool/SIMPLELINK-SDK-WIFI-PLUGIN) as reference code, however, I'm not sure which demo-code is better for SPI handling-reference.
Can I have your Expert's advice/comments, please?
Best regards,
Miyazaki