I have a nRF24L01+ with an adapter module like this one (https://www.addicore.com/1x-nRF24L01-Adapter-p/ad279.htm)
The pins are connected:
When I try to call radio.begin() the Teensy freeze, in the serial monitor is printed only
This time I'm 100% sure I've never used 5v
The pins are connected:
mosi -> pin11
miso -> pin12
sck -> pin13
ce -> pin4
csn ->pin5
vcc -> 3.3 on external power supply
gnd -> gnd on external power supply
teensy gnd -> gnd on external power supply
When I try to call radio.begin() the Teensy freeze, in the serial monitor is printed only
Test connection to modules
Code:
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define RADIO_CE 4
#define RADIO_CSN 5
RF24 radio(RADIO_CE,RADIO_CSN);
void setupRadio()
{
Serial.println("Test connection to modules");
// Setup and configure rf radio
radio.begin();
Serial.println("Init ok");
// Set the TX and RX addreses in the module
radio.openWritingPipe(pipes[0]);
radio.openReadingPipe(1,pipes[1]);
// radio.setDataRate( RF24_2MBPS ) ;
// radio.setPALevel( RF24_PA_MAX ) ;
radio.enableDynamicPayloads() ;
radio.setAutoAck( true ) ;
radio.powerUp() ;
radio.startListening();
// Print out the configuration of the rf unit for debugging
radio.printDetails();
}
This time I'm 100% sure I've never used 5v