KL16 or KL26 SPI DMA example with processor expert

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KL16 or KL26 SPI DMA example with processor expert

714 Views
misiek81_pl
Contributor I


Hello,

I try to use small OLED display (92x64px) with SPI but the bus is slow. I can't find any example with SPI and DMA on KL16 or KL26 MCU. Is there any sample code with this combination? I found DMA with UART or ADC but not with SPI. Thanks for any help.

Michal.

Labels (1)
1 Reply

289 Views
cutworth
NXP Employee
NXP Employee

Hi Michal,

So you would like to stick to processor expert code or you can also do with bare-metal code like Kinetis SDK?

If you want to use processor expert code, then you can choose KDS IDE from www.nxp.com/kds, create a processor expert project for KL26, then drag and drop a SPI_LDD component for KL26.

Or you can choose to download Kinetis SDK code from www.nxp.com/ksdk, there is example code for SPI DMA in the KSDK1.3 package for KL26 Freedom board.

pastedImage_0.png

Hao

0 Kudos