Replies: 1 comment 1 reply
-
|
I've been searching the web for some programming clues and I found Pawel's extremely informative video on YouTube regarding resource mapping for STM32F4 targets. I agree there are some people not familiar with the architecture and if they mapped resources with the inav configurator and not familiar with the architecture they will run into trouble. My requirements are simple. I have several flying wings where I'd like to use servo out 5 & 6 for softserial TX at 57600. This is not a problem. I will add these features and post it to the inav 2.6.1 repo as soon as I test it out. I'll also add a link to the ar mini wing and the ar wing pro that I am building. I found a source to the Sparky 2.0 TauLabs hardware, with connectors, case, and cables.. complete kit for $25.00 USD. Awesome deal when Pixhawks and Matek hardware are getting expensive. Plus the Sparky/Revo controllers are small and can be fit in small airplanes, or larger airplanes where you want to carry a larger flight battery. I am starting with 2.6.1 because the iNav 2.6.0 Sparky 2.0 firmware is still in Beta and not all functions are available. I'll keep you posted. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Has anyone been successful with configuring softserial on the Sparky 2.0 STM32F4 flight controller ? I have plenty of resources available and need two 57600 TX ports to complete my AR mini wing build. The softserial ports are needed for Frsky telemetry and FC output to the minimodOSD.
I'm using the LED 6 pin port to control aviation lights and a status light. I wanted to configure telemetry and OSD before I install my rf shield that goes on top of the Sparky controller and ESC. The BN-220 mounts on top of it in a 3d printed cage. The shielding helps achieve really good performance with the BN-220 GPS. 3D Lock with 18 satellites.
The resource serial_tx command appears to fail and resource only echoes back the current mapping, I can not remap anything even if the resource is free. Is there a step I am missing here to remap resource A00 ? The resource is free and according to the Sparky 2.0 schematic it maps to pin servo out 6.
Enabled: VBAT MOTOR_STOP SOFTSERIAL GPS TELEMETRY CURRENT_METER LED_STRIP BLACKBOX AIRMODE PWM_OUTPUT_ENABLE
resource SERIAL_TX 11 A0
IO:
A00: FREE
A01: FREE
A02: MOTOR4 OUT
A03: MOTOR3 OUT
A04: FREE
A05: SPI1 SCK
A06: SPI1 MISO
A07: SPI1 MOSI
A08: FREE
A09: SERIAL1 UART TX
A10: SERIAL1 UART RX
A11: USB IN
A12: USB OUT
A13: FREE
A14: FREE
A15: FREE
B00: MOTOR1 OUT
B01: MOTOR2 OUT
B02: FREE
B03: FLASH CS
B04: LED2 OUT
B05: LED1 OUT
B06: LED3 OUT
B07: FREE
B08: I2C1 SCL
B09: I2C1 SDA
B10: SERIAL3 UART TX
B11: SERIAL3 UART RX
B12: FREE
B13: FREE
B14: FREE
B15: FREE
C00: FREE
C01: FREE
C02: ADC CH1
C03: ADC CH2
C04: MPU CS
C05: MPU EXTI
C06: INVERTER OUT
C07: SERIAL6 UART RX
C08: FREE
C09: BEEPER OUT
C10: SPI3 SCK
C11: SPI3 MISO
C12: SPI3 MOSI
C13: FREE
C14: FREE
C15: FREE
Enabled: VBAT MOTOR_STOP SOFTSERIAL GPS TELEMETRY CURRENT_METER LED_STRIP BLACKBOX AIRMODE PWM_OUTPUT_ENABLE
Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions