SPI on pin8 (PIO0_11) and pin 9 (PIO0_10)

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

SPI on pin8 (PIO0_11) and pin 9 (PIO0_10)

644 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vu on Tue Feb 11 23:08:25 MST 2014
Hello everyone,

I downloaded bundle code for lpc812 from lpcware, tried to run spi example on lpcxpresso board and viewed data and clock pin through hantek oscilloscope, it work correctly.
But I want to change to use pin8(PIO0_11) and pin9(PIO0_10) for MOSI and SCK signal of SPI, I just replace :
LPC_SWM->PINASSIGN4 = 0x0cffffffUL -> LPC_SWM->PINASSIGN4 = 0x0cffffffUL (for SCK) same with pin MOSI. But no data in SCK and MOSI be transfered.
I tried to handle two these pins same GPIO, just set and clear but nothing to happen.
Anyone have any ideas about two these pin (PIO0_11 and PIO0_10).
Labels (1)
0 Kudos
6 Replies

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Wed Sep 24 03:08:29 MST 2014
You can use those pins for other purposes, just ad a pull-up resistor.
0 Kudos

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rorrik on Tue Sep 23 15:27:58 MST 2014
I understand the value of dedicated I2C pins, I'm complaining about the documentation being misleading. They should simply be labeled I2C, not GPIO with a foot note saying not to use it for SPI or UART.
0 Kudos

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Thu Jul 17 01:20:03 MST 2014
because they are REAL I2C pins. Another great interface on these MCU's


0 Kudos

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rorrik on Wed Jul 16 09:39:02 MST 2014
Are you kidding? Why does the data sheet call them "General purpose digital input/output pin" and have a footnote saying, "except you can't use them for 2/3 of the supported output modes?" That's messed up.
0 Kudos

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxp_apps on Fri Feb 21 14:49:20 MST 2014
Hi,

Please put external pull-up resistors on the PIO0_10 and PIO0_11 for GPIO function.

Also, the datasheet spec mentions not use to these pins for high speed applications such as SPI or USART (see footnote [3] under Table 4 Pin description table).

Thanks.

nxp_support
0 Kudos

594 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MarcVonWindscooting on Wed Feb 12 15:57:10 MST 2014
These are true open drain pins - the can never source current.
0 Kudos