Ask questions, find answers, and share insights on STM32 products and their technical features.
In our product, we would like to use the LSE crystal to accurately time a measurement of roughly 0.1 seconds. In this case, we are using an STM32G474 MCU. Using a Nucleo-G474 board for proof-of-concept work, we have found that there is very bad jit...
Hi all,I'm an experienced C++ programmer who happen to start learning embedded programming, with a little stuff, like STM32F411RE Nucleo-64 (the board I'm working on mainly) and a blue-pill alongside breadboard and a bunch of wires. I haven't done mu...
I'm trying to do a periodic ADC capture on 2 channels, triggered by TIM5. ADC should output to memory via DMA, with a DMA interrupt upon each completion to read the data from each scan.So far, the DMA interrupts aren't hitting, and the ADC doesn't ev...
code:/* USER CODE BEGIN 2 */ HAL_UART_Transmit(&hlpuart1, (uint8_t *)"Basladi\r\n", 9, 100);HAL_ADC_Start(&hadc);#define VREFINT_CAL_ADDR 0x1FF80078#define VREFINT_CAL ((uint16_t*) VREFINT_CAL_ADDR)#define MAX_VOLTAGE 3000.0uint32_t VREFINT...
I am trying to receive messages in DMA mode, on a STM32L432KCU. The pins PA2 and PA3 are configured as DMA pins. The baudrate is 115200 and the global interrupt for USART2 is turned on. In the main function, I have the initialization of the periphera...
In STM32U575/585 RM0456 Rev 2 from September 2021, I see the following:"11.4.7 LSE clock...External source (LSE bypass)In this mode, an external clock source must be provided. It can have a frequency of up to 1 MHz."However, in STM32U585xx DS13086 R...
Hi.I init global array DMABuf[33] = {0}; According C++ standard it must be filled zeros.DMABuf placed into SRAM1(2) i.e. SRAM D2. Immediately after reset the buffer contain zeros. After initialisation DMA, buffer and all SRAM D2 contain random number...
Hello,for a switched capacitor ADC with differential inputs, I would expect no limits on common mode voltage as long as input voltage is in the GND/VDDA range. However STM32 ADCs only allow a small range of common mode voltage around (Vref- VDDa) /2....
STM32L412KBUx on NUCLEO-L412KB, STM32CubeIDE, Version: 1.8.0.I'm trying to use TIM1 to measure frequency of an external input signal connected to PA8. I'm confused by the choices in CubeIDE. In Pinout & Configuration, TIM1, Channel 1, I selected Inpu...