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:
[ x] Bug fix (non-breaking change which fixes an issue)
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
[x] [Documentation] is up to date with new feature
[x] [Tests] are passed OK (non regression, new features & bug fixes)
[x] [Code Quality] please check if:
Each function has a header (description, inputs, outputs)
Code is commented (particularly in hard to understand areas)
There are no new warnings that can be corrected
Commits policy is respected (constitancy commits, clear commits comments)
QA section
[x] [Review] tests for new features have been reviewed
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
🆕 Feature: [Feature] Description...
🆕 Added: [Feature] Description...
🆕 Changed: [Feature] Description...
🛠️ Fix: [Feature] Description...