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

STM32f769II USB_OTG_FS Non periodic TX_FIFO problem

Background of a problem:I am using ST low level libraries for USB OTG and USB HOST. I wrote my own USB class for ASIX USB-ETH adapter based on template and CDC class. The problem was that solution presented by ST driver was to slow. I could only send...

BSzef.1 by Associate
  • 642 Views
  • 1 replies
  • 0 kudos

Hello, i am implementing a HAL CAN Driver for my STM32F405. I am using a TJA1048 as a Tranciever. Down below there is my Source Code. If i want to Transmit one Message, it ends in the Errorcode: HAL_CAN_ERROR_TX_TERR0. So do you know whats wrong ?

My APB1 Clock Frequency is 42Mhz.Init:hcan1.Instance = CAN1; hcan1.Init.TimeTriggeredMode = DISABLE; hcan1.Init.AutoBusOff = ENABLE; hcan1.Init.AutoWakeUp = DISABLE; hcan1.Init.AutoRetransmission = DISABLE; hcan1.Init.ReceiveFifoLocked = DISABLE; hca...

SLeit.1 by Associate
  • 1196 Views
  • 1 replies
  • 0 kudos

PDM 2 PCM DMA buffer size confusion

Hello,I have a PDM MEMS microphone that I am reading in I2S master receive mode. I am trying to take this data and put it in a FIFO buffer and then output the data over UART using DMA. I must be confusing the buffer sizes because I get mostly zeros...

kcire L. by Associate III
  • 608 Views
  • 0 replies
  • 0 kudos

Resolved! STM32H7 USB audio difficulties

Hi there, I'm trying to make a basic USB audio speaker from an STM32H7 Nucleo board. I am fairly familiar with the USB audio middleware having studied it for a few days, but am not having much luck receiving audio data. I intend to use the built-in...

Mttjcksn by Associate III
  • 2040 Views
  • 6 replies
  • 0 kudos

How to quckly test CAN module using SPL?

Hello! I'm working on project requaring CAN node. I decided to quckly check if the periphery is configured correcltly. For this purpose I connected two pull-ups resistors to Rx and Tx pins and tried to see some bits on the oscilloscope.I configured G...

GKlim by Associate II
  • 790 Views
  • 1 replies
  • 0 kudos

To what voltage should the D+ line be pulled up when designing USB connection in STM32? +5V or +3.3V? All documentation and dev board scematics says it's 3.3V, but it didn't work.

Hello everyone, I have been learning to work with USB connection in STM32 and while my research I've noticed that some schematics have D+ line pulled up to +5V, when in stm32 dev board schematics and in AN4879 it's pulled up to 3.3V and that's what I...

0693W000008G5wdQAC.png 0693W000008G5wYQAS.png
AksultanK by Associate II
  • 12061 Views
  • 2 replies
  • 0 kudos

Touch screen USB STM32F1 example

Good morning,I am trying to develop a touch screen screen controled by a STM32F1 and connected to a PC throught USB port.My doubts are related with the USB comunicationI've found many examples for USB comunication as Virtual COM or as a Mouse/Joystic...

Nash.1 by Associate
  • 607 Views
  • 0 replies
  • 0 kudos