STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I have a array declared as: char* arrs[20][30]; I have filled up this array with name and value and now I must compare for example, the first element of arrs [] value and the third element of arrs[] value. How can I do this?

I have tried to use strcmp and have also tried (arrs[0] == arrj[1][8]) with no luck. My goal is to check if the corresponding values are equal. (for reference: arrs[0] = freq :100kHz and arrj[1] = freq: 100kHz). I just wanted to see the values are e...

cjaya.2 by Associate II
  • 586 Views
  • 1 replies
  • 0 kudos

How to solve this hardfault concerning memory access restriction?

The code goes toHAL_I2S_Receive_DMA at __HAL_UNLOCK(hi2s);andvoid HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma){ uint32_t tmpisr; __IO uint32_t count = 0; uint32_t timeout = SystemCoreClock / 9600; /* calculate DMA base and stream number */ DMA_Base_Re...

jess by Associate II
  • 969 Views
  • 2 replies
  • 0 kudos

STM32F4 Nucleo board TIM1 stays high after DMA is finished

I'm using DMA with TIM1 to drive a string of WS2812B LEDs. I am closely following a tutorial called Controlling Neopixels with STM32 on Digikey (I cannot add links due to the age of my account) with some adjustments, with my ARR being 89, my clock be...

_legacyfs_online_stmicro_images_0693W00000binXoQAI.png 0693W00000binZQQAY_image.png
DAbdi.1 by Associate II
  • 2724 Views
  • 13 replies
  • 0 kudos

STM32L452CC and STM32L4Q5CGU6, issue with USART

My colleagues went to my office and reported that the STM32L452CC with the USART interface (5MHz and 10MHz) was working fine but had to use STM32L4Q5CG due to stock usage, but it failed at 10MHz but working fine 5MHz.I have explored errata, datasheet...

Interference between GPDMA channels on STM32U575

Hello,I'm trying to configure the GPDMA1 to transfer conversion results from ADC1 and ADC4 to two results buffers using two separate GPDMA1 channels on a STM32U575. The DMA channels are both configured as 'Standard Request Mode' with 'Circular Mode' ...

WTreh.1 by Associate
  • 818 Views
  • 0 replies
  • 0 kudos

Help with understanding UART interface

I have a device made of two modules. Each module has its own ST microcontroller, family is STM32L476. They are connected together with a cable of 2-2.5 meter coated, most likely, with a silicone tube.I need to make the two microcontrollers communicat...

mdiro by Associate III
  • 2914 Views
  • 9 replies
  • 0 kudos

Resolved! STM32F730xx ADC: EOC never set when reading VREFINT

Hello,we want to read VREFINT to make our ADC measurements more accurate.But the EOC bit is never set when selecting the ADC_CHANNEL_VREFINT channel.PCLK2 is at 108MHz but ADC prescaler and sampling cycles are at max. so we assume there is no problem...

rengl by Associate II
  • 1555 Views
  • 6 replies
  • 0 kudos