Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

External SPI master clock connect to CPLD global clock network ?

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) ?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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