Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20693 Discussions

External SPI master clock connect to CPLD global clock network ?

Altera_Forum
Honored Contributor II
1,046 Views

When using SPI communication, where a CPLD is acting as the slave and a microcontroller is the master, would the SPI clock (SCK) be connected to a global clock network of the CPLD? I.e. one of the CLK ports (labelled with a falling edge in the Quartus pin planner) ?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
276 Views

It can be, yes. However, it doesn't have to be - you could use an ordinary I/O pin instead. 

 

What is best for your design depends on what you're expecting to do with your slave CPLD. 

 

Cheers, 

Alex
0 Kudos
Reply