STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USB OTG dual role - auto switch over - configuring

Hello,We are using a STM32F407 discovery board. We need to configure the USB as OTG/Dual_Role_Device. I have each (USB Host and USB Device) working in separate projectsIn CubeMX when I select OTG/Dual_Role_Device, the USB_DEVICE and USB_HOST are gray...

BAW by Associate III
  • 440 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F407 to STM32F407 USB communications

Hello,I am new to STM32 parts and USB. We are looking at using USB to communicate between two STM32F407 boards.Can anyone give some insight as to the best way to do this?What USB classes should be used?Any examples of this?Thanks,Brent

BAW by Associate III
  • 481 Views
  • 5 replies
  • 1 kudos

CIMSIS 5.9 (Source) - missing dependencies

Hello Community!I just started a new project and wanted to use CMSIS 5.9 - as it finally can be installed from the package without errors.Until now I only used CMSIS 5.7 als library, which worked pretty well. Unfortunately since 5.9 there is no libra...

a4.png a3.png a1.png a2.png
CBerg by Senior
  • 350 Views
  • 2 replies
  • 1 kudos

SDIO Error when use SD NAND chip

I have been using microSD chips reliably for many years with stm32f4, stm32h7 and stm32l4.But for one of my products, where space is at a premium, I am trying to use a SD-NAND chip XTSD04G, and I am running into occasional errors where an SDIO R1 com...

Danish1 by Lead II
  • 472 Views
  • 0 replies
  • 0 kudos

Resolved! CUBE MX usbd_dec.c unique Serial Number

Hi,I am using STM32G491 for the project. For USB HID class the Cube MX generates usbd_dec.c file. In this file, there is a Get_SerialNum functionstatic void Get_SerialNum(void){  uint32_t deviceserial0, deviceserial1, deviceserial2;   deviceserial0 =...

Egemen by Associate II
  • 483 Views
  • 2 replies
  • 0 kudos

Usage of file handling library functions

I tried to use fopen() on STM32Cude IDE, but it is always returning null. Please let me know how I can use the file handing functions on STM32Cube IDE. Please see my code I am using. What printf() will do here?uint num;File *fptr;if ((fptr = fopen("C...

STM32cubeIDE Download

The STM32cubeIDE caan't be downloaded from the website, nor can an update be made through the installed version. Are they any serious in noticing and rectifying this?

matolo by Associate
  • 194 Views
  • 2 replies
  • 0 kudos

ADC and Timer take too long

Hello.I get a signal ranging from 0.5V to 1.8V in the input pin of the ADC.I wrote this code to store in ADC_Buffer (1024 elements) the values read from the ADC every 10ms (when Timer_Flag = 1) .. that is, every 10ms:- first thing first the whole buf...

luke514_2-1705661593607.png luke514_5-1705677097020.png luke514_6-1705677181854.png luke514_7-1705677207407.png
luke514 by Senior
  • 175 Views
  • 1 replies
  • 0 kudos