This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSP (SPI) debugging

Hi all,

I am trying to debug the SSP peripheral (in SPI mode)with Keil and I have a few questions about this.

First of all I would like to see how to view the contents of the frame buffer. If you use the Peripherals->SSP option of Keil you can't even see what is in the data register (SSP1DR) as it always defaults to zero.

Does anyone know how to solve this?

Also I am kind of confused on how exactly does the data move from the data register to the Frame Buffer. Does the data register hold the data at all or does it just shift them right out to the buffer?

And finally when I am running the program in debug mode and stepping commands one by one does the ssp peripheral still send data back and forth?

Thank you very much in advance.

With kind regards,

Sat

0