A lot of NACKs
-
The following code results in a st=NACK for send msg2 and msg3:
send(msg1); send(msg2); send(msg3);
This results in a st=OK for all
send(msg1); wait(LONG_WAIT); send(msg2); wait(LONG_WAIT); send(msg3);
A power issue perhaps?
-
@mpp yes this is a common problem. Adding delays seems to be the most popular solution but a more stable power supply might be good as well.
-
Unfortunately adding delays will cost battery. I'll do some testing with different power supplies.
-
@mpp or skip the power supply and run directly off the batteries
-
that's the idea yes. But the thing is, I'm seeing these messages through the serial interface when USB powered. Not sure what to expect when I power the node from the battery.
-
@mpp disconnect Vcc from the usb and run the node from batteries while looking at the serial output maybe?
-
Thx for the tip. Only vcc or vcc and ground? Wouldn't want to damage my laptop...
-
@mpp ground needs to be connected, otherwise the signal levels for the serial won't match.