LPC1115 SPI relocate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1115 SPI relocate

638 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tzijnge on Fri Jul 26 04:51:32 MST 2013
Hi all,

I have encountered a problem while trying to use the SSP1 module on an LPC1115/303. This module can be relocated to two different outputs on the package. You can use the IOCON_SSEL1_LOC, IOCON_MISO1_LOC, IOCON_MOSI1_LOC and IOCON_SCK1_LOC registers for this. These registers are implemented in the XL series, but not in the L series. I am using the LPCXpresso IDE 5.2.6_2137 and have imported the CMSIS 2.0 library.
My problem is that the IO configuration register definitions in the file lpc11xx.h seem to be valid only for the L series and not for the XL controller I am using. I have solved my problem by manually adding the extra register definitions, but it makes me feel a bit uneasy. Apparently there is no lpcxx.h for the XL series, or I just can't find it.
Is this a known problem? Can anybody help me with this?

Furthermore I think I found a mistake in the user manual for my device (UM10398 rev 12). Table 151 descibes the SSEL1_LOC register. According to the user manual, setting the value 0x0 directs SSEL1 to PIO2_2. This is incorrect and should be PIO2_0.

Thanks.
Labels (1)
0 Kudos
Reply
1 Reply

610 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Paul on Wed Aug 14 13:28:37 MST 2013
Thank you for bringing this to our attention.  I will make sure the latest header file is included with LPCXpresso.  An updated header file is attached.
You are also correct regarding the Table 151 in the user manual.  I have submitted a change request to have this corrected.

0 Kudos
Reply