Skip to main content
Visitor II
December 5, 2024
Solved

STM32H745 DAC2 missing

  • December 5, 2024
  • 2 replies
  • 1399 views

Hi,

I would need dual DAC using STM32H745. According to datasheet, it should have two DAC converters. In STM32CubeIDE, I can see only DAC1 with two channels. In the datasheet, I can only see DAC1_OUT1 and DAC1_OUT2 pins, but no DAC2 out pins. Is there DAC2 available in STM32H745?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    Are you asking for F7 or H7? and which H7 part number? they are different!

    Please refer to the reference manual DAC implementation section of the correspondent product:

    For example STM32G4 has 4 DACs:

    SofLit_0-1733395567027.png

    This is for STM32H743. It has One DAC with 2 channels.

    SofLit_1-1733395700951.png

     

     

    2 replies

    Technical Moderator
    December 5, 2024

    Hello,

    There is only one DAC with two channels on this product in the datasheet:

    SofLit_0-1733393097760.png

    In CubeMx:

    SofLit_1-1733393143255.png

    Hope that answers your question.

     

    mosamasaAuthor
    Visitor II
    December 5, 2024

    Hi,

    I'm a bit confused as everywhere has stated two DAC:

    stm_page2.PNG

    stm_page19.PNG

    So, there is error in datasheet? Even product selector claims that there are two DACs. Is there any model of STM32H7 family, which actually has dual DAC?

    Super User
    December 5, 2024

    Hi,

    There is a dac module with 2 channels, out1 and out2 ; these are the outputs of the two DAC.

    Just the name is not what you expected.

    mƎALLEmAnswer
    Technical Moderator
    December 5, 2024

    Hello,

    Are you asking for F7 or H7? and which H7 part number? they are different!

    Please refer to the reference manual DAC implementation section of the correspondent product:

    For example STM32G4 has 4 DACs:

    SofLit_0-1733395567027.png

    This is for STM32H743. It has One DAC with 2 channels.

    SofLit_1-1733395700951.png

     

     

    mosamasaAuthor
    Visitor II
    December 5, 2024

    I meant STM32H745. There is typo in title.

    Technical Moderator
    December 5, 2024

    STM32H745 and STM32H743 have the same DAC implementation. So you have one DAC instance with two channels (DAC1_OUT1/DAC1_OUT2).

    But indeed there is an issue in the second screenshot DAC2_OUT needs to be DAC1_OUT2 and DAC1_OUT has '1' is missing.