volatile uint32 *LUT_BG;MCF_LCDC_LVPWR = 0x00000280;for(i=0; i < (640); i++){ LUT_BG = (uint32*)0xFC0AC800 + i; *LUT_BG = *(uint32*)(0x00000003);}
Dear Adam,
how can i set the BGLUT Look-Up Register in K70? I try it with the following code. But this node work.
volatile uint_32 *LUT_BG; | |
LUT_BG = (uint_32*)0x400B6800; *LUT_BR++ = color_1; .... | |
Thanks Kai Paulus |
1 - You're replying to a post from nearly 5 years back.
2 - You're using a K70, and this is the ColdFire forum. Search the Kinetis forum for "k70 lcdc" and post there.
3 - Your code looks fine. What "node work"? You've probably got bugs elsewhere.
Tom
Dear Tom,
i have post my question in the K70 Forum. My problem is, i can not change the contents of the Background Look-Up Tabelle with my code. It seems that this area is write-protected.
Kai