Skip to main content
Visitor II
October 8, 2021
Question

Which is the best stm32 board (nucleo or evaluation) with embedded high performance DAC for sinusoidal signal generation? see next details.

  • October 8, 2021
  • 3 replies
  • 2322 views

I am looking for a microcontroller board for the following application:

Receive a square wave LVDS signal at 1 kHz (more or less) and generate 2 sinusoidal single-ended output with the same frequency of the incoming square wave with the highest resolution possible. The board shall have the possibility to add a BNC connector for the outputs

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    October 8, 2021

    Hello @Tommino​ ,

    What I suggest is to use the product selector embedded in STM32CubeMX, STM32CubeIDE or ST-MCU-Finder.

    Thanks to the finder, you will select the best STM32 MCU for your application. Of course, you can check the box to select all STM32 with DAC.

    Regards

    Michael

    Graduate II
    October 8, 2021

    >highest resolution possible,

    1KHz is fairly slow, you could use any board with a chip from F4 family. (and simple RC filtering)

    The chips are fast and you have plenty DMAs to handle your input capture timers and your DAC outputs.

    From AN4566 ( cap 1.4)
     
    So a total of four APB clock cycles is needed to update the DOR data. As APB1 maximum clock is 42 MHz (for ST32F407x), 10.5 Msps is the maximum update rate for the DAC output register when timer trigger and the DMA are used for the data update.

    >The board shall have the possibility to add a BNC connector for the outputs

    No idea about this, you should look it up

    TomminoAuthor
    Visitor II
    October 14, 2021

    Hi @Javier Muñoz​ and @Michael E​ ,

    thanks a lot for the reply. These will be the starting points for my design.

    I have other couple of questions: can I produce an ouput waveform with some parameters set by an external interface linked to a PC while the uC code is running?

    If yes, which one do you recommend? (UART, RS232, Ethernet)

    Thanks again

    P.S.

    @Michael E​ I downoloaded the MCU finder but I did not find this "add-on". Any suggestion on this?

    "the board shall have the possibility to add a BNC connector for the outputs"

    Graduate II
    October 15, 2021

    >I have other couple of questions: can I produce an ouput waveform with some parameters set by an external interface linked to a PC while the uC code is running? If yes, which one do you recommend? (UART, RS232, Ethernet)

    Yes you can @Tommino​ , If its a PC you really dont have many options, USB:

    1. The easy option: use the USB interface of the onboard stlink, in nucleo/discovery boards the STLINK creates a COMport which is ususally wired to one of your MCU's UART.
    2. The difficult option: if you dont want to stick with the stlink, you could programm your own USB CDC COMport.(the USB stack is ugly and a bit complex)
    3. The expensive option: buy one of those FTDI chips (UART to USB bridges)