Only the accelerometer did not have any time listed in the datasheet. It does mention times between operating modes (~1.6 ms), but no proper start up delay. I tested with a few parameters and saw that a delay of 5 ms was enough to get the accelerometer operational (I added 1 extra just to be safe). The other values were also tested (I moved the load switch functions just before initialisation and removed the UART functions for a proper test).
Summary:
I've changed the load switch function to include a delay instead of randomly doing a 100 ms delay each time. Closes #153.
Changes:
Notes for Reviewers:
Only basic, basic_lorawan, and secure_element_lorawan have changed.
Release Notes: (optional)
datasheet load switch page 6, since we use 2.8V (Ct open) it should be between 120 us and 200 us.
datasheet flash page 79
datasheet se page 65
datasheet sht page 4
![image](https://user-images.githubusercontent.com/77615373/112170248-335d5300-8bf3-11eb-818f-d83301f0ab36.png)
Only the accelerometer did not have any time listed in the datasheet. It does mention times between operating modes (~1.6 ms), but no proper start up delay. I tested with a few parameters and saw that a delay of 5 ms was enough to get the accelerometer operational (I added 1 extra just to be safe). The other values were also tested (I moved the load switch functions just before initialisation and removed the UART functions for a proper test).