STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F410 RTC fails on year

When writing to RTC and then reading back, my year is always off - writing 18 gives me back 21. Tried adding delays up to a second between instructions, no joy. Using Cube and MDK, RTC is running LSE 32768 and works fine otherwise. Both read and writ...

JSirk by Associate II
  • 2512 Views
  • 12 replies
  • 0 kudos

STM32H7 Getting IEEE 1588 timestamps nightmare

Hi, I have being trying for weeks now to get PTP timestamps with no much luck.Q1. Is there any example code available? The user manual (en.DM00314099.pdf) is rather confusing.For example in 57.9.7 Programming guidelines for IEEE 1588 timestamping it ...

yo_misma by Associate
  • 512 Views
  • 0 replies
  • 0 kudos

Resolved! Receive data on VCP

I receive some data from a terminal. Say I send 1234 on the terminal.I set a break point onvoid EP3_OUT_Callback(void){ packet_receive = 1; Receive_length = GetEPRxCount(ENDP3); PMAToUserBufferCopy((unsigned char*)Receive_Buffer, ENDP3_RXADDR, Receiv...

free ModBus on STM32F767

Hello friends.I try imeplement freemodbus on my project. And I have a problem with connect. My task is here:/* ------------------------ Defines --------------------------------------- */   #define REG_INPUT_START 1000 #define REG_INPUT_NREGS ...

Resolved! DFU Serial Number

I am looking at the code here that has the algorithm for producing the device serial number reported when the MCU is in USB DFU mode.https://github.com/libopencm3/libopencm3/blob/master/lib/stm32/desig.cThe document they reference there, https://my.s...

How forward data from COM PORT to UART

I want to forward all data received at the VCP with USB FS to UART how can i implement this specific in code?I have been searching for long time for this and i have not found any good example of it.Can you please help me?Until now i am doing this lik...

arduo by Senior
  • 992 Views
  • 1 replies
  • 0 kudos

Resolved! Forward Data from VCP to UART

How can i forward data which i received at my COM Port via USB FS to a UART of my Choice?I already send data to UART5 and i measured it with an osci and its workinghar buffer[] = "TEST"; HAL_UART_Transmit(&huart5, buffer, sizeof(buffer), HAL_MAX_DELA...

arduo by Senior
  • 1034 Views
  • 7 replies
  • 0 kudos