AnsweredAssumed Answered

lpc1788 read lcd regs cause hardfault

Question asked by hai nie on Oct 25, 2016
Latest reply on Nov 6, 2016 by Kerry Zhou

LPC1788FBD208 after set PCONP.PCLCD=1, read LCD_CTRL or other lcd regs cause HardFault,

busfault addr:0x20088018

and write lcd regs no effect, code is below:

int main(void)
{
LPC_SC->PCONP |= CLKPWR_PCONP_PCLCD;

LPC_LCD->CTRL = 1 // no effect
LPC_LCD->CTRL &= ~(1<<11); // casue HardFault

Outcomes