arduino Mega 2560 : radio init fail [solved]
-
Hello,
I have an arduino mega 2560 Geekcreit, that seems to work well on basic sketches.
uploaded the basic gateway sketch version 2.1.1 with nothing added.
Connected a radio that has been tested on a uno and that works on this arduino uno.
wiring double checked. capacitor added on 3.3V and GND.
Voltage measurement on the radio : 3.29V and seeming stable.
Below is my debug log.
What else can I try to make it work, or find the fault?
Thanks.Nicolas
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;RF24:write register, reg=0, value=14
0;255;3;0;9;RF24:write register, reg=3, value=3
0;255;3;0;9;RF24:write register, reg=4, value=95
0;255;3;0;9;RF24:write register, reg=5, value=76
0;255;3;0;9;RF24:write register, reg=6, value=35
0;255;3;0;9;RF24:write register, reg=16, value=115
0;255;3;0;9;RF24:write register, reg=29, value=6
0;255;3;0;9;RF24:read register, reg=6, value=255
0;255;3;0;9;RF24:read register, reg=5, value=255
0;255;3;0;9;!RF24:INIT:SANCHK FAIL
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=1
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;RF24:write register, reg=0, value=12
0;255;3;0;9;RF24:PD -
Hello,
I have an arduino mega 2560 Geekcreit, that seems to work well on basic sketches.
uploaded the basic gateway sketch version 2.1.1 with nothing added.
Connected a radio that has been tested on a uno and that works on this arduino uno.
wiring double checked. capacitor added on 3.3V and GND.
Voltage measurement on the radio : 3.29V and seeming stable.
Below is my debug log.
What else can I try to make it work, or find the fault?
Thanks.Nicolas
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;RF24:write register, reg=0, value=14
0;255;3;0;9;RF24:write register, reg=3, value=3
0;255;3;0;9;RF24:write register, reg=4, value=95
0;255;3;0;9;RF24:write register, reg=5, value=76
0;255;3;0;9;RF24:write register, reg=6, value=35
0;255;3;0;9;RF24:write register, reg=16, value=115
0;255;3;0;9;RF24:write register, reg=29, value=6
0;255;3;0;9;RF24:read register, reg=6, value=255
0;255;3;0;9;RF24:read register, reg=5, value=255
0;255;3;0;9;!RF24:INIT:SANCHK FAIL
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=1
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;RF24:write register, reg=0, value=12
0;255;3;0;9;RF24:PD -
Well, thanks a lot, it solved it. I saw the different wiring for mega2560, but not the star which added two lines to the sketch :
#define MY_RF24_CE_PIN 49
#define MY_RF24_CS_PIN 53It works now! thanks also for your reactivity;
Nicolas
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login