Skip to content

add 100ms delay to end of init sequence #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2025

Conversation

RetiredWizard
Copy link
Contributor

@RetiredWizard RetiredWizard commented Apr 10, 2025

I'm not 100% sure the delay mentioned in the datasheet isn't supposed to happen earlier in the power-up process but it looks like this is the right place to me and adding a .1 second delay at the end of the init sequence shouldn't cause any problems anyway. In my tests everything still works fine with this change although nothing was misbehaving without it either.

If merged this will fix #15

Edit: One more thought, it's possible this hasn't been an issue because CP is relatively slow, however as microcontrollers get faster it might become necessary to have this delay in place.

@ladyada ladyada merged commit 6c2f84d into adafruit:main May 3, 2025
1 check passed
@ladyada
Copy link
Member

ladyada commented May 3, 2025

Thx

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request May 13, 2025
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107 to 2.0.2 from 2.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SH1107#28 from RetiredWizard/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_INA3221 to 1.1.0 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_INA3221#1 from bablokb/refactor

Updating https://github.com/adafruit/Adafruit_CircuitPython_OV5640 to 1.2.5 from 1.2.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_OV5640#36 from casten/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_RA8875 to 3.1.23 from 3.1.22:
  > Merge pull request adafruit/Adafruit_CircuitPython_RA8875#33 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_TLV320 to 1.1.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_TLV320#7 from adafruit/add_reset
  > Merge pull request adafruit/Adafruit_CircuitPython_TLV320#6 from adafruit/volume_update

Updating https://github.com/adafruit/Adafruit_CircuitPython_Pathlib to 1.0.2 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Pathlib#1 from FoamyGuy/fix_error_num
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Power on delay - potential enhancement
2 participants