AnsweredAssumed Answered

LPC SSP port modes not set correct

Question asked by Götz Friedrich on Feb 1, 2018
Latest reply on Feb 8, 2018 by Victor Jimenez

Hello,

 

we found a bug in: "lpcopen_2_10_keil_iar_nxp_lpcxpresso_1769.zip\lpcopen\software\lpc_core\lpc_board\boards_17xx\nxp_lpcxpresso_1769\board.c" where the pin mode is not set correct for the SPI pins.

 

e.g. line 193:

Chip_IOCON_PinMux(LPC_IOCON, 0, 7, IOCON_MODE_INACT>>2, IOCON_FUNC2);

has to be used. In the original call the mode is not is downshifted but required for Chip_IOCON_PinMux() API call.

 

Attached corrected board.c file.

 

-Best regards, Götz-

Attachments

Outcomes