Chargement…
Chargement…
The SPI master generates the SCK clock by dividing the system clock (configurable via generic). A transaction starts on command and sends/receives a configurable number of bits in mode 0 (CPOL=0, CPHA=0). The module manages Slave Select and signals when busy.
Reset is synchronous and active-high.
g_CLK_DIV genericGenerics:
g_CLK_DIV : positive (default 4) - System cycles per SCK half-periodg_DATA_WIDTH : positive (default 8) - Bits per framePorts:
i_clki_rsti_starti_datao_scko_ss_no_mosii_misoo_datao_data_valido_busy