SPI Clock Polarity and Phase | Cypress Semiconductor
SPI Clock Polarity and Phase
I have an application where I am driving a TI DAC8564IAPW DAC and an MCP23008 GPIO expander on the same bus.
The problem I am having is that the clock polarity and phase needs to be set to CPHA = 1 and CPOL = 0 to drive the DAC. I have the CS line always asserted and the SYNC line on the SPI chip select.
The MCP23008 simply uses ordinary SPI (CPHA = 0 and CPOL = 0).
There is no way in software to change between the two modes. I have alternative ideas but would be time consuming to implement. What would the easiest method be to address this issue?