manitou
Senior Member+
Found the problem. DMA channel for SPI0 was improperly set in header file.
Fixed: Pull request https://github.com/PaulStoffregen/cores/pull/170
yep, i just saw that in k64 ref table 3-27
After editing kinetish.h, DmaSpi example works with SPI0 on K64
How do I test with SPI1, i tried replacing DMASPI0 with DMASPI1 (jumpered 0 to 1), src and dest don't match? non-DMA works with SPI1
EDIT: SPI1 and DMASPI1 with 0 to 1 works on K66
K64 DMA MUX table shows
16 SPI1 Transmit or Receive
17 SPI2 Transmit or Receive
that doesn't seem hopeful.
Last edited: