Question
STM324x9i-EVAL StemWin
Posted on December 05, 2013 at 00:36
Hi there, I'm trying just a little ''Hello world'' using STemWin on STM324x9i-EVAL. I've noticed that I have to turn systick on at 1ms, run the CRC unit. With all of this set, the GUI_Init is not stuck, but there's nothing on the screen.
I've set the following defines : USE_STDPERIPH_DRIVER; STM32F429_439xx; USE_STM324x9I_EVAL; STM32F429X; USE_MB1046 Since I use MB1046, I've noticed that DMA2D_IRQhandler has to be serviced :void
DMA2D_IRQHandler(
void
)
{
DMA2D->IFCR = (uint32_t)DMA2D_IFSR_CTCIF;
}
So does the Systick_IRQHandler and LTDC IRQHandler:
void
SysTick_Handler(
void
)
{
OS_TimeMS ++;
}
void LTDC_IRQHandler(void)
{
LTDC_ISR_Handler();
}
here's the main code :
int main(void)
{
int xPos,yPos;
/*!< At this stage the microcontroller clock setting is already configured,
this is done through SystemInit() function which is called from startup
files (startup_stm32f429_439xx.s) before to branch to application main.
*/
SysTick_Config(SystemCoreClock / 1000);
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_CRC, ENABLE);
GUI_Init();
xPos = LCD_GetXSize() / 2;
yPos = LCD_GetYSize() / 3;
GUI_SetFont(GUI_FONT_COMIC24B_ASCII);
GUI_DispStringHCenterAt(''Hello world!'', xPos, yPos);
while (1)
{
}
} What have I forgotten?
I've tried both Keil and Ride7 IDE for the same result.