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:
I'm running the code on DSP Core 0 and using SPI Channel 0.
Thank you very much,
Joe