STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Usart bad baud rate / stop bits setting hanging mcu.

Hello, I'm having some issue with the usart, everything works just fine, but if I start querying the usart with a bad baud rate and especially when the stop bits setting is incorrect, then the mcu hangs after couple of seconds. Please look below, I h...

SimonP by Associate II
  • 453 Views
  • 1 replies
  • 0 kudos

Is there another way?

I am a very patient man. I've spent the last 2 days (not hours! entire days!) studying this 'simple' example from Cube1 (HAL_TimeBase_RTC_ALARM). The example is irrelevant: I've experienced the same with other examples... So, I'm looking at these fi...

luch by Associate III
  • 1785 Views
  • 14 replies
  • 0 kudos

Migrating Nucleo-L152RE to STM32L462CE

I have developed my application in Nucleo-L152RE board by using Atollic Truestudio. Now, I want it to migrate to STM32L462CE MCU. So, how I do that in a quick way by using Atollic Studio? Can you provide some quick steps and settings which I have to ...

AP_040 by Senior
  • 471 Views
  • 4 replies
  • 0 kudos

CAN Bus issue with STM32F302

I am porting a code base that used to work well on the STM32F103 series.The problem I have with the STM32F302VE seems to be related to the CAN FIFO's. What works:1) CAN registers are working correctly2) Initialization is executed normally3) Receive i...

Bernard1 by Associate II
  • 618 Views
  • 2 replies
  • 0 kudos

SPI DMA triggered by external GPIO event?

Hello,I am trying to sample an ADC at high rate, and am looking for a way to avoid generating interrupts on every sample.This ADC has a BUSY signal which indicates when conversion is in progress, so I can connect that to a GPIO and trigger off this s...

ST User by Associate III
  • 1456 Views
  • 4 replies
  • 0 kudos

Reading multiple adc channel

I'm trying to read adc value from 5 channels. I used CubeMX to generate the code (i do have stm32l462vetx) ... each time i run the code, runs for maybe 10s and find myself in the "HardFault_Handler" .. I have tried dropping simpling cycles, clock, ...

ARake by Associate
  • 556 Views
  • 3 replies
  • 0 kudos

STM32f401re Nucleo ADC speed test

According to STM32F401re data sheet conversion time for 12 bit , 10 bit, 8 bit and 6 bit ADC at 30MHz ADC clock are 0.5us, 0.43us. 0.37us and 0.3us respectively with 3 sampling cycles. I also used exactly the same configurations to achieve the exact ...

JSubr by Associate
  • 443 Views
  • 1 replies
  • 0 kudos