Wednesday, October 18th 2017, 6:41pm UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-15 of 15.

Thursday, October 12th 2017, 4:55pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

It works! Thanks a lot for your help and suggestions. The files that i posted above are working. The issue was a misconfiguration in sdram and it was not working at all in the emwin project. FYI both GUIDRV_LIN_32 and GUIDRV_LIN_16 work. GUIDRV_LIN_32 dispays larger text though.

Wednesday, October 11th 2017, 2:30pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

Btw this is the external sdram i use

Tuesday, October 10th 2017, 5:36pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

Quoted Is the RAM, where the GUI memory is placed in, 8, 16 and 32 bit wise accessible? Lpc4367 has an external memory controller (EMC) that is used as interface with the external sdram. Sdram is 16-bit addressable in physical terms. EMC on top of this can handle memory as we want to. I can write 32bit values with no problem to memory. I am not sure what 32bit accessible means though.

Tuesday, October 10th 2017, 4:28pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

Already tried ur suggestions but hard fault goes on. HardFault_Handler() at cr_startup_lpc43xx.c:452 0x1a0001fc <signal handler called>() at 0xfffffff9 _Alloc() at 0x1a002eda _EnlargeBlocks() at 0x1a002c2e _InitOnce() at 0x1a002cee GUI_ALLOC_GetFixedBlock() at 0x1a002d0a GUI_DEVICE_Create() at 0x1a002166 GUI_DEVICE_CreateAndLink() at 0x1a002254 LCD_X_Config() at LCDConf.c:364 0x1a00068c GUI__Config() at 0x1a002368

Tuesday, October 10th 2017, 4:04pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

Hi i followed your suggestion and HardFault exception occurs. Here is the trace bottom up. HardFault_Handler() at cr_startup_lpc43xx.c:452 0x1a0001fc <signal handler called>() at 0xfffffff9 _RemoveHoles() at 0x1a002a76 GUI_ALLOC_GetFixedBlock() at 0x1a002d06 GUI_DEVICE_Create() at 0x1a00210a GUI_DEVICE_CreateAndLink() at 0x1a0021f8 LCD_X_Config() at LCDConf.c:469 0x1a000700 GUI__Config() at 0x1a00230c GUI_Init() at 0x1a00232e main() at main.c:116 0x1a000e40 Is there any sample GuiConf file? Belo...

Tuesday, October 10th 2017, 2:01pm

Author: disideris

ILI9341, RGB INTERFACE and emwin

Hi, Thanks a lot for the reply. Quoted you should you use the GUIDRV_Lin driver So i have to use GUIDRV_Lin for driving LPC onbard controller and not GUIDRV_FlexColor for driving ILI9341? Quoted Also there must be a framebuffer somewhere the on board LCD controller has access to This is working Quoted In the function _InitiControler() you initialize the controller and any other display related HW. This is the part that might confuse me. InitController must initialize the Lpc onboard lcd controll...

Tuesday, October 10th 2017, 10:51am

Author: disideris

ILI9341, RGB INTERFACE and emwin

Hi there, From the help i found in this forum i managed to port emwin to my custom pcb with a tft screen with ST7735 controller. The interface i used was SPI. Thanks a lot. I need some more help. I am now finalizing the functionality of my custom pcb. I use an LPC4367 microcontroller and a TFT 320x240 with an ILI9341 controller. Pcb has an external sdram of 64mbyte. All components are working. TFT without emwin is working. The interface that i am using is RGB interface. LPC4367 has its own lcd c...

Wednesday, April 12th 2017, 2:37pm

Author: disideris

emWin - Some basic help

I have figured it out and now it is working! Thanks a lot for the help so far. I implemented also the multiple write functions pfWriteM8_A0 and pfWriteM8_A1 and now it works. I do see that some emwin functions don't work and others do. GUI_SetBkColor doesnt change the background color while GUI_DispDecAt works correctly.

Tuesday, April 11th 2017, 4:39pm

Author: disideris

emWin - Some basic help

Hi, Thanks again for the reply. I managed to overcome the silent crash at GUI_DEVICE_CreateAndLink but now i have a hardfault exception somewhere inside GUI_Init. I attach my configuration files in case you can make a suggestion etc. In my main function i do board initializations, a default timer is set and only GUI_Init() and GUI_SetBkColor(GUI_RED) are called. I am trying to debug code and LCDconf and guiconf don't cause any ecxeption. After exiting GUI_X_Init function inside GUI_X.c file whic...

Wednesday, April 5th 2017, 11:31am

Author: disideris

emWin - Some basic help

Hi, After setting up st7735 1,8 TFT with lpc4367 dev board with flexcolor driver and spi communication I see on screen random dark color pixels. After debugging i noticed that code stucks at pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M565, 0, 0); It does not throw any kind of exception but it never moves beyond that point. Any help or idea?

Wednesday, March 29th 2017, 12:14pm

Author: disideris

emWin - Some basic help

Hi, Great. I ll follow your suggestions and try this out. FYI I have a custom board with an LPC4367 and a display module that uses ili9341. I am waiting for an external sdram to come, so i ll freeze this setup for a while. Meanwhile i ll try to fix an adafruit 1.8 TFT with ST7735 controller (internal memory 384k) interfaced with an lpc4367 dev board. I will use serial spi interface, GUIDRV_FlexColor driver and take advantage the internal display memory (384k). So to make it clear my questions ar...

Tuesday, March 28th 2017, 11:35am

Author: disideris

emWin - Some basic help

Hi, Thanks a lot for the previous help. I ve tried some things but hard fault exceptions occur. In my current setup i don't have an external sdram. So i am trying to fit emwin inside internal ram which is 32kb. Can i achieve that? From various examples i found out that it isn't required to set an external address. Inside LCDConf.c i don't set LCD_SetVRAMAddrEx(0, (void *)VRAM_ADDR) and in i just set static U32 aMemory to hold emwin inside internal ram? Is this the case?

Wednesday, March 22nd 2017, 11:20am

Author: disideris

emWin - Some basic help

Hi, Thanks again for the help. It's been really useful. Is there available any sample emwin project that is close to my needs (with rgb interface) so that i can leverage it?

Tuesday, March 21st 2017, 4:14pm

Author: disideris

emWin - Some basic help

Hi! Thanks a lot for the reply. I am using a 16bit (5-6-5) rgb interface. So the case is that i have to configure mcu lcd controller registers AND write to ili9341 registers to achieve communication?

Tuesday, March 21st 2017, 1:41pm

Author: disideris

emWin - Some basic help

Hi there, I think i lack some basic understanding of how to use emwin library and the underlying driver infrastructure. It would be much appreciated if you could help me understand the big picture here. My setup: I have an NXP LPC4367 mcu mounted on a custom PCB. This mcu has an lcd controller (i am not sure which is this controller. I think it is ST7565S). I also have a 2.4'' TFT Display Module DT024CTFT which has an ILI9341 lcd controller. What i want to do: Clearly i want to interface this ex...