Skip to content
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

fmu-v6xrt lpuart singlewire for RC telemetry #23118

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

PetervdPerk-NXP
Copy link
Member

@PetervdPerk-NXP PetervdPerk-NXP commented May 10, 2024

Updates IMXRT driver to support RC telemetry.

Also changes rc_input singlewire mode to pushpull for better signalling.

Pending on PX4/NuttX#307

@davids5
Copy link
Member

davids5 commented May 10, 2024

Pending on PX4/NuttX#307 - is merged - please repoint this PR

boards/px4/fmu-v6xrt/src/board_config.h Outdated Show resolved Hide resolved
@dk7xe
Copy link
Contributor

dk7xe commented May 25, 2024

nsh: sysinit: fopen failed: No such file or directory

NuttShell (NSH) NuttX-11.0.0
nsh> ver all
HW arch: PX4_FMU_V6XRT
HW type: V6XRT
HW FMUM ID: 0x000
HW BASE ID: 0x003
PX4 git-hash: bbaed84
PX4 version: 1.15.0 80 (17760384)
PX4 git-branch: pr-lpuart-singlewire-v6xrt
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: f8b59abbf98e19a184114c3f54462810ed5990ab
Build datetime: May 25 2024 20:58:17
Build uri: localhost
Build variant: default
Toolchain: GNU GCC, 9.3.1 20200408 (release)
PX4GUID: 00090000000000000000829297441d1a180e
MCU: i.MX RT1170 rB0, rev. 0
nsh>

nsh> rc_input status
INFO [rc_input] Max update rate: 250 Hz
INFO [rc_input] UART device: /dev/ttyS4
INFO [rc_input] UART RX bytes: 270691
INFO [rc_input] RC state: searching for signal: GHST
rc_input: cycle time: 30492 events, 621143us elapsed, 20.37us avg, min 6us max 870us 30.530us rms
rc_input: publish interval: 18790 events, 4096.65us avg, min 1785us max 15986us 680.536us rms
nsh>

@PetervdPerk-NXP but no telemetry on my Tandem X20S other than from the Ghost Module itself.
On my racers with FETtec FC i do get telemetry

@dk7xe
Copy link
Contributor

dk7xe commented May 25, 2024

After switching the GHST protocol from Race250 to Normal telemetry works
20240525_213753.jpg

Switched back to Race250 protocol.
Now telemetry works as well after rebinding the Ghost Atto Duo RX
20240525_215631.jpg

@dk7xe
Copy link
Contributor

dk7xe commented May 25, 2024

To me it looks like this is good to go

@PetervdPerk-NXP PetervdPerk-NXP marked this pull request as ready for review May 25, 2024 20:12
@PetervdPerk-NXP
Copy link
Member Author

PetervdPerk-NXP commented May 30, 2024

Pending on testing on Pixhawk 4 - FMUv5 due to SER_SINGLEWIRE_PUSHPULL change.
@dk7xe you happen to have a Pixhawk 4?

See #23216

@PetervdPerk-NXP
Copy link
Member Author

Dropped SER_SINGLEWIRE_PUSHPULL change it's working fine without it.
Made a seperate PR for that see #23216

@davids5 can we merge this?

@davids5 davids5 merged commit c22f725 into main Jun 3, 2024
92 of 93 checks passed
@davids5 davids5 deleted the pr-lpuart-singlewire-v6xrt branch June 3, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants