10 years, 10 months ago.

LPC 1114FN28 SPI

Hello,

I'm trying to use SPI but I keep getting a compiler error saying that p1 and p2 are undefined. Any advice on fixing this problem?

Question relating to:

The LPC1114FN28 is an ARM Cortex-M0 based, low-cost 32-bit MCU, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory addressing together with reduced code size …

1 Answer

10 years, 10 months ago.

Check the pinout diagram for the correct pinnames. The LPC1114 shows dp1, dp2 as possible pin IDs for SPI. Pinnames p1, p2 are used for the LPC1768 mbed.