Search found 6 matches

by axel
Tue Oct 20, 2020 12:42 am
Forum: General discussion
Topic: F401RE I2S + DMA Issues
Replies: 5
Views: 4162

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 ref...
by axel
Sun Oct 18, 2020 10:44 pm
Forum: General discussion
Topic: F401RE I2S + DMA Issues
Replies: 5
Views: 4162

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 exa...
by axel
Thu Oct 08, 2020 1:31 am
Forum: General discussion
Topic: F401RE I2S + DMA Issues
Replies: 5
Views: 4162

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 ...
by axel
Mon Oct 05, 2020 1:57 pm
Forum: General discussion
Topic: Strange I2C Hang
Replies: 4
Views: 4243

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 ...
by axel
Mon Oct 05, 2020 12:58 pm
Forum: General discussion
Topic: Strange I2C Hang
Replies: 4
Views: 4243

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 not a ...
by axel
Sun Oct 04, 2020 11:11 pm
Forum: General discussion
Topic: Strange I2C Hang
Replies: 4
Views: 4243

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 from ...

Go to advanced search