AnsweredAssumed Answered

STM32CubeMX bug: data width is changed to Byte after you generate the code

Question asked by Sakurai.Hiroshi on Jun 28, 2016
Latest reply on Jul 4, 2016 by STM32Cube-T
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".