OM40006 Alphabet Font (library) / WiFi-Networking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OM40006 Alphabet Font (library) / WiFi-Networking

ソリューションへジャンプ
2,478件の閲覧回数
Dilsan
Contributor I

Hi all,

i wanted to print some Text on the LCD Screen of the OM40006 IoT Module Baseboard. I was hoping there might be a library with all letters already, instead creating a new library for all letters in an array (like the example the cursor from lcdc_cursor). Are there any available ?

Another Question is, what does this assertion from the driver "fsl_lcdc.c" really mean: 

+"assert((config->upperPanelAddr & 0x07U) == 0U);"

+"assert((config->lowerPanelAddr & 0x07U) == 0U);" 

Is it bad if i let those commented? Because i have commented this so that i can use the qca_demo (VCOM port) to create a UDP connection. Right now my project is a cross between qca_demo and lcdc_cursor. Right now it is working.


My Equipment:
OM40006 IoT Module BaseBoard
LPC54018 IoT
MCUXpresso IDE

Best Regards
Dilsan M.

0 件の賞賛
返信
1 解決策
2,428件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the LCD frame buffer register definition, the low three address bits must be zero.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1619142327624.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,460件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Dilsan,

Regarding your question to print text on the screen, pls use emWin tools to generate the image for the text. This is the emWin tools link:

https://www.nxp.com/design/software/embedded-software/nxp-emwin-libraries:EMWIN-GRAPHICS-LIBRARY

For the following two lines in fsl_lcdc.c, they are only valid in compiling stage, I think they can be removed, but you have to make sure that the low three bits of variable config->upperPanelAddr are zero.

Hope it can help you

BR

Xiangjun Rong

 

+"assert((config->upperPanelAddr & 0x07U) == 0U);"

+"assert((config->lowerPanelAddr & 0x07U) == 0U);"

 

0 件の賞賛
返信
2,455件の閲覧回数
Dilsan
Contributor I

Thank you first of all for the help, i realised there might be something more about the upperPannelAddress, if i use the defined value:

static uint8_t s_frameBufs[IMG_HEIGHT][IMG_WIDTH / APP_PIXEL_PER_BYTE];
[My calculated value of s_frameBufs is 536876580 [DEC] and 100000000000000001011000100100 [BIN], but here aren't the low three bits zero]

You can see the result in the first picture. It looks like some pixel dont print right, but that only because of the handy photo. Here the screen is printing everything fine.

When I change the value of upperPannelAddress to (uint32_t) 0 or just 0. The screen hasn't filled the screen properly. (See the second picture).

Does it have a big impact if i let the value not Zero?

Best Regards,
Dilsan M.

 

0 件の賞賛
返信
2,429件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the LCD frame buffer register definition, the low three address bits must be zero.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1619142327624.png

 

0 件の賞賛
返信