Various STM32 products have opamps that have a mux in front of it.Ex: STM32G4, STM32F3, STM32H7 series, etc.If I change the mux input setting using the control status register (OPAMPx_CSR::VP_SEL or VN_SEL), how long does it take for the mux to switc...
Hello, I use the DAC together with the DMA in circular mode to generate a sinewave of a few Hz. A buffer is filled with the predefined values of one sine period. The frequency is adjusted with the DAC clock and the sine amplitude by updating the sin...
Hi everyone,I am using a STM32G474VETx chip and I have an issue with two peripherals being in conflict.I need to use the OPAMP1 input pin (PA1) for current sensing purposes. The OPAMP1 mode required is "PGA not connected" which automatically configur...
I am testing Examples/OPAMP/OPAMP_PGA/ in G4 package code, only to find the gain is not consistent as showed below:The OPAMP input values are 0.01,0.03, ..., 0.15, and gain is 16.However, I measured output at ADC side, the gain drops significant as i...
I am testing OPAMP_PGA example code.Here is the DAC config code: /** DAC channel OUT1 config */ sConfig.DAC_HighFrequency = DAC_HIGH_FREQUENCY_INTERFACE_MODE_AUTOMATIC; sConfig.DAC_DMADoubleDataMode = DISABLE; sConfig.DAC_SignedFormat = DISA...
I try to learn how to use OPAMP by testing the example code Examples/OPAMP/OPAMP_PGA/.The MCU board is Nucleo-G431RB.This is the case of OPAMP_PGA_GAIN_2_OR_MINUS_1: blue line is output by DAC and red is by OPAMP. My 1st question: why the amplified s...
Is there any good tutorial on using OPAMP and ADC together, esp. on G4 Nucleo board?
Hello,I don't find on the STM32H730ZB datasheet a clear information about the maximum current output for the DAC ( with or without a OPAMP in follower). I plan to drive a LED from 100µA to 10mA maximum.Today, I have an externaI op-amp & mosfet but I ...
I want to use the STM32G4 DAC along with its internal OPAMP to connect to the Headphone jack directly without the need for an audio IC, is it possible ?. This is my first time implementing such type of function hence I am unaware of the details or be...