How to use 8-bit buffer for QN9080 DMA

Showing results for 
Search instead for 
Did you mean: 

How to use 8-bit buffer for QN9080 DMA

Contributor III

Hello. I am working with the DMA SPI SDK example for the QN9080. The spi dma transfer example uses a 32 bit buffer for the slave's transmit and receive buffers even though the data width is only 8 bits. I have the same code working in my project, but I would prefer to use 8 bit buffers to preserve memory. Is it possible to use 8 bit buffers for the DMA spi or are 32 bit buffers required?

Tags (2)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Rick Dickerson,

Unfortunately the driver example only works with 32-bits because the SPI FIFO works with that word length.

Sorry for the inconveniance this may cause you.

Best Regards

Alexis Andalon

0 Kudos