2019-10-22 09:50 AM
Hi all,
I recently bought my first drone flight controller based on STM32F722RET6 with I2C barometer.
The barometer is not working and the chip becomes quite hot (>70°C), although firmware settings are ok. So I started some error checking while waiting for the replacement.
Since I am completely new in the STM32 world, I'd like to have a confirmation that what I did makes some sense and the board is indeed broken (since it is very likely I did an error somewhere...). So here is what I did:
The whole project can be seen on github: https://github.com/joba-1/jhemcu-base with one branch for each of the three test (not master), including the CubeMX edited ioc file and main.c with my few code additions.
So, what is it in your opinion? Noob error or broken board? Could I check something else? Clock configs to tweak? Possibilities to make errors seem endless to me :)
Regards,
Joachim
2019-10-22 11:14 AM
>>Possibilities to make errors seem endless to me
It can certainly be a rabbit-hole
The think getting really hot seems problematic to me, as does the issue with the I2C vs GPIO not looking to work.
I look at these flight controllers, but never find good schematics, and hard to know how well any of it is tested properly. Power supplies and other components may have dependencies on GPIO and reset lines. Doing board bring-up is going to be a sizable task for anyone.
2019-10-22 01:06 PM
What you did makes sense.
Since the GPIO fails to drive 2 out of the 4 pins your tried, it suggests a hardware issue. Could be the barometer is pulling those lines down or something within the stm32 is blown.
I’d just wait for the replacement, but if you wanted to spend time you could remove the barometer and see if the problem persists, if you have the tools.
2019-10-22 04:34 PM
Thanks. Since this should have worked, there is not much more I can do. SMD fiddling is not my cup of coffee.
But still, taking a closer look at the STM32 world was worth the effort. Nice platform.