Skip to content

Use LED to indicate CAN status (IDFGH-2436) #4549

@keelung-yang

Description

@keelung-yang

We want to use LED to indicate CAN controller status: busy, idle and error

Since there is an API can_get_status_info(), we know when error occurred. But how to determine busy and idle? msgs_to_tx and msgs_to_rx in can_status_info_t are not appropriate to handle busy state since there are changed quickly, laged behind can_transmit() , and hard to capture.

Also there is no interruption mentioned in CAN document.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions