How to handle SPI components requiring heading/leading clock cycles with CS off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some components requires some clock cycles with chipselect off before or/and after the data transfer done with CS on.

Typically IDT801034 QUAD PCM CODEC datasheet states "Note *: CCLK should have one cycle before CS goes low, and two cycles after CS goes high".

The only way I see to achieve that is to transfer a 4 bits word with CS off before and after the data. I've not found any way to do so in the current SPI subsystem implementation, is there any ?
If not, what would be the best approach to implement that ?

Cheers,
Christophe
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux