Content originally posted in LPCWare by capiman on Thu Sep 05 02:21:16 MST 2013
Hello Sphoenix,
have a look at page 289 of user manual of lPC4357 (V1.6 - 25 Jan 2013).
In the middle there is a gate (right from glitch filter), which control input.
I had the problem with UART, but i think same with SPI.
There is a line from top called EZI, which i think must be set.
This bit is located in LPC_SCU->SFSPx_y (look at bit 6 EZI).
Perhaps look into example code, if additional bits must be set in this register.
For UART (!) i used
scu_pinmux(0xF ,10 , MD_PDN, FUNC1); // PF.10 : UART0_TXD
scu_pinmux(0xF ,11 , MD_PLN|MD_EZI|MD_ZI, FUNC1); // PF.11 : UART0_RXD
Best regards,
Martin