AnsweredAssumed Answered

K64F DSPI Clock Glitch (KSDK SPI Master Driver)

Question asked by Jonathan Szymaniak on Nov 23, 2014

Hi there,

 

I'm just looking to test out some simple DSPI Master transfers (non-DMA operation) on the FRDM-K64F using the KSDK (1.0.0) Master peripheral driver.


The API seems pretty straight-forward.  However, with in each byte in my transfers, there's a glitch between bit 0 and bit 7 of the following byte:

 

K64F_SPI_xfer.png

 

This only appears to happen for the kDspiClockPhase_FirstEdge clock phase option.

 

I was just curious if anyone else has run into this. The code's attached.


Cheers,

Jon

Original Attachment has been moved to: main.c.zip

Outcomes