Skip to content

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 <paul@nowt.org>
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