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

Resolved! Sample code for Hyperflash with OctoSPI

We are new to HyperFlash and OctoSPI and it seems that working through the Datasheet and write my own driver from scratch will be very time consuming... Does anybody have a driver or sample code on how to erase / program a HyperFlash (S26KL512S) wit...

GS1 by Senior III
  • 1180 Views
  • 3 replies
  • 0 kudos

CAN Open stack implementation example

Hello,I am working on STM32F4 series of microcontroller. I am specifically looking for is a CAN Open stack implemented in STM32F4 series of microcontrollers. The regular CAN messages will not work for my board and the target stepper motor (with CAN O...

MDeva.1 by Associate II
  • 1224 Views
  • 1 replies
  • 0 kudos

ADC and DMA conversion time

I am working on a project where I use the NUCLEO-L433RC-P board and CubeMX to configure the settings. The project use ADC and DMA, when I calculate the conversion time, I get a value less than 15 ADC clock cycles.I calculate the conversion time by me...

MEnev.1 by Associate
  • 753 Views
  • 2 replies
  • 0 kudos

Resolved! ADC CAL problem

Hi, I'm trying to calibrate the ADC3 on my STM32F303RE microcontroller. In according to the REF MANUAL, I enabled the ADC voltage regulator and then started the calibration but code get stuck in the while loop forever (ADCAL is always 1). I put the f...

Nick- by Associate II
  • 964 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L496RGT, HAL and UART

Hello all,I'm having some serious problems communicating with a device attached to USART2 on a custom STM32L496RGT, board, configured in CubeMX.void MX_USART2_UART_Init(void) {   huart2.Instance = USART2; huart2.Init.BaudRate = 115200; huart2.I...

DCarr.1 by Senior
  • 791 Views
  • 4 replies
  • 0 kudos

Resolved! Help with timer in retriggerable one pulse mode

I am using the STM32L4S9AII6 clocked at 120MHz.I am trying to configure a simple (to me it should be simple) retriggerable one pulse mode timer. I was able to configure TIM6 in one-shot mode, but I had the following issues:The timer was not retrigger...

0693W00000KbroSQAR.png 0693W00000KbrorQAB.png
MFolk.1 by Senior
  • 8111 Views
  • 7 replies
  • 0 kudos

Hi! I use STM32L051 RTC and twice during three days at +55 deg.C I have incorrect reading of time. For a 1 minute RTC counts 3599.87 s, at next minute all works as should be - 1 min after spending 1 min. Sometimes I get 62.7 s by 1 minute. Thanks.

// in 1/32768 parts of second, 1 hour (3600*32768) max. uint32_t cRTC::getCurrentTime32768(){ volatile uint32_t time = 0; volatile uint16_t takenTime = 0; volatile uint16_t takenSSR; volatile uint16_t dummy;   //reading either RTC_SSR or RTC_TR ...

MZubk by Associate
  • 950 Views
  • 3 replies
  • 0 kudos