STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC accuracy (offset and gain big errors)

Hi, I'm using the STM32L451VC microcontroller. I'm trying to measure the analog input with an internal ADC (12 bits resolution). The value is compensated with the vrefint (1.21V) of the microcontroller, following the next formula: Vchannel = (3 V · (...

Luis Ber by Associate II
  • 3047 Views
  • 4 replies
  • 0 kudos

Resolved! Which MCUs actually have 12 bit DACs

I'm after a low power STM32 with DAC outputs.ST Application note AN4566 states in table 1 on the first page that there are processors in all the STM32 ranges that have a 12 bit DAC. The MCU selector also doesn't make the DAC box selectable or desele...

MikeDB by Lead
  • 1225 Views
  • 1 replies
  • 0 kudos

STM32F4 Seamless ADC Channel Configuration Switching

I have two sets (set A, set B) of 3 ADC channels that I'm sampling using continuous multi mode w/ DMA. For latency reasons, I'd prefer to sample set A for a while (let's say 1 msec), followed by sampling set B for a while, followed by sampling set A ...

STM32L496 SMPS usage confusion

It is not very clearly writen how to use external SMPS.Do I need to set any registers or anything like that ?My system will run at 81MHz, and i want to reduce power consumption. I have DCDC and Switch control. IT looks like enabling DC/DC reduces cur...

Linas L by Senior II
  • 328 Views
  • 0 replies
  • 0 kudos

STM32L05 + backup registers in standby mode

Hi,I am triying to use the standby mode and save some data into EEPROM memory, but when i start the erase eeprom process before to save data, my program is blocked. I think that my code have a 89% of flash size and eeprom area have a program code.I n...

SMila by Associate
  • 479 Views
  • 1 replies
  • 0 kudos

Debugging STM32L4 and watch windows update

Good afternoon,I have developed my application based on STM32L4 family. Application is working fine on my custom board but I have a doubt when debugging the board usign ULINK2 tool with Keil: when I debug the board, and I have a look to 'Watch' windo...

Problems with I2C: HAL_I2C_ERROR_AF

Hello, I'm using the STM32L451VC microcontroller to perform a communication through I2C protocol to a programmable resistor (AD5272). It is working well when I do a NRST to the microcontroller, but when I start the program from the batteries (without...

Luis Ber by Associate II
  • 608 Views
  • 0 replies
  • 0 kudos

How to read low-frequency PWM signals?

Hi all,I'm new with the PWM business, so, I'm referring the sample code (TIM_PWM_Input) provided in STM32F2XX stranded peripheral library . In the readme.txt file it is mentioned that we can measure minimum 915Hz frequency. But in my application, I w...