A bug in the LCDC_LDD component

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

A bug in the LCDC_LDD component

1,732 次查看
720adams
Contributor I
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.
Thoughts?
0 项奖励
2 回复数

1,648 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

On line 

LCDC_PDD_SetClkSrc(LCDC_BASE_PTR, LCDC_PDD_OSC0ERCLK)

is setting the external oscilator 

I do not have installed the KDS, give me some time to installed and check is this is a bug or there is a mistake on the configuration

have a good day

0 项奖励

1,648 次查看
720adams
Contributor I

Any progress?  I've found another bug in the LCDC_LDD I plan on reporting independent of this bug.

0 项奖励