tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

Audio examples don't work for STM32F7 HS port

Open M3gaFr3ak opened this issue 3 years ago • 2 comments

Operating System

Linux

Board

STM32F723 Discovery

Firmware

examples/device/audio_4_channel_mic examples/device/audio_test examples/device/uac2_headset

It work's properly on the other examples, using either port

What happened ?

The UART Log print's "check_dwc2 462: ASSERT FAILED"

How to reproduce ?

Compile firmware using make BOARD=stm32f723disco LOG=2 PORT=1 clean all in the relevant project folder Open UART LOG Flash controller Reset controller (USB connection to PORT1 is irrelevant, assert fails regardless of connection) Observe UART LOG

Debug Log as txt file

uac2_headset.txt audio_4_channel_mic.txt audio_test.txt

Screenshots

No response

M3gaFr3ak avatar May 28 '22 17:05 M3gaFr3ak

Addendum: I just debugged it. When in the assertion state, dwc2 only contains zero-values.

M3gaFr3ak avatar May 30 '22 14:05 M3gaFr3ak

are you running the latest from git, if not please pull and try again. dwc2 all zero is probably clock issue, where the usb controller is not enabled/powered.

PS: I just run and flash the board, it seems to run well with git master

$ make BOARD=stm32f723disco PORT=1 all
"Using OTG_HS in HighSpeed mode"

hathach avatar Jun 16 '22 04:06 hathach