Skip to content

RS485: Blocking transmissions inside receive ISR #46

Description

@ETSells

**Requester: @ETSells **

(Non-developer requests only): Is your feature request related to a problem? Please describe.
Relates to #34, data logging is way too slow. We have identified the root cause to be blocking RS485_Transmit calls in the protocol_command_handler. This causes the engine controller to halt execution for just under 50 ms to perform the transmission.

Describe the solution you'd like
We should instead perform our transmissions in interrupt mode so that we don't block execution of the data logger.

Describe alternatives you've considered
Copilot suggested a solution that halts telemetry entirely during the fire state. This is undesirable.

Additional context
N/A

Points of Contact
Component Owner: @niekky

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions