STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 480 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
  • 946 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
  • 998 Views
  • 7 replies
  • 0 kudos

Using USB device Virtual comm questions

Hello, Using CubeMX, I have created USB CDC device for FS and started using the CDC.By modifying CDC_Receive_FS() I am able to receive all data sent form the PC over USB and put the data in my bufferAlso (while the USB cable is connected and PC term...