Other Parts Discussed in Thread: HALCOGEN
Hi ,
please how we can tranfer multiple bytes by using 8 bit buffer via SPI
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,
please how we can tranfer multiple bytes by using 8 bit buffer via SPI
Hi Poonam,
The HalCOGen can generate SPI driver for you to configure the SPI module, and TX/RX data. The API spiTransmitData(...) transmits blocksize number of data from source buffer using polling method, and the API spiSendData(...) transmits blocksize number of data from source buffer using interrupt method.
If the SPI device requires the chip select signal to be held continuously active during several consecutive data word transfers, you can enable the CSHOLD bit within the current data control field.