Hello team!
I want to share some of my work (and Robert work, of course) about porting MP to a new uC, the STM32F4xx.
We are working on this branch:
https://code.google.com/p/gentlenav/source/browse/#svn%2Fbranches%2FMatrixPilot_nucleoIt's called that becous we are working on a Nucleo board as a development hardware (
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320)
I'm using a STM32F411 but all code is compatible with F401 beouse I don't use extra memory.
PART 1 - Radio In
I started working on Radio In driver. I just consider PPM signal. We would like to avoid parallel software suport. For those people who don't have PPM output from their receiver we could add some simple hardware PPM encoder and enter to the uC with just 1 wire and 1 IC.
First I made a System Workbench project (ST free IDE for STM32 uC) and start to write code following MP radioIn.c functions, but working outside the MatrixPilot_Nucleo project. This way I was just to worrie about PPM decode and not other things of the rest of the MP project. I hope you can understand what I mean.
Once the driver was warking I've copy each functions to MatrixPilot_Nucleo project and test it with the rest of the project.
So, now, there is a SystemWorkbench workspace located on MatrixPilot_Nucleo branch called SystemWorkbench_WS. There is a System Workbench project called RC_Input_HAL01. This project configure timer's Input Capture, IC interrupt service routine and UART6 and mesure the with of one Rx channel connected to PA0.
I will write other parts on next posts.
Any question and sugestion are welcome!
BTW: Sorry by my english, I'm thinking on starting an english course next month....