AnsweredAssumed Answered

A bug in the LCDC_LDD component

Question asked by Michael Adams on Apr 21, 2020
Latest reply on May 8, 2020 by Michael Adams
If the K70 was supported in mcuxpresso, this issue might be a mute point.  However, because NXP has not added the K70 into mcuxpresso as one of the supported processors and their only suggestion is to use KDS, well here is a KDS bug that needs fixing.  Hopefully, they won't just ignore this.
The bug is in the LCDC_LDD component for the TWR_K70 that comes with KDS.
I couldn't figure out why my pixel clock was off so much.  I discovered that SIM->SOPT2[LCDCSRC] is set to the external Oscillator of 50MHz not the 60MHz bus clock as specified and detailed.  See the attached images for additional information.  It may be that I have selected something incorrectly, but as you can see on line 302 of LCDC1.c the oscillator clock is what is being chosen and not the bus clock as it is supposed to be.