Skip to content
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

Correct power-on delay #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Correct power-on delay #28

wants to merge 1 commit into from

Conversation

pbrook
Copy link

@pbrook pbrook commented Oct 16, 2013

The nRF24L01 datasheet documents the power-up startup time (from Power Down to Standby-I) as 1.5ms (1500us). However startWrite only waits 150ms. Increase this delay to the required value.

If the device is already powered up we can skip this delay entirely.

On some tests we get lucky - typically if we are switching from receive to transmit mode, so the oscillator is already warmed up.

However e.g. pingpair_pl the TX device is spends most of its time powered down. The cold-start time on my module means with the 150us delay transmission fails most (>95%) of the time.

Increase power-on delay to that specified by the device datasheet
Skip delay if device is already powered up

Signed-off-by: Paul Brook <[email protected]>
repeat83 pushed a commit to repeat83/RF24 that referenced this pull request Feb 10, 2014
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.

1 participant