josh_bird
New Contributor
5 years ago2 different clock domain for input/output data in SPI master?
Dear Sir,
I had a SPI_master question needs to be confirmed.
For my system, one sys_clk is 50MHz used for main clock and that SPI_master sck_o sync with sys_clk to output.
Could I apply another clock (latch_clk) that shift -120 with sys_clk (applied from PLL) to latch spi input data?
I would like to increase the setup/hold time and cover the pcb delay.
And, does any advantages/disadvantage for this architecture?
Btw, this spi_master works at CPOL=1 and CPHA=1 mode for now.
Please let my know if any opinion for this.
Thank you very much.
Josh