Skip to content

Instantly share code, notes, and snippets.

@rockavoldy
Last active July 11, 2023 07:34
Show Gist options
  • Save rockavoldy/7d2a15b280496bcba8b0d048b47f4c36 to your computer and use it in GitHub Desktop.
Save rockavoldy/7d2a15b280496bcba8b0d048b47f4c36 to your computer and use it in GitHub Desktop.

AnyFC F7

Specification

  • STM32F745VGT6 100lqfp at 216MHz
  • MPU6000 IMU connected via SPI bus
  • 10 PWM outputs
  • 6 PWM inputs (inputs 3 and 4 shared with UART6)
  • 8 UART and VCP port
  • External I2C Bus
  • CAN Bus
  • External SPI bus (pins shared with UART4 and UART5)
  • SD card slot for blackbox logs (need to check inverted or not)
  • 3 ADC (ADC0 with 1kOhm/10kOhm voltage divider, ADC1 and ADC2 with 1kOhm inline resistors)

Pinout

Top board

AnyFC F7 Top-side

Bottom board

AnyFC F7 Bottom-side

Credit: QuadMeUp

INAV output mapping

INAV Airplane output mapping

Output Number INAV Func
1 Motor 1
2 Motor 2
3 Servo 4
4 Servo 5
5 Servo 3
6 Servo 2
7 Servo 6
8 Servo 7
9 Servo 8
10 Servo 1

Recommendation

  1. SD Card for blackbox only can save 4GB, so better to find the correct size that are much cheaper (not sure if i format the microSD correctly or not, but as a note, it says usable storage is 4GB, maybe because the format is FAT32(?) Maybe can be fixed with inav/Blackbox)
  2. Use ADC0 to monitor your voltage, and put 1100 in the "Voltage scale"

Issues

  1. Not sure why, but when i try to config this FC on flying wing (Dart 250g), i can't use Servo 1 and Motor 1 at the same time. Should move one of the elevon to Servo 3, and make sure it connect to the correct port. (Note: could be the same case for Motor 2, but can't confirm since i only use 1 motor.)
  2. Onboard barometer is for MS5611 (have tried with BMP280, but smaller, have different package size). If it sourced from other module board, just make sure to move the chip first aside and wait to cooldown before take it up with pinset, since the top case of the chip can easily fell (learned the hard way 😑).
  3. Can only use 8kHz loop time even though the microprocessor can take up to 32kHz, because the gyro (MPU6000) can only do 8kHz. If you can find the replacement part with the same package QFN-24 4x4 (like ICM-20689), it's better to replace them so you can use faster loop time. Though, i don't feel anything different with much faster loop time on my quad, maybe it will be useful for someone in competitive scene or on some demanding cases(?).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment