I forgot one point:
HAL_SDRAM_MODULE_ENABLED needs to be defined in variant.h.
Search found 17 matches
- Tue Nov 10, 2020 11:09 am
- Forum: General discussion
- Topic: SDRAM use
- Replies: 6
- Views: 511
- Fri Nov 06, 2020 9:23 am
- Forum: General discussion
- Topic: SDRAM use
- Replies: 6
- Views: 511
SDRAM as display buffer for STM32F746 Discovery
It is working now. I was missing to program the SDRAM chip. I found a working example with STM32CubeIDE in folder STM32Cube\Repository\STM32Cube_FW_F7_V1.16.0\Projects\STM32746G-Discovery\Examples\FMC\FMC_SDRAM\SW4STM32. I just had to copy the relevant functions and constants: void HAL_SDRAM_MspInit...
- Thu Nov 05, 2020 2:28 pm
- Forum: General discussion
- Topic: SDRAM use
- Replies: 6
- Views: 511
Re: SDRAM use
Hello [mention]mrburnette[/mention] , [mention]mlundin[/mention], Thank you for your answers. I tried to use SDRAM as a special memory section. I modified the ldscript.ld. Then I added function to initialize SDRAM: #include "stm32f7xx_hal_sdram.h" void HAL_SDRAM_MspInit(SDRAM_HandleTypeDef...
- Wed Nov 04, 2020 7:10 pm
- Forum: General discussion
- Topic: SDRAM use
- Replies: 6
- Views: 511
SDRAM use
I am using a STM32F746 Discovery board. I am slowly adding fonctionnalities. First, LTDC, touch and LVGL. Working fine. Then SD, still OK. And finally, Ethernet. Et là, c'est le drame... Blank screen. The problem is that i am running out of memory: when I try to allocate buffer for LTDC, malloc fail...
- Wed Nov 04, 2020 10:40 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Libraries for the STM32F746G Discovery screen?
- Replies: 14
- Views: 3226
Re: Libraries for the STM32F746G Discovery screen?
Hi [mention]fpiSTM[/mention], Sorry, but it seems that apart the buffer fix, D_CACHE_DISABLED is still needed in normal use. I have done some tests today; With D_CACHE_DISABLED display is perfect with Adafruit_GFX standard tests. Without D_CACHE_DISABLED there is display glitch with same tests. Yest...
- Tue Nov 03, 2020 1:27 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Libraries for the STM32F746G Discovery screen?
- Replies: 14
- Views: 3226
Re: Libraries for the STM32F746G Discovery screen?
Hello [mention]fpiSTM[/mention], There is a problem with the buffer allocation for the examples: uint16_t *buffer = (uint16_t *)malloc(LTDC_F746_ROKOTECH.width * LTDC_F746_ROKOTECH.height); Should be: uint16_t *buffer = (uint16_t *)malloc(LTDC_F746_ROKOTECH.width * LTDC_F746_ROKOTECH.height * sizeof...
- Sun Nov 01, 2020 1:34 pm
- Forum: General discussion
- Topic: Anybody using LVGL?
- Replies: 3
- Views: 1342
Re: Anybody using LVGL?
I just created a GitHub repository for my project, Nucleo LEP.
You can check the code to have a working example.
I am working on a new project with a STM32F746 Discovery.
LVGL is working fine, display and touch.
You can check the code to have a working example.
I am working on a new project with a STM32F746 Discovery.
LVGL is working fine, display and touch.
- Wed Oct 28, 2020 3:52 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Libraries for the STM32F746G Discovery screen?
- Replies: 14
- Views: 3226
Re: Libraries for the STM32F746G Discovery screen?
The libraries are working. But, if touch doesn't work check the C Runtime Library you are using. With Newlib Standard, it blocks in TwoWire::allocateTxBuffer, realloc gives null result and we go directly in ErrorHandler. With Newlib Nano, everything works well, realloc allocates the buffer. Don't kn...
- Thu Oct 22, 2020 3:39 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Libraries for the STM32F746G Discovery screen?
- Replies: 14
- Views: 3226
Re: Libraries for the STM32F746G Discovery screen?
If not part of core release, is it possible to release just the libraries, LTDC and TS?
It will be interesting to have it managed directly by the IDE, as the others STM32DUINO libraries.
It will be interesting to have it managed directly by the IDE, as the others STM32DUINO libraries.
- Thu Oct 22, 2020 12:52 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Libraries for the STM32F746G Discovery screen?
- Replies: 14
- Views: 3226
Re: Libraries for the STM32F746G Discovery screen?
Hello [mention]fpiSTM[/mention],
Is it possible to have this part of the upcoming 2.0.0 release?
Is it possible to have this part of the upcoming 2.0.0 release?