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.

66AK2H14: Problems with SPI Clock

Part Number: 66AK2H14

Hello, I'm trying to develop a simple, baremetal SPI example program using the 66AKH14 processor. The trouble I am seeing is the data is not correct and the clock has non-uniform pulse widths.

The SPI clock should be 6Mhz and for 16-bit data the total time should be about 2.7us and it but the pulse widths are not the same. I'm expecting the same pulse width, am I correct? Also, the first word I am sending out is 0xA but I don't see that on the MOSI pin.

Any ideas what I may be doing wrong?

Here is my code:

SPI_Example.zip

I'm running the code on DSP Core 0 and using SPI Channel 0.

Thank you very much,

Joe