I have questions about SPI timing.
Our board has SPI interface between MCU domain of TDA4 and AP domain of TDA4. (MOSI : F25-->V25, MISO : W24-->F28, CS : F27-->W27, CLK : F26-->W29)
1) This interface's setup time(SPI_D valid before SPI_CLK active edge) is sholud be longer than 2.9ns according to datasheet(Table 5-75. Timing Requirements for SPI).
As I attached (1.spi-i-48mhz-cs-time, 2.spi-i-48mhz-mode0-fail, 3. spi-i-48mhz-mode2-ok), our interface can't meet the setup time when clk is 48MHz. (spi-i-48mhz-mode0-fail).
Surely, we can change the mode, and we can meet the setup time by setting mode2 (spi-i-48mhz-mode2-ok), 24MHz is also ok.
Q) Could we change the timing of MOSI or MISO?(ex. change some registers) Should it work normally at 48MHz?
2) Delay time (SPI_CSi active to SPI_CLK first edge, SPI_CLK last edge to SPI_CSi inactive) looks so long. (please see the spi-i-48mhz-cs-time)
Q) Is it normal?
Please give me a comment!
Thanks,
Manwoo Kim