STM32CubeMX bug: data width is changed to Byte after you generate the code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-27 9:58 PM
Posted on June 28, 2016 at 06:58
1. Open DAC Configuration and set Data Width to ''Half Width'' .
2. Generate code. Generated stm32f7xx_hal_msp.c has following lines despite the ''Half Width'' setting. hdma_dac1.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; hdma_dac1.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;3. Open DAC Configuration. Data width seems to be ''Half Width'', but in DMA Configuration, it's changed to ''Byte''.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-28 2:32 AM
Posted on June 28, 2016 at 11:32
Hi sakurai.hiroshi,
I'll report this issue to our MX team for checking. Sorry for the inconvenience it may bring.-Syrine-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-04 9:44 AM
Posted on July 04, 2016 at 18:44
Dear user,
Please note this issue will be fixed with STM32CubeMX 4.16. Best regards