SSP test registers

2 replies [Last post]
Zoltan
Offline
Joined: 2012-06-01

As far as I can tell, the SSP on the LPC chips is a standard ARM macrocell.
However, the NXP docs does not mention the test registers what the ARM docs describe.
They are extremely handy when you have to run the SSP as a slave.
If you expect to send some data to the master and you load it to the FIFO, then if the master prematurely aborts the transfer your FIFO will not be flushed.
There is no mechanism to actually FLUSH the FIFO, thus from that point on all frames will be off.
The test registers allow you to actually flush the transmit FIFO in such situations.

I wonder if the test registers are implemented but omitted from the NXP manuals or the test mode is not realised on the silicon at all?

Thanks.

Zoltán Kócsi
Bendor Research Pty. Ltd.

4
Your rating: None Average: 4 (1 vote)

Zoltán Kócsi
Bendor Research Pty. Ltd.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DiligentMinds.com
Offline
Joined: 2012-03-13

Perhaps an experiment is in order? When you try it out, please post your results for the rest of us-- along with the code (please)...

arshs
Offline
Joined: 2012-09-28

Hi:
The SSP Test registers are indeed implemented and operational in the LPC (at least in the LPC2300) family, where I have used them for exactly that purpose: clearing the TX/RX FIFOs.

Regards,

Alex

feedback