STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Fastest ADC measures with DMA

I'm using a Nucleo-G474RE to measure a signal via ADC1.ADC measures are triggered by TIM2, then transferred via DMA1 into a large buffer (60KB).When the buffer is full an interrupt is generated and I give the DMA another 60KB buffer.After that, every...

0xfab by Associate II
  • 1344 Views
  • 2 replies
  • 1 kudos

Resolved! USB CDC data loss

Hello,I am trying to transmit some data on my STM32F042F6P6. But my PC's serial monitor only picks up some of it. Here is the code and the serial monitor output:void readAllRegs(void){ uint8_t value; for (uint8_t addr = 0x00; addr <= 0x2E; addr++...

LLope.31 by Associate III
  • 3601 Views
  • 7 replies
  • 1 kudos

How to Check HSE is Connected To STM32

Hi,I am using STM32F205 Board for our development. We were using HSI (16MHZ) as the clock and found out that HSI has issues with high temperatures. I am calibrating HSITRIM value to fix the clock drift issue and we already have 50 boards manufactured...

JThom.15 by Associate III
  • 2536 Views
  • 8 replies
  • 3 kudos

Resolved! Write data in custom flash section

Hi,I'm working on stm32l496 and I try to write data to a custom flash section, in the .ld file I put new sector :/* Memories definition */MEMORY{[...]FLASH (rx) : ORIGIN = 0x08003800, LENGTH = 0x07B800config(rx) : ORIGIN = 0x0807F000, LENGTH = 2Kcomm...

K-C by Associate II
  • 4370 Views
  • 6 replies
  • 0 kudos

Resolved! STM32U5 SAI in I2S mode + GPDMA

Hi,I have a board with an STM32U575 at the core.I'm attempting to set up SAI receiver in I2S mode, with 32-bit 48kHz sampling. See my configuration of SAI A below: I also want to receive the data continuously in circular mode via DMA (or GPDMA in th...

Screenshot 2024-02-06 at 05.31.13.png Screenshot 2024-02-06 at 05.33.01.png Screenshot 2024-02-06 at 05.56.49.png

Resolved! LPDMA Update Link Error

  static uint16_t aDST_Buffer_1[BUFFER_SIZE] = {0}; static uint16_t aDST_Buffer_2[BUFFER_SIZE] = {0}; LL_DMA_LinkNodeTypeDef pNode1, pNode2; /** * @brief LPDMA1 transfer configuration * @PAram None * @retval None */ void BspLPDMA1Init(void) { /*...

Resolved! What is USART CTS latency?

I am starting a product design tentatively using the STM32F072RBT6.I want to determine how soon the CTS input must go low to prevent the USART from transmitting the next byte.Even informed opinion would be appreciated; but a reference to documentatio...

usart clocks.jpg

Resolved! STM32L433 VREFINT_CAL Value

Hello,I'm trying to work with the ADC of the STM32L433 microcontroller. The Reference manual (RM0394) on page 448 it says : The following formula gives the actual VDDA voltage supplying the device:VDDA = 3.0 V x VREFINT_CAL / VREFINT_DATAWhere can I ...

RStra by Associate III
  • 1300 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G473VC

Hello,I will use stm32g473VC ADC2 working together with DMA.I configure ADC2, Input3 at Pin PA6 and DMA2 Channel1 to read 100 Samples from ADC after Start.At first call after cpu reset I receive the expected result:ADC:Value 4034 for Items 0->99, as ...

jhoerd by Associate II
  • 556 Views
  • 1 replies
  • 0 kudos