Sunday, November 19th 2017, 8:55pm UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-10 of 10.

Thursday, November 16th 2017, 10:34am

Author: Raash

emWin and DMA2D

Hello. LCD_ControlCache() I tried, there was no result. To date, there is no way to buffer the data pointers that need to be displayed? To output these pointers using the interrupt DMA2D. Is such a functional expected in the future for the full use of DMA2D?

Tuesday, November 14th 2017, 1:19pm

Author: Raash

Changing the parent on the go?

For the keyboard, make an unedged window without focus. More precisely, if the focus is lost, the keyboard window fills the focus back. The parent for him is the background. And it is always on top of other windows.

Tuesday, November 14th 2017, 1:13pm

Author: Raash

Multiple Buffering

I did not correctly put it. Meant what to use MemDev superfluous and it will take up resource resources. Is it so? Sorry for my English.

Tuesday, November 14th 2017, 1:04pm

Author: Raash

emWin and DMA2D

I understand, the chain of calls is this: GUI_EXec() ..->_LCD_DrawBitmap16bpp() ....->_DMA_Copy() ......{ ........................... ........DMA2D->CR |= DMA2D_CR_START; ........while(DMA2D->CR & DMA2D_CR_START) ......} if I write the parameters of the _DMA_Copy() function in my circular buffer and I will call them using DMA2D_ISR_Handler(), then the picture collapses. Since the pointers for _DMA_Copy () will no longer be relevant. Can I use it LCD_ControlCache(LCD_CC_LOCK) and LCD_ControlCache...

Tuesday, November 14th 2017, 9:13am

Author: Raash

Multiple Buffering

Hello. Do I understand correctly? What if using Multiple Buffering, then MemDev can not be used?

Tuesday, November 14th 2017, 8:05am

Author: Raash

emWin and DMA2D

Dear Segger. Is there an option in EmWin, determine end of transmission DMA2D, using the interrupt DMA2D_ISR_Handler() . And do not use poling while(DMA2D->CR & DMA2D_CR_START). Example in the previous post.

Tuesday, November 14th 2017, 7:56am

Author: Raash

How to get the window ID?

see function WM_GetId().

Wednesday, November 8th 2017, 10:39pm

Author: Raash

Multiple Buffering

Got it. Thank you. Where is the memory area for Multiple Buffering? How much memory should I allocate?

Wednesday, November 8th 2017, 10:21pm

Author: Raash

emWin and DMA2D

Hello. Used controller STM32F429, LTDC, DMA2D and LCD 7 inc resolution 800x480 pixels. For example, the function of copying the buffer looks like this: static void DMA2D_CopyBuffer(uint32_t layer_index, void* pSrc, void* pDst, uint32_t x_size, uint32_t y_size, uint32_t off_line_src, uint32_t off_line_dst) { uint32_t PixelFormat = GetPixelformat(layer_index); DMA2D->CR = 0x00000000UL | (1 << 9); // Memory to memory and TCIE /* Set up pointers */ DMA2D->FGMAR = (uint32_t)pSrc; // Source address DM...

Friday, November 3rd 2017, 11:36pm

Author: Raash

Multiple Buffering

Hello. Tell me what is more efficient to use for Multiple Buffering: VM_MULTIBUF_Enable (1); or for each dialog, window static void _cbStatus(WM_MESSAGE * pMsg) { ... switch (pMsg->MsgId) { case WM_PRE_PAINT: GUI_MULTIBUF_Begin(); break; case WM_POST_PAINT: GUI_MULTIBUF_End(); break; ... } }