We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everyone!
I'm working on a project on a Nucleo F411RE that uses a few peripherals of the STM32F411RE including the I2S port.
On the one hand I have manage to get the I2S to work using STM32CubeMX tool (it didn't work with mbed libraries for a still unknown reason) and on the other hand I have a second working project made on mbed online IDE and exported to µVision 5.
I would like to combine these two working projects so that I could use the I2S port in my mbed project.
I tried to merge it by copy pasting the include files, changing the code, copy pasting some linker options etc. but it never works. It compiles just fine but nothing happens on the board.
Any advices on how I should proceed?
Thanks in advance!
Use the debugger to see where it's going wrong?
At a guess, as you're taking bits from entirely different "ecosystems", I'd suspect that you're missing (some of) the setup that (at lest one of) those "ecosystems" assumes & requires ...
Hey Andrew! Thanks for your answer
The debugger didn't really tell me anything (although I probably don't use it so well, I just step through all the instructions to see where it goes wrong).
Yeah I completely agree with you and that's why I was wondering if there is a more methodic way of doing it (like first change include path, then linker's options, etc.)
I keep trying but I can't manage to combine the parameters of the too...
Anybody has done this before, or has an idea on how to do it properly?