Luos-io / luos_engine

Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
https://www.luos.io
MIT License
514 stars 54 forks source link

ensure that PTP is low after reset #475

Closed houkhouk closed 9 months ago

houkhouk commented 9 months ago

By submiting this PR, you agree with the associated license MIT) and with our Contributor License Agreement (CLA).

Before to begin

Thank you for contributing to the Luos project!

Before to begin, please follow these steps:

Feel free to read the Luos contribution's guidelines and the documentation page to have more insight about how to contribute to Luos.

PR Description section

Description and dependencies

After power-on or a reset, it can happen that the PTP line stays high due to some parasitic capacitance on the line combined to the high impedance default configuration of GPIOs. It has been observed that this behavior can trigger interrupts that sends the µcontroller to the hardfault handler. Forcing GPIOs to a low level during start-up is recommended.

Changes

Please choose the relevant options:

Related issue(s)

Provide a list of the related issues that will be fixed by this PR.


WARNING: Do not edit the checklist below.


Developer section

QA section