A beginners adventure into the world of multirotor fpv drone racing and freestyle

Matek F722-SE Betaflight 4 Camera Control and SmartPort

Problem: Camera control and SmartPort telemetry not functioning (on soft serial) with Matek F722-SE flight controller and Betaflight 4.04.

Details:

fc:  Matek F722-SE  
Bf:  Betaflight 4.0.4
rx:  Frsky R-XSR
tx:  Frsky x-lite
vtx: RDQ Mach 1 
vrx: FatShark Scout

As a new build and new to this hobby, I am going to put this under troubleshooting as well as setup. I had trouble getting my Runcam OSD camera control and Frsky SmartPort telemetry working.

Camera control:

The Matek manual states that the RX4 pad has a 200ohm resistor and can be remapped to camera control. The instructions are to assign it via the Betaflight CLI and set it up under the ports tab.

Solution: Make sure that nothing else is assigned to this resource before assigning camera control to UART 4 RX.

Open Matek pin definitions for reference: http://www.mateksys.com/?portfolio=f722-se#tab-id-7

  • Open Betaflight
  • In CLI:
    • resource (lists all resources and their allocations)
  • SERIAL_RX 4 and resource PWM 2 are on A01 and need to be unassigned
  • In CLI:
    • resource SERIAL_RX 4 none
    • resource PWM 2 none
  • Can now assign camera control without any conflicts
  • In CLI:
    • resource camera_control 1 A01
    • save
  • Reboot
  • Camera control should now work in OSD!

SmartPort (softserial)

Similarly to camera control, the manual states that TX2 can be used for SmartPort with softserial -OR- use another UART TX (as the board has built in inversion). The softserial option is so you can free up that UART you otherwise would have used for SmartPort.

Solution: Make sure that Serial RX / PWM is not assigned to this resource before assigning camera control to UART 4 – OR – use another (closeby?) UART – ie UART 1 TX.

  • Open Betaflight
  • Configuration menu: Enable Soft Serial
  • Reboot
  • In CLI:
    • resource (lists all resources and their allocations)
  • SERIAL_TX 2 and resource PWM 1 are on A02. and need to be unassigned
  • In CLI:
    • resource SERIAL_TX 2 none
    • resource PWM 1 none
  • Can now assign soft serial without any conflicts
  • In CLI:
    • resource serial_tx 11 A02
    • save
  • Reboot
  • Ports menu: Assign SmartPort on SOFTSERIAL1 via dropdown
  • Reboot

Perhaps all of this is obvious to people that have been around longer, but this was definitely a good introduction to resource assignment on flight controllers !