03-04-2020, 06:01 PM
I have been looking into using udma_qpsi (https://github.com/pulp-platform/udma_qspi) logic in SPI_STD mode. I noticed that when in SPI_STD mode for sampling data_rx in udma_spim_txrx module, spi_sdi1_i is used instead of spi_sdi0_i.
udma_spim_txrx.sv
line 264: s_data_rx[s_bit_index] = spi_sdi1_i;
However for data_tx spi_sdo0 is used
line 234: s_spi_sdo0 = r_tx_shift_reg[s_bit_index];
Was this intentional? If so, is there a reason behind it?
Thanks!
udma_spim_txrx.sv
line 264: s_data_rx[s_bit_index] = spi_sdi1_i;
However for data_tx spi_sdo0 is used
line 234: s_spi_sdo0 = r_tx_shift_reg[s_bit_index];
Was this intentional? If so, is there a reason behind it?
Thanks!