kehribar / nrf24L01_plus

Portable nrf24L01+ library with auto acknowledgement and auto retransmission support.
292 stars 97 forks source link

MISO pull up missing #3

Open r00tr4v3n opened 10 years ago

r00tr4v3n commented 10 years ago

There should be a pull up on the MISO pin in the device specific radiopinfunctions.c

set_bit(PORT, PIN_MISO); // MISO pull up

Was not able to communicate over SPI without it.

kehribar commented 10 years ago

Hi,

I'm using the library without any internal / external pull-ups for a long time.

Maybe your microcontroller - radio connection lines are long and you are needing a pull-up ...

Best, ihsan.

r00tr4v3n commented 10 years ago

I used a Arduino Nano. The signal looks fine on the oscilloscope but it should get a predefined state via pull up. Maybe this will help somebody for future reference. Thanks for your work! It is an awesome base for Arduino and ARM projects! Cheers, Martin