2016-04-04 11:10 AM
Hello,
I have made custom board with stm32f429 without external SDRAM.I'm trying to drive 4.3'' TM043NDH02 16.7M color TFT. In my first try I have took as an example of emWin ''Hello World'' demonstration under stm32f429iDiscovery folder. I just modifed LCD timings and deleted ili9341_init driver rutine because in my case I dont need to initialize TFT driver(right?) of the TM043NDH02 which ise HX8257A.I have got 2 huge problem which have to solve very quickly:I need some tips & tricks to solve these issues quickly.
Have nice days without bugs :) #tft #stm32f429 #emwin #hardfault2016-04-04 11:25 AM
IDE?
2016-04-04 11:30 AM
Eclipse Luna 4.4.2
ARM GNU Plugin and compiler is ARM GCC 5.2_q42016-04-04 11:33 AM
FPU settings?
2016-04-04 11:40 AM
Float ABI = hard
FPU Type = fpv4-sp-d16 Note: I had some gauges with using stm32f429Discovery a couple of weeks ago. I'm unfamiliry with low level and initializing parts. Source codes are attached. ________________ Attachments : LCDConf.h : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htj8&d=%2Fa%2F0X0000000aWF%2FF7fyFQ3puKkDqAUJ9R_0YMs7qlntmrjI21XED6_nORQ&asPdf=falseLCDConf_Lin_Template.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htky&d=%2Fa%2F0X0000000aWX%2Fj2MaqxpHKajjFFC_Fu94WTAHpFODgvfQb0aNqI3Uyzg&asPdf=falsemain.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htl3&d=%2Fa%2F0X0000000aWY%2FDBp4RckB_vwN7p7FyOVfmqFGFheJQBBOerr.S_bOdI8&asPdf=false2016-04-04 11:54 AM
change to soft.
shitty libraries:void RelayInit(){ GPIO_InitTypeDef GPIO_Init_Structure; __HAL_RCC_GPIOE_CLK_ENABLE(); GPIO_Init_Structure.Pin = GPIO_PIN_7 | GPIO_PIN_8; GPIO_Init_Structure.Mode = GPIO_MODE_OUTPUT_PP; HAL_GPIO_Init(GPIOE, &GPIO_Init_Structure); }
When you are uses local init struct set value for all fields, or first do (un)initialization for this structure.