HAL_DSI_MspInit bad generation for STM32H747
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 7:28 AM
Hi,
i use DSI Host with generation in separate file dsihost.c
In HAL_DSI_MspInit CubeMX and STM32IDE generate next lines
/* DSI clock enable */
__HAL_RCC_DSI_CLK_ENABLE();
( );
__HAL_RCC_GPIOB_CLK_ENABLE();
error: expected expression before ')' token
- Labels:
-
DSI
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 9:10 AM
Hello @x893-00​,
Can you precise which STM32CubeMX, CubeH7 package versions you are using?
Can you also share your ioc file? This will help us check the problem.
Chahinez.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 9:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-13 6:16 AM
Hi @x893-00​,
I checked your file and generated the project but I couldn't reproduce the same behavior from my side.
Chahinez.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-18 2:02 AM
Hi,
looks strange. I open H747XIH.ioc in CubeMX, click GENERATE CODE and see line 174 in file
CM7\Core\Src\dsihost.c
/* DSI clock enable */
__HAL_RCC_DSI_CLK_ENABLE();
();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**DSIHOST GPIO Configuration
