11 years, 1 month ago.

SPI or SSP used?

When using pins 11,12,13, the datasheet of the LPC1768 indicates that either the SPI controller or the SSP0 controller can be reached on those pins. We are now having some issues with clock rates over 10 MHz, while 20 MHz were possible using pins 5,6,7.

Of course, we are suspicious that the SPI controller is used by the mbed library, instead of the faster SSP. Is there any way to find out? Worst case scenario is that we use the SSP by direct register access, which we've done before.

Thanks! Andreas

Question relating to:

1 Answer

11 years, 1 month ago.

Afaik the library uses the SSP controller, that also seems to be the case if I look at the source code: http://mbed.org/users/mbed_official/code/mbed-NXP/file/7e0c8e02c919/capi/spi_api.c.