Hello all,
I am trying to configure the SPI registers but there is conflict between SPI module registers names defined in C5515 data sheet and the example in CSL library for C5515.
The example in CSL library csl_spi_example says that:
/* Send Read Status Command */
CSL_FINS(CSL_SPI_REGS->SPIDR2,SPI_SPIDR2_DATA,0x0500);
CSL_FINS(CSL_SPI_REGS->SPIDR1,SPI_SPIDR1_DATA,0x0);
But there is not any register description named SPIDR2 or SPIDR1 in the SPI module registers names defined in C5515 data sheet. I think these two lines should be:
/* Send Read Status Command */
CSL_FINS(CSL_SPI_REGS->SPIDR2,SPI_SPIDAT2_DATA,0x0500);
CSL_FINS(CSL_SPI_REGS->SPIDR1,SPI_SPIDAT1_DATA,0x0);
Please correct me if I am wrong about this issue.
Regards.
***.