-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new board "MatekH743-slim" #18544
Conversation
*.cmake are not used any more svd relocated
Thanks @vvladic, this is a very nice little flight controller for ~ $70. |
initIOTimerChannel(io_timers, {Timer::Timer5, Timer::Channel4}, {GPIO::PortA, GPIO::Pin3}), | ||
initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel1}, {GPIO::PortD, GPIO::Pin12}), | ||
initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel2}, {GPIO::PortD, GPIO::Pin13}), | ||
// initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel3}, {GPIO::PortD, GPIO::Pin14}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these channels commented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The board normally has 12 PWM outputs, but after configuring all of them, system was unable to boot due to src/drivers/pwm_out/PWMOut.cpp
not doing anything for DIRECT_PWM_OUTPUT_CHANNELS
values between 9 and 13.
So I decided for getting the board to work properly with 8 channels first, and adding 4 more channels later if everything goes well and when I understand the architecture better. I was not feeling comfortable with changing too much in my first pull request :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, we'll come back to it.
Do you find the board temperature acceptable on the bench? I was thinking about lowering the default cpu frequency on these h7 boards to reduce the temperature. #18198 |
Co-authored-by: Daniel Agar <daniel@agar.ca>
Co-authored-by: Daniel Agar <daniel@agar.ca>
After some googling, and looking at how others configured this pin for this board, it looks like there are 3 versions of this board. After removing
|
I think the temperature is around 45..55°C, depending on room temperature. I guess that's not that bad. But lowering the temperature sure won't hurt. |
I haven't reviewed this pin for pin, but overall it looks good. The one important omission I noticed is the lack of non-volatile parameter storage (eg FLASH_BASED_PARAMS in board_config.h). To use flash based parameter storage
Once that's in place parameters should be persistent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to merge as is, we can continue working on it incrementally in master.
TODO:
- mpu6000 issue
- consider using flash based parameters
Hi @vvladic Since its been a while there was any activity on this thread. I am interested in flashing this board with PX4 and wanted to know how was the overall experience running PX4 on this board. Any issues that I should be aware of? and if any particular revision of the board is more suitable. I am planning to use the following revision of the board
Any feedback on performance of this board running PX4 will be highly appreciated. Thanks |
Hi guys,
I just wanted to add support for this "MatekH743-slim" board.
The board is standard 30.5x30.5 size, has a pretty good layout with CAN port and faster 480MHz H743 MCU with 2MB flash.
Perfect for running advanced flight control like PX4 or AP on smaller aircraft.
Official vendor site is:
http://www.mateksys.com/?portfolio=h743-slim#tab-id-1
and can be bought for example here:
https://www.premium-modellbau.de/matek-h743-slim-stm32h7-slim-flightcontroller-480mhz-ardupilot
or here:
https://www.banggood.com/30_5x30_5mm-Matek-Systems-H743-SLIM-Flight-Controller-5V-BEC-MPU6000-7x-UARTs-OSD-for-RC-Drone-FPV-Racing-Multirotor-Multicopter-p-1755036.html?cur_warehouse=CN&rmmds=search
I did a first test flight today:
https://review.px4.io/plot_app?log=b6a595a1-9580-4676-8bcd-132a78817dc9
This is my first pull request, so any comments and suggestions are welcome.