-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
Support for GEPRCF745BTHD #27491
Support for GEPRCF745BTHD #27491
Conversation
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.
Need to squash the commits and some other things need fixing
I've cleaned this up a bit. The pictures do not have an SD card - does it have an sdcard? If not what SPI bus is the flash chip on? |
Thanks to your work, it has no SD card slot, but a 512MB SD card chip on the FC, model number is CSNP4GCR01-AMW. |
This is the same chip iFlight were asking about - there is no driver for this in ArduPilot at the moment. Last time I checked there was no driver in betaflight either - did this change? It's unfortunately likely to be quite a lot of work to support a completely new flash chip which I don't have time for right now. |
It is an SD card chip, and it is no different from an ordinary SD card in the program, but it can not be plugged in and out, and no additional drivers are required. |
Ok, did it seem to be working with this firmware? |
Yes, it can be recognized as an SD card in Ardupilot, Betafight, INAV. |
Ok, I have had another go at the DMA allocation on this - its extremely hard because its an F7 - and thus very inflexible - but also because you are using 4 SPI buses which takes up a lot of DMA channels. Are you able to test what I have here to see how well it works? I'm particularly interested in the bi-directional dshot allocation |
d873a7e
to
934449d
Compare
@YI-BOYANG can you answer the question about RSSI and let me know the results of your testing on the updated firmware? |
RSSI_ADC does not lead out on the board, you can delete it. I am testing your updated firmware, please wait for my test result. |
@andyp1per @Hwurzburg @peterbarker After initial testing, the modified code can run. However, after modifying the LED code, it will become a steady state after passing the self-test, and it will be in a blinking state after completing the self-test before modification. |
So are you able to connect to the board? If so I am pretty sure I know what the LED issue is |
It can be connected to a computer, and we've done some flight tests. |
Ok I have pushed a fix - please can you try it? Note that the board id has changed because the one you were using has now been taken, so you will need to reflash the bootloader |
|
@YI-BOYANG which exact baro does this board have? |
The board carries a BMP280. We have some GPS products with integrated DPS310 or MS5611 barometers. The FC can also be tested using an integrated barometer in GPS. |
We generally do not advise to use external Baro - good GPS placement is usually bad Baro placement. I would advise that you only enable the driver for the BMP280 if you agree |
Some changes have been made to the barometer on our GPS to make it stable and have more options from the user's point of view, so keep the MS5611 and DPS310 drivers if you can. |
Ok I will leave it - it's your baord |
Ok I have fixed the baro issue - your external baros would not have worked before |
@andyp1per The modified firmware has been tested and it works fine. |
Great! Will mark for the devcall |
@YI-BOYANG what is the pin with chinese? cant add to wiki until we know |
|
then what is VSW pad? |
VSW: In Betaflight and INAV, the 12V output is controlled on or off by pinio. I'm not sure if this feature is also available in Ardupilot, so there is no definition of VSW in hwdef. Adjustable voltage (+) : Output 12V or battery voltage can only be selected with 0 ohm resistance. |
yes ArduPilot can control the cpu pin that controls the switch for VSW(does this also control the supply pin on the VTX and DJI connector?)....its important for HD VTX users to be able to shut off the supply when on the ground to prevent overheating it would be best if you sent either me or Andy a schematic of the circuit controlling these pins via discord PM and he or I can update the hwdef |
Ok, I don't have your contact info in discord, I'll send the schematic to Andy Piper. |
This will be the GEPRC brand's first TAKER F745 BT FC with Ardupilot support. It already supports Betaflight and INAV, and the target name in BF is GEPRCF745_BT_HD.
Now we have completed the Ardupilot test and officially submitted the PR.
Since this is the first time to support Ardupilot, we may need some assistance, please contact me, thank you.
Email: [email protected]
discord id: yi_bo_yang
https://geprc.com/