AnsweredAssumed Answered

SSP1 for LPC433x-Xplorer board

Question asked by ChuYuan Chiang on Oct 25, 2017

Hi, 

I have a LPC43s67 espresso borad before, and I set the SSP0 works,

now, I want to change the SSP function into a new board LPC4330 xplorer.

 

I use the SSP1 from the onboard pins (from pin number 5~8) with the code 

 

Chip_SCU_PinMuxSet(0x1, 5, (SCU_PINIO_FAST | SCU_MODE_FUNC5)); /* P1.5 => SSEL1 */
Chip_SCU_PinMuxSet(0xF, 4, (SCU_PINIO_FAST | SCU_MODE_FUNC0)); /* PF.4 => SCK1 */

Chip_SCU_PinMuxSet(0x1, 4, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.4 => MOSI1 */
Chip_SCU_PinMuxSet(0x1, 3, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.3 => MISO1 */

 

now, it not works, and I detect a large noise in the SCK and SSEL pin,

 

dose it have any idea about this?

 

Thanks,

ChuYuan

Outcomes