Apologies, I should've been more clear with that schematic - the A/B6/7 pins are on the USB-C connector, not the STM32
Regardless, I switched to the stm32-tkg-hid-bootloader using the same defines as I posted above, and it's working perfectly fine with my custom board.
Search found 8 matches
- Sat Jun 21, 2025 4:05 am
- Forum: USB bootloader
- Topic: USB enumeration not working with custom F103C8 board
- Replies: 3
- Views: 635
- Sat Jun 21, 2025 1:33 am
- Forum: USB bootloader
- Topic: USB enumeration not working with custom F103C8 board
- Replies: 3
- Views: 635
USB enumeration not working with custom F103C8 board
Hello
I am trying to configure a custom board to use Roger's bootloader. I've confirmed the USB hardware works with a sketch uploaded directly to the board via STLink, however I've been unable to properly configure the bootloader to enumerate. The bootloader does appear to run fine (fast flashing ...
I am trying to configure a custom board to use Roger's bootloader. I've confirmed the USB hardware works with a sketch uploaded directly to the board via STLink, however I've been unable to properly configure the bootloader to enumerate. The bootloader does appear to run fine (fast flashing ...
- Tue Oct 20, 2020 12:42 am
- Forum: General discussion
- Topic: F401RE I2S + DMA Issues
- Replies: 5
- Views: 6331
Re: F401RE I2S + DMA Issues
Any recommended reading would be appreciated as well. I'm way out of my element in trying to get this to work, and it seems like not too many other people are using I2S + DMA with the stm32duino core.
It seems like for most people it "just works" but for whatever reason my nucleo board refuses to ...
It seems like for most people it "just works" but for whatever reason my nucleo board refuses to ...
- Sun Oct 18, 2020 10:44 pm
- Forum: General discussion
- Topic: F401RE I2S + DMA Issues
- Replies: 5
- Views: 6331
Re: F401RE I2S + DMA Issues
So I've been digging into this issue more this weekend.
I copied the code from https://stm32duinoforum.com/forum/viewtopic_f_18_t_4095.html verbatim into the arduino IDE, with some minor formatting cleanup and shuffling of the function order so everything would compile. See below:
/* generic I2S ...
I copied the code from https://stm32duinoforum.com/forum/viewtopic_f_18_t_4095.html verbatim into the arduino IDE, with some minor formatting cleanup and shuffling of the function order so everything would compile. See below:
/* generic I2S ...
- Thu Oct 08, 2020 1:31 am
- Forum: General discussion
- Topic: F401RE I2S + DMA Issues
- Replies: 5
- Views: 6331
F401RE I2S + DMA Issues
(moved to general for better visibility)
Hi all!
Back again with more troubleshooting. Trying to figure out why a "simple" I2S + DMA setup I've got isn't working properly.
I've got a WM8731 hooked up to a Nucleo F401RE board with the following I2S connections:
F401RE -> WM8731
PA15 LRCLK
PC7 ...
Hi all!
Back again with more troubleshooting. Trying to figure out why a "simple" I2S + DMA setup I've got isn't working properly.
I've got a WM8731 hooked up to a Nucleo F401RE board with the following I2S connections:
F401RE -> WM8731
PA15 LRCLK
PC7 ...
- Mon Oct 05, 2020 1:57 pm
- Forum: General discussion
- Topic: Strange I2C Hang
- Replies: 4
- Views: 5619
Re: Strange I2C Hang
So I did the simplest thing, just added an ampersand to all the function variables to create a reference to the TwoWire object. That seems to have done the trick - the code no longer hangs and sends the I2C data properly! Thanks for that suggestion.
Now I'm getting data NACKs when trying to talk to ...
Now I'm getting data NACKs when trying to talk to ...
- Mon Oct 05, 2020 12:58 pm
- Forum: General discussion
- Topic: Strange I2C Hang
- Replies: 4
- Views: 5619
Re: Strange I2C Hang
Sorry, I probably should've included that information in the OP.
Board: Nucleo F401RE (STM32F401RE)
Core: Arduino_Core_STM32
IDE: Arduino IDE (only for compiling, using VS Code for editing)
No warnings in the compiler, even with verbose mode on.
Good point (heh) about the pointers though. I'm ...
Board: Nucleo F401RE (STM32F401RE)
Core: Arduino_Core_STM32
IDE: Arduino IDE (only for compiling, using VS Code for editing)
No warnings in the compiler, even with verbose mode on.
Good point (heh) about the pointers though. I'm ...
- Sun Oct 04, 2020 11:11 pm
- Forum: General discussion
- Topic: Strange I2C Hang
- Replies: 4
- Views: 5619
Strange I2C Hang
Hi all!
I'm attempting to get basic I2C communication running with a WM8731 audio codec (NOT I2S - that comes later).
I'm trying to stay nice and organized with my code, splitting out functions to separate .cpp/.h files, and I'm wondering if that's possibly the source of the issue.
Let's start ...
I'm attempting to get basic I2C communication running with a WM8731 audio codec (NOT I2S - that comes later).
I'm trying to stay nice and organized with my code, splitting out functions to separate .cpp/.h files, and I'm wondering if that's possibly the source of the issue.
Let's start ...