STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! "Device Descriptor Request Failed" (Code 43) when using STM32CubeMX-generated code on STM32L476 Nucleo-64 development board

I would like to test USB on an STM32L476 Nucleo-64 development board. I use STM32CubeMX version 6.2.1 and the library it's using is "STM32CubeL4 Firmware Package V1.17.0 / 11-February-2021". I select Nucleo-64 in Board Selector in STM32CubeMX and the...

arnold_w by Senior II
  • 4554 Views
  • 3 replies
  • 0 kudos

STM32f7 USB HS Device mode DMA

Hi,For USB HS device mode DMA to work correctly, we need to consider:1- address alignment (4byte align due to hardware design) ... OTG_D(I/O)DMAx registers2- size of data (not recommended but can be set in byte size using HBSTLEN in OTG_GAHBCFG regis...

Resolved! I just want to program my mcu (STM32F103C6T6A) via usb port which is connected to mcu's usb pins. I don't want to use jtag or swd. What should i do for boot0/1 pins?

I read AN2606 but i couldn't understand exactly. My understood is that if i connect boot0 pin to ground, main flash memory is gonna be selected. My question is if i do it(connecting boot0 pin to ground), will i lose the ability which enable me to pro...

EKaya.11 by Associate II
  • 2146 Views
  • 9 replies
  • 1 kudos

STM32f401RC USB mass storage host issue?

I am using an stm32f401rc microcontroller, peripheral USB mass storage host is not detected, I am generating code as per the USB MSC HOST labs document.MX_USB_HOST_Process(); switch(Appli_state) { case APPLICATION_IDLE: break; case APPLICATION_START:...

Nredd.1 by Associate III
  • 550 Views
  • 2 replies
  • 0 kudos

How to integrate slow-write (SPI) FLASH into STM32 USB device library, to return "OK" CSW when FLASH write finishes?

Currently I have it working, but while the FLASH READ is about 200us and can be done wholly inside STORAGE_Read_FS (which is within an ISR), the FLASH WRITE takes ~17ms and while it works fine done wholly inside STORAGE_Write_FS, it needs the disabli...

PHolt.1 by Senior III
  • 1532 Views
  • 7 replies
  • 0 kudos