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! Use variables values from main.c in another file

if i use static UART_HandleTypeDef huart8; in main.c . when i want to run it in fpvisionai.c  HAL_UART_Transmit(&huart8,etc) say huart8 undeclared , should i use include <main.h> in this file,o how to set UART_HandleTypeDef huart8 as global variable

wjian.2 by Associate III
  • 3013 Views
  • 4 replies
  • 0 kudos

stm32h747-Disco uart8 sending trouble

I'm use uart8 to send data to arduino, but arduino no receive nothing, all the program is right complier,and the D1/D0 should be right(only have uart8).https://community.st.com/t5/stm32-mcu-products/stm32h747i-disco-virtual-com-via-usart-to-arduino/m...

wjian2_1-1692022116594.png wjian2_0-1692021766457.jpeg
wjian.2 by Associate III
  • 3723 Views
  • 17 replies
  • 5 kudos

Resolved! Question about SPI2 using PC_2 and PC_3

My project (Stm32H753) has 2 identical external ADCs, one on SPI2 and one on SPI3. The one on SPI3 is working fine, but I am having problems with SPI2. The code for them are the same, except of course different 'hspi' and pin assignments.The SPI is c...

XLin.2 by Associate II
  • 1644 Views
  • 2 replies
  • 0 kudos

Resolved! Problem with 24LC64 EEPROM

Hi,I have a problem with an 24LC64 EEPROM, it is not a bad chip because i have tried 2 on diffrent boards. I am using the STM32G0B0  This are my I2C settings:I am using this libary : https://github.com/nimaltd/ee24/blob/master/ee24.cI only get 255 ba...

PieterInHetBos_0-1692625048920.png

Resolved! stm_h747disco uart

If i use the serial interface USART1 HAL_UART_Transmit()( is directly available as a Virtual COM port of a PC connected to STLINK-V3E USB connector CN2) could show in com9 in pc, but uart8(D0/D1) in com9 didn't show anything, This result should be ri...

wjian.2 by Associate III
  • 2331 Views
  • 5 replies
  • 0 kudos

Resolved! STM32MP157 Dual ADC Data by DMA

Hi all,I trigger the ADC through TIM 2(1HZ/s) and set the ADC to Dual Mode. ADC1 & 2 each have 5 channels. multimode.Mode = ADC_DUALMODE_REGSIMULT; multimode.DualModeData = ADC_DUALMODEDATAFORMAT_32_10_BITS; multimode.TwoSamplingDelay = ADC_TWOS...

User code crashing Cube IDE debugger

I posted details herehttps://www.eevblog.com/forum/microcontrollers/is-st-cube-ide-a-piece-of-buggy-crap/msg5003854/#msg5003854but maybe somebody here may recognise it.The new forum software here doesn't like URLs to certain other sites so I hope thi...

PHolt.1 by Senior III
  • 1429 Views
  • 4 replies
  • 1 kudos

STM32 FDCAN Send CAN messages without ACK

Good morning:I'm working with the STM32G431KB on my own board. In the project we send messages thanks to the FDCAN HAL module driver layer for wakeup other ECU by expecific CAN messages. Situation:I am working using Polling mode for FDCAN: hfdcan1.I...