Skip to content

Copter: CANFD data stream hangs up after couple of minutes. #26704

Closed
@ketanatzebu

Description

Bug report

Issue details

I have a proximity sensor giving out measurements via CANFD. I tried using lua script to read and process the frame but the sensor hangs up after few minutes. I have confirmed that it’s not an issue with the sensor using the CANFD analyzer on which I get uninterrupted continuous readings.

Nom Bit Rate: 1 000 000
Data Bit Rate: 5 000 000

Sensor: Ti mmwave AWR6843AOP

Version
Copter 4.5

Platform
[ ] All
[ ] AntennaTracker
[X] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

Hardware type
Cube Orange Plus

Logs
------- Clock Config -------
CAN_CLK_FREQ: 80MHz
Std Timings: bitrate=1000000 presc=8
sjw=1 bs1=8 bs2=1 sample_point=90.00000%
FD Timings: bitrate=5000000 presc=1
sjw=4 bs1=11 bs2=4 sample_point=75.00000%
------- CAN Interface Stats -------
tx_requests: 0
tx_rejected: 0
tx_overflow: 0
tx_success: 0
tx_timedout: 0
tx_abort: 0
rx_received: 388
rx_overflow: 0
rx_errors: 0
num_busoff_err: 0
num_events: 388
ECR: FF00
fdf_rx: 388
fdf_tx_req: 0
fdf_tx: 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions