-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SX1262 Sleep #740
Comments
Thanks for the report, I was able to find this one quickly. There was a bug in waking up the SX126x device after it was put to sleep (the Arduino just timed out waiting for the BUSY signal to go low, which is not going to happen when the device is sleeping). I added a check to make sure that it will wakeup. Tested on Uno + SX1268, thanks for reporting! |
Thanks for your great software and also the quick support.
However, your solution seems to have added one second somewhere. My
application requires long battery life which means that CPU and
radio current during sleep must be very low AND a transmit cycle needs to
be very short.
Your sleep fix has caused my transmit cycle to go from 190 milliseconds to
1.2 seconds.
…On Tue, May 2, 2023 at 10:01 AM Jan Gromeš ***@***.***> wrote:
Thanks for the report, I was able to find this one quickly. There was a
bug in waking up the SX126x device after it was put to sleep (the Arduino
just timed out waiting for the BUSY signal to go low, which is not going to
happen when the device is sleeping). I added a check to make sure that it
will wakeup. Tested on Uno + SX1268, thanks for reporting!
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTW3FBLPASS24FW4FR3XEE4YBANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Seems that the additional second is not coming from sleep but rather from
transmit which I assume does the wakeup.
…On Tue, May 2, 2023 at 10:51 AM Larry Plummer ***@***.***> wrote:
Thanks for your great software and also the quick support.
However, your solution seems to have added one second somewhere. My
application requires long battery life which means that CPU and
radio current during sleep must be very low AND a transmit cycle needs to
be very short.
Your sleep fix has caused my transmit cycle to go from 190 milliseconds to
1.2 seconds.
On Tue, May 2, 2023 at 10:01 AM Jan Gromeš ***@***.***>
wrote:
> Thanks for the report, I was able to find this one quickly. There was a
> bug in waking up the SX126x device after it was put to sleep (the Arduino
> just timed out waiting for the BUSY signal to go low, which is not going to
> happen when the device is sleeping). I added a check to make sure that it
> will wakeup. Tested on Uno + SX1268, thanks for reporting!
>
> —
> Reply to this email directly, view it on GitHub
> <#740 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABRDHTW3FBLPASS24FW4FR3XEE4YBANCNFSM6AAAAAAXSMKP74>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
I see - that's caused by the timeout while waiting for BUSY, which is one second. I added additional parameter to the radio.sleep();
// radio sleeping here
(...)
// OK, time to wake up
radio.standby(RADIOLIB_SX126X_STANDBY_RC, true);
// radio in standby, transmit
radio.transmit(...) |
Wow! Your real time support is amazing.
I just tried your solution and it works.
I hope not to have to bug you for a while.
Larry
…On Tue, May 2, 2023 at 12:07 PM Jan Gromeš ***@***.***> wrote:
I see - that's caused by the timeout while waiting for BUSY, which is one
second.
I added additional parameter to the standby() method, so if the one
second waiting time is critical for you, you can wakeup the module
immediately like this:
radio.sleep();// radio sleeping here
(...)
// OK, time to wake up
radio.standby(RADIOLIB_SX126X_STANDBY_RC, true);
// radio in standby, transmit
radio.transmit(...)
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTSZQGPYPGKMYHMUBA3XEFLQTANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry to still be a pain.
I have three simple battery powered remote telemetry gadgets that send data
one per minute. I tried your fix on all three. Two work correctly and one
does not.
I ran your modified example sketch with the standby fix on all three in
debug mode. Here are the results from one that works and one that
doesn't. I tried switching the UNO chip and the issue is only related to
the SX1262 module. I am guessing some timing parameter is right on the edge
A reset (begin)
14:01:48.846 -> [SX1262] Initializing ... Found SX126x:
RADIOLIB_SX126X_REG_VERSION_STRING:
14:01:48.846 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
14:01:48.846 ->
14:01:48.846 -> M SX126x
14:01:48.846 -> Symbol length: 4719 ms
14:01:48.846 -> Symbol length: 4719 ms
14:01:48.846 -> Symbol length: 4719 ms
14:01:48.846 -> success!
14:01:48.846 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:01:49.035 -> success!
14:01:49.035 -> [SX1262] Datarate: 567.64 bps
14:01:50.027 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:01:50.216 -> success!
14:01:50.216 -> [SX1262] Datarate: 567.64 bps
14:01:51.210 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:01:51.387 -> success!
…---------------------------------------------------
14:04:03.425 -> [SX1262] Initializing ... Found SX126x:
RADIOLIB_SX126X_REG_VERSION_STRING:
14:04:03.425 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
14:04:03.425 ->
14:04:03.425 -> M SX126x
14:04:03.425 -> Symbol length: 4719 ms
14:04:03.425 -> Symbol length: 4719 ms
14:04:03.425 -> Symbol length: 4719 ms
14:04:03.425 -> success!
14:04:03.425 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:04:03.661 -> timeout!
14:04:04.648 -> [SX1262] Transmitting packet ... failed, code -2
14:04:05.647 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:04:05.836 -> success!
14:04:05.836 -> [SX1262] Datarate: 550.33 bps
14:04:06.821 -> [SX1262] Transmitting packet ... failed, code -2
14:04:07.855 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:04:07.994 -> success!
14:04:07.994 -> [SX1262] Datarate: 550.29 bps
14:04:09.042 -> [SX1262] Transmitting packet ... failed, code -2
14:04:10.011 -> [SX1262] Transmitting packet ... Timeout in -8704 us
14:04:10.197 -> success!
14:04:10.197 -> [SX1262] Datarate: 550.31 bps
14:04:11.201 -> [SX1262] Transmitting packet ... failed, code -2
On Tue, May 2, 2023 at 12:07 PM Jan Gromeš ***@***.***> wrote:
I see - that's caused by the timeout while waiting for BUSY, which is one
second.
I added additional parameter to the standby() method, so if the one
second waiting time is critical for you, you can wakeup the module
immediately like this:
radio.sleep();// radio sleeping here
(...)
// OK, time to wake up
radio.standby(RADIOLIB_SX126X_STANDBY_RC, true);
// radio in standby, transmit
radio.transmit(...)
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTSZQGPYPGKMYHMUBA3XEFLQTANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's interesting, couple of thoughts:
|
1. I have a total of five transmitter boards - four in one band and one in
another. All are identical and very simple - UNO DIP chip, crystal, two
caps, DS3231 RTC, and two AAA batteries. The CPU is in a DIP socket so I
swapped the CPU chip and the issue aligned with the radio module. The
modules for the two bands are from two different manufacturers. NiceRF for
the four 915 MHz modu;es and another Chinese company that I can't remember
the name of for the one 433 MHz band.
2. I tried turning on both DEBUG and VERBOSE where the output display was
the same that I sent before.
Even though the unit with the" bad" module works except when I use sleep, I
think it is time to call this module defective and move on. If I see
something similar from the boards that are known good, I will let you know.
Larry
…On Tue, May 2, 2023 at 9:34 PM Jan Gromeš ***@***.***> wrote:
That's interesting, couple of thoughts:
1. Is there any difference between the SX126x module that works and
the others? I'm guessing the rest of the hardware (the MCU, power etc.) is
the same for all three.
2. Could you run the module that does not work with both DEBUG and
VERBOSE enabled?
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTTNN5B5JYVTLMZ3DHLXEHN3FANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
OK, let me know if the issue pops up again, I'd like to get to the bottom of this. |
I am up for helping anyway I can. Let me know if you have ideas or code to
test.
…On Wed, May 3, 2023 at 9:06 AM Jan Gromeš ***@***.***> wrote:
OK, let me know if the issue pops up again, I'd like to get to the bottom
of this.
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTWGRC4L5KTLHJIPKK3XEJ665ANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
With no sleep and DEBUG and VERBOSE on, here is the output of one cycle:
10:48:19.232 -> [SX1262] Initializing ... CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 3 20
10:48:19.515 -> DATR 0 A2 0 53 0 58 0 31 0 32 0 36 0 31 0 20 0 56 0 32 0 44
0 20 0 32 0 44 0 30 0 32 0 0
10:48:19.515 ->
10:48:19.515 -> Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
10:48:19.515 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
10:48:19.515 ->
10:48:19.515 -> M SX126x
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 17
10:48:19.515 -> DATR 0 A2 0 0 0 0
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 97
10:48:19.515 -> DATW 0 A2 0 A2 1 A2 40 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8F
10:48:19.515 -> DATW 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8A
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 93
10:48:19.515 -> DATW 20 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 88
10:48:19.515 -> DATW 3 A2 16 A2 A A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 2
10:48:19.515 -> DATW 43 A2 FF A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8
10:48:19.515 -> DATW 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 89
10:48:19.515 -> DATW 7F A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 40
10:48:19.515 -> DATW 14 A2 24 A2
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 96
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 E7
10:48:19.515 -> DATW 18 A2
10:48:19.515 ->
10:48:19.515 -> CMD 9D
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 4 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 98
10:48:19.515 -> DATW 6B A2 6F A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 86
10:48:19.515 -> DATW 1B A2 20 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 D8
10:48:19.515 -> DATR 0 A2 0 DE
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 D8
10:48:19.515 -> DATW DE A2
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 E7
10:48:19.515 -> DATR 0 A2 0 18
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 95
10:48:19.515 -> DATW 4 A2 7 A2 0 A2 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8E
10:48:19.515 -> DATW A A2 4 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 E7
10:48:19.515 -> DATW 18 A2
10:48:19.515 ->
10:48:19.515 -> success!
10:48:19.515 -> [SX1262] Transmitting packet ... CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Timeout in -8704 us
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8
10:48:19.515 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8F
10:48:19.515 -> DATW 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD E 0
10:48:19.515 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 2
10:48:19.515 -> DATW 43 A2 FF A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 89
10:48:19.515 -> DATR 0 A2 0 4
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 89
10:48:19.515 -> DATW 4 A2
10:48:19.515 ->
10:48:19.515 -> CMD 83
10:48:19.515 -> DATW 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.752 -> CMD 2
10:48:19.752 -> DATW 43 A2 FF A2
10:48:19.752 ->
10:48:19.752 -> CMD C0
10:48:19.752 -> DATR 0 22 0 22
10:48:19.752 ->
10:48:19.752 -> CMD 80
10:48:19.752 -> DATW 0 A2
10:48:19.752 ->
10:48:19.752 -> CMD C0
10:48:19.752 -> DATR 0 22 0 22
10:48:19.752 ->
10:48:19.752 -> timeout!
…On Wed, May 3, 2023 at 9:50 AM Larry Plummer ***@***.***> wrote:
I am up for helping anyway I can. Let me know if you have ideas or code
to test.
On Wed, May 3, 2023 at 9:06 AM Jan Gromeš ***@***.***>
wrote:
> OK, let me know if the issue pops up again, I'd like to get to the bottom
> of this.
>
> —
> Reply to this email directly, view it on GitHub
> <#740 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABRDHTWGRC4L5KTLHJIPKK3XEJ665ANCNFSM6AAAAAAXSMKP74>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Please disregard the previous info. Sleep was off while standby was on.
Here are results from sleep and standby on with no debug or verbose. Seems
to fail on alternate attempts.
11:38:42.478 -> [SX1262] Initializing ... success!
11:38:42.478 -> [SX1262] Transmitting packet ... timeout!
11:38:52.777 -> [SX1262] Transmitting packet ... failed, code -2
11:39:02.756 -> [SX1262] Transmitting packet ... success!
11:39:02.931 -> [SX1262] Datarate: 550.19 bps
11:39:12.932 -> [SX1262] Transmitting packet ... failed, code -2
11:39:22.934 -> [SX1262] Transmitting packet ... success!
11:39:23.111 -> [SX1262] Datarate: 550.17 bps
11:39:33.093 -> [SX1262] Transmitting packet ... failed, code -2
11:39:43.115 -> [SX1262] Transmitting packet ... success!
11:39:43.305 -> [SX1262] Datarate: 550.18 bps
11:39:53.286 -> [SX1262] Transmitting packet ... failed, code -2
11:40:03.295 -> [SX1262] Transmitting packet ... success!
11:40:03.484 -> [SX1262] Datarate: 550.17 bps
11:40:13.465 -> [SX1262] Transmitting packet ... failed, code -2
With DEBUG and VERBOSE on (sleep and standby still on), seems to always
work. I am guessing that debug changes timing.
11:43:20.802 -> [SX1262] Initializing ... CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 3 20
11:43:20.802 -> DATR 0 A2 0 53 0 58 0 31 0 32 0 36 0 31 0 20 0 56 0 32 0 44
0 20 0 32 0 44 0 30 0 32 0 0
11:43:20.802 ->
11:43:20.802 -> Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
11:43:20.802 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
11:43:20.802 ->
11:43:20.802 -> M SX126x
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 17
11:43:20.802 -> DATR 0 A2 0 0 0 20
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 7
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 97
11:43:20.802 -> DATW 0 A2 0 A2 1 A2 40 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8F
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8A
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 93
11:43:20.802 -> DATW 20 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 88
11:43:20.802 -> DATW 3 A2 16 A2 A A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 2
11:43:20.802 -> DATW 43 A2 FF A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8
11:43:20.802 -> DATW 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 89
11:43:20.802 -> DATW 7F A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 42 0 42
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 C2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 A2 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 6 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 40
11:43:20.802 -> DATW 14 A2 24 A2
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 96
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 E7
11:43:20.802 -> DATW 18 A2
11:43:20.802 ->
11:43:20.802 -> CMD 9D
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 6 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 4 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 98
11:43:20.802 -> DATW 6B A2 6F A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 86
11:43:20.802 -> DATW 1B A2 20 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 D8
11:43:20.802 -> DATR 0 A2 0 FE
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 D8
11:43:20.802 -> DATW FE A2
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 E7
11:43:20.802 -> DATR 0 A2 0 18
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 95
11:43:20.802 -> DATW 4 A2 7 A2 0 A2 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8E
11:43:20.802 -> DATW A A2 4 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 E7
11:43:20.802 -> DATW 18 A2
11:43:20.802 ->
11:43:20.802 -> success!
11:43:20.802 -> [SX1262] Transmitting packet ... CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Timeout in -8704 us
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8
11:43:20.802 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8F
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD E 0
11:43:20.802 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 2
11:43:20.802 -> DATW 43 A2 FF A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 89
11:43:20.802 -> DATR 0 A2 0 4
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 89
11:43:20.802 -> DATW 4 A2
11:43:20.802 ->
11:43:20.802 -> CMD 83
11:43:20.802 -> DATW 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.988 -> CMD 2
11:43:20.988 -> DATW 43 AC FF AC
11:43:20.988 ->
11:43:20.988 -> CMD C0
11:43:20.988 -> DATR 0 2C 0 2C
11:43:20.988 ->
11:43:20.988 -> CMD 80
11:43:20.988 -> DATW 0 AC
11:43:20.988 ->
11:43:20.988 -> CMD C0
11:43:20.988 -> DATR 0 22 0 22
11:43:20.988 ->
11:43:20.988 -> success!
11:43:20.988 -> [SX1262] Datarate: 564.67 bps
11:43:20.988 -> CMD 84
11:43:20.988 -> DATW 4 A2
11:43:20.988 ->
11:43:31.070 -> [SX1262] Transmitting packet ... CMD 80
11:43:31.070 -> DATW 0 0
11:43:31.070 ->
11:43:31.070 -> CMD 80
11:43:31.070 -> DATW 0 A0
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> Timeout in -8704 us
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 1D 7 36
11:43:31.070 -> DATR 0 A2 0 D
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD D 7 36
11:43:31.070 -> DATW D A2
11:43:31.070 ->
11:43:31.070 -> CMD 8C
11:43:31.070 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 8
11:43:31.070 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 8F
11:43:31.070 -> DATW 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD E 0
11:43:31.070 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 2
11:43:31.070 -> DATW 43 A2 FF A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 1D 8 89
11:43:31.070 -> DATR 0 A2 0 5
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD D 8 89
11:43:31.070 -> DATW 5 A2
11:43:31.070 ->
11:43:31.070 -> CMD 83
11:43:31.070 -> DATW 0 A2 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.212 -> CMD 2
11:43:31.212 -> DATW 43 AC FF AC
11:43:31.212 ->
11:43:31.212 -> CMD C0
11:43:31.212 -> DATR 0 2C 0 2C
11:43:31.212 ->
11:43:31.212 -> CMD 80
11:43:31.212 -> DATW 0 AC
11:43:31.212 ->
11:43:31.212 -> CMD C0
11:43:31.212 -> DATR 0 22 0 22
11:43:31.212 ->
11:43:31.212 -> success!
11:43:31.212 -> [SX1262] Datarate: 565.04 bps
11:43:31.212 -> CMD 84
11:43:31.212 -> DATW 4 A2
11:43:31.212 ->
11:43:41.295 -> [SX1262] Transmitting packet ... CMD 80
11:43:41.295 -> DATW 0 0
11:43:41.295 ->
11:43:41.295 -> CMD 80
11:43:41.295 -> DATW 0 A0
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> Timeout in -8704 us
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 1D 7 36
11:43:41.295 -> DATR 0 A2 0 D
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD D 7 36
11:43:41.295 -> DATW D A2
11:43:41.295 ->
11:43:41.295 -> CMD 8C
11:43:41.295 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 8
11:43:41.295 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 8F
11:43:41.295 -> DATW 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD E 0
11:43:41.295 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 2
11:43:41.295 -> DATW 43 A2 FF A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 1D 8 89
11:43:41.295 -> DATR 0 A2 0 5
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD D 8 89
11:43:41.295 -> DATW 5 A2
11:43:41.295 ->
11:43:41.295 -> CMD 83
11:43:41.295 -> DATW 0 A2 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.484 -> CMD 2
11:43:41.484 -> DATW 43 AC FF AC
11:43:41.484 ->
11:43:41.484 -> CMD C0
11:43:41.484 -> DATR 0 2C 0 2C
11:43:41.484 ->
11:43:41.484 -> CMD 80
11:43:41.484 -> DATW 0 AC
11:43:41.484 ->
11:43:41.484 -> CMD C0
11:43:41.484 -> DATR 0 22 0 22
11:43:41.484 ->
11:43:41.484 -> success!
11:43:41.484 -> [SX1262] Datarate: 564.99 bps
11:43:41.484 -> CMD 84
11:43:41.484 -> DATW 4 A2
11:43:41.484 ->
…On Wed, May 3, 2023 at 10:52 AM Larry Plummer ***@***.***> wrote:
With no sleep and DEBUG and VERBOSE on, here is the output of one cycle:
10:48:19.232 -> [SX1262] Initializing ... CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 3 20
10:48:19.515 -> DATR 0 A2 0 53 0 58 0 31 0 32 0 36 0 31 0 20 0 56 0 32 0
44 0 20 0 32 0 44 0 30 0 32 0 0
10:48:19.515 ->
10:48:19.515 -> Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
10:48:19.515 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
10:48:19.515 ->
10:48:19.515 -> M SX126x
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 17
10:48:19.515 -> DATR 0 A2 0 0 0 0
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 97
10:48:19.515 -> DATW 0 A2 0 A2 1 A2 40 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8F
10:48:19.515 -> DATW 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8A
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 93
10:48:19.515 -> DATW 20 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 88
10:48:19.515 -> DATW 3 A2 16 A2 A A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 2
10:48:19.515 -> DATW 43 A2 FF A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8
10:48:19.515 -> DATW 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 89
10:48:19.515 -> DATW 7F A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 40
10:48:19.515 -> DATW 14 A2 24 A2
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 96
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 E7
10:48:19.515 -> DATW 18 A2
10:48:19.515 ->
10:48:19.515 -> CMD 9D
10:48:19.515 -> DATW 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Symbol length: 4719 ms
10:48:19.515 -> CMD 8B
10:48:19.515 -> DATW 9 A2 4 A2 3 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 98
10:48:19.515 -> DATW 6B A2 6F A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 86
10:48:19.515 -> DATW 1B A2 20 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 D8
10:48:19.515 -> DATR 0 A2 0 DE
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 D8
10:48:19.515 -> DATW DE A2
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 E7
10:48:19.515 -> DATR 0 A2 0 18
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 95
10:48:19.515 -> DATW 4 A2 7 A2 0 A2 1 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8E
10:48:19.515 -> DATW A A2 4 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 E7
10:48:19.515 -> DATW 18 A2
10:48:19.515 ->
10:48:19.515 -> success!
10:48:19.515 -> [SX1262] Transmitting packet ... CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 80
10:48:19.515 -> DATW 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> Timeout in -8704 us
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 7 36
10:48:19.515 -> DATR 0 A2 0 D
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 7 36
10:48:19.515 -> DATW D A2
10:48:19.515 ->
10:48:19.515 -> CMD 8C
10:48:19.515 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8
10:48:19.515 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 8F
10:48:19.515 -> DATW 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD E 0
10:48:19.515 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 2
10:48:19.515 -> DATW 43 A2 FF A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 1D 8 89
10:48:19.515 -> DATR 0 A2 0 4
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD 11
10:48:19.515 -> DATR 0 A2 0 1
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.515 -> CMD D 8 89
10:48:19.515 -> DATW 4 A2
10:48:19.515 ->
10:48:19.515 -> CMD 83
10:48:19.515 -> DATW 0 A2 0 A2 0 A2
10:48:19.515 ->
10:48:19.515 -> CMD C0
10:48:19.515 -> DATR 0 22 0 22
10:48:19.515 ->
10:48:19.752 -> CMD 2
10:48:19.752 -> DATW 43 A2 FF A2
10:48:19.752 ->
10:48:19.752 -> CMD C0
10:48:19.752 -> DATR 0 22 0 22
10:48:19.752 ->
10:48:19.752 -> CMD 80
10:48:19.752 -> DATW 0 A2
10:48:19.752 ->
10:48:19.752 -> CMD C0
10:48:19.752 -> DATR 0 22 0 22
10:48:19.752 ->
10:48:19.752 -> timeout!
On Wed, May 3, 2023 at 9:50 AM Larry Plummer ***@***.***> wrote:
> I am up for helping anyway I can. Let me know if you have ideas or code
> to test.
>
> On Wed, May 3, 2023 at 9:06 AM Jan Gromeš ***@***.***>
> wrote:
>
>> OK, let me know if the issue pops up again, I'd like to get to the
>> bottom of this.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#740 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ABRDHTWGRC4L5KTLHJIPKK3XEJ665ANCNFSM6AAAAAAXSMKP74>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
I mentioned earlier that my transmitter is very simple so that I can
minimize current draw during sleep - UNO DIP chip, crystal, 2 caps, SX1262
module, and 2 AAA batteries. I tried different UNO chips to make sure the
issue was not the CPU. That caused me to focus on the radio module.
By doing some timing measurements using the CPU millis() timer versus
external oscilloscope, I determined that the CPU was running at about 4 MHz
instead of 16 MHz.
I replaced the bad crystal and all boards with radios from two sources
running on two bands are working as expected.
…On Wed, May 3, 2023 at 11:47 AM Larry Plummer ***@***.***> wrote:
Please disregard the previous info. Sleep was off while standby was on.
Here are results from sleep and standby on with no debug or verbose.
Seems to fail on alternate attempts.
11:38:42.478 -> [SX1262] Initializing ... success!
11:38:42.478 -> [SX1262] Transmitting packet ... timeout!
11:38:52.777 -> [SX1262] Transmitting packet ... failed, code -2
11:39:02.756 -> [SX1262] Transmitting packet ... success!
11:39:02.931 -> [SX1262] Datarate: 550.19 bps
11:39:12.932 -> [SX1262] Transmitting packet ... failed, code -2
11:39:22.934 -> [SX1262] Transmitting packet ... success!
11:39:23.111 -> [SX1262] Datarate: 550.17 bps
11:39:33.093 -> [SX1262] Transmitting packet ... failed, code -2
11:39:43.115 -> [SX1262] Transmitting packet ... success!
11:39:43.305 -> [SX1262] Datarate: 550.18 bps
11:39:53.286 -> [SX1262] Transmitting packet ... failed, code -2
11:40:03.295 -> [SX1262] Transmitting packet ... success!
11:40:03.484 -> [SX1262] Datarate: 550.17 bps
11:40:13.465 -> [SX1262] Transmitting packet ... failed, code -2
With DEBUG and VERBOSE on (sleep and standby still on), seems to always
work. I am guessing that debug changes timing.
11:43:20.802 -> [SX1262] Initializing ... CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 3 20
11:43:20.802 -> DATR 0 A2 0 53 0 58 0 31 0 32 0 36 0 31 0 20 0 56 0 32 0
44 0 20 0 32 0 44 0 30 0 32 0 0
11:43:20.802 ->
11:43:20.802 -> Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
11:43:20.802 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
SX1261 V2D 2D02.
11:43:20.802 ->
11:43:20.802 -> M SX126x
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 17
11:43:20.802 -> DATR 0 A2 0 0 0 20
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 7
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 97
11:43:20.802 -> DATW 0 A2 0 A2 1 A2 40 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8F
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8A
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 93
11:43:20.802 -> DATW 20 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 88
11:43:20.802 -> DATW 3 A2 16 A2 A A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 2
11:43:20.802 -> DATW 43 A2 FF A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8
11:43:20.802 -> DATW 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 89
11:43:20.802 -> DATW 7F A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 42 0 42
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 C2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 A2 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 6 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 40
11:43:20.802 -> DATW 14 A2 24 A2
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 96
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 E7
11:43:20.802 -> DATW 18 A2
11:43:20.802 ->
11:43:20.802 -> CMD 9D
11:43:20.802 -> DATW 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 6 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Symbol length: 4719 ms
11:43:20.802 -> CMD 8B
11:43:20.802 -> DATW 9 A2 4 A2 3 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 98
11:43:20.802 -> DATW 6B A2 6F A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 86
11:43:20.802 -> DATW 1B A2 20 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 D8
11:43:20.802 -> DATR 0 A2 0 FE
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 D8
11:43:20.802 -> DATW FE A2
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 E7
11:43:20.802 -> DATR 0 A2 0 18
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 95
11:43:20.802 -> DATW 4 A2 7 A2 0 A2 1 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8E
11:43:20.802 -> DATW A A2 4 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 E7
11:43:20.802 -> DATW 18 A2
11:43:20.802 ->
11:43:20.802 -> success!
11:43:20.802 -> [SX1262] Transmitting packet ... CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 80
11:43:20.802 -> DATW 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> Timeout in -8704 us
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 7 36
11:43:20.802 -> DATR 0 A2 0 D
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 7 36
11:43:20.802 -> DATW D A2
11:43:20.802 ->
11:43:20.802 -> CMD 8C
11:43:20.802 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8
11:43:20.802 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 8F
11:43:20.802 -> DATW 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD E 0
11:43:20.802 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 2
11:43:20.802 -> DATW 43 A2 FF A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 1D 8 89
11:43:20.802 -> DATR 0 A2 0 4
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD 11
11:43:20.802 -> DATR 0 A2 0 1
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.802 -> CMD D 8 89
11:43:20.802 -> DATW 4 A2
11:43:20.802 ->
11:43:20.802 -> CMD 83
11:43:20.802 -> DATW 0 A2 0 A2 0 A2
11:43:20.802 ->
11:43:20.802 -> CMD C0
11:43:20.802 -> DATR 0 22 0 22
11:43:20.802 ->
11:43:20.988 -> CMD 2
11:43:20.988 -> DATW 43 AC FF AC
11:43:20.988 ->
11:43:20.988 -> CMD C0
11:43:20.988 -> DATR 0 2C 0 2C
11:43:20.988 ->
11:43:20.988 -> CMD 80
11:43:20.988 -> DATW 0 AC
11:43:20.988 ->
11:43:20.988 -> CMD C0
11:43:20.988 -> DATR 0 22 0 22
11:43:20.988 ->
11:43:20.988 -> success!
11:43:20.988 -> [SX1262] Datarate: 564.67 bps
11:43:20.988 -> CMD 84
11:43:20.988 -> DATW 4 A2
11:43:20.988 ->
11:43:31.070 -> [SX1262] Transmitting packet ... CMD 80
11:43:31.070 -> DATW 0 0
11:43:31.070 ->
11:43:31.070 -> CMD 80
11:43:31.070 -> DATW 0 A0
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> Timeout in -8704 us
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 1D 7 36
11:43:31.070 -> DATR 0 A2 0 D
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD D 7 36
11:43:31.070 -> DATW D A2
11:43:31.070 ->
11:43:31.070 -> CMD 8C
11:43:31.070 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 8
11:43:31.070 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 8F
11:43:31.070 -> DATW 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD E 0
11:43:31.070 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 2
11:43:31.070 -> DATW 43 A2 FF A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 1D 8 89
11:43:31.070 -> DATR 0 A2 0 5
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD 11
11:43:31.070 -> DATR 0 A2 0 1
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.070 -> CMD D 8 89
11:43:31.070 -> DATW 5 A2
11:43:31.070 ->
11:43:31.070 -> CMD 83
11:43:31.070 -> DATW 0 A2 0 A2 0 A2
11:43:31.070 ->
11:43:31.070 -> CMD C0
11:43:31.070 -> DATR 0 22 0 22
11:43:31.070 ->
11:43:31.212 -> CMD 2
11:43:31.212 -> DATW 43 AC FF AC
11:43:31.212 ->
11:43:31.212 -> CMD C0
11:43:31.212 -> DATR 0 2C 0 2C
11:43:31.212 ->
11:43:31.212 -> CMD 80
11:43:31.212 -> DATW 0 AC
11:43:31.212 ->
11:43:31.212 -> CMD C0
11:43:31.212 -> DATR 0 22 0 22
11:43:31.212 ->
11:43:31.212 -> success!
11:43:31.212 -> [SX1262] Datarate: 565.04 bps
11:43:31.212 -> CMD 84
11:43:31.212 -> DATW 4 A2
11:43:31.212 ->
11:43:41.295 -> [SX1262] Transmitting packet ... CMD 80
11:43:41.295 -> DATW 0 0
11:43:41.295 ->
11:43:41.295 -> CMD 80
11:43:41.295 -> DATW 0 A0
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> Timeout in -8704 us
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 1D 7 36
11:43:41.295 -> DATR 0 A2 0 D
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD D 7 36
11:43:41.295 -> DATW D A2
11:43:41.295 ->
11:43:41.295 -> CMD 8C
11:43:41.295 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 8
11:43:41.295 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 8F
11:43:41.295 -> DATW 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD E 0
11:43:41.295 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72 A2
6C A2 64 A2 21 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 2
11:43:41.295 -> DATW 43 A2 FF A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 1D 8 89
11:43:41.295 -> DATR 0 A2 0 5
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD 11
11:43:41.295 -> DATR 0 A2 0 1
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.295 -> CMD D 8 89
11:43:41.295 -> DATW 5 A2
11:43:41.295 ->
11:43:41.295 -> CMD 83
11:43:41.295 -> DATW 0 A2 0 A2 0 A2
11:43:41.295 ->
11:43:41.295 -> CMD C0
11:43:41.295 -> DATR 0 22 0 22
11:43:41.295 ->
11:43:41.484 -> CMD 2
11:43:41.484 -> DATW 43 AC FF AC
11:43:41.484 ->
11:43:41.484 -> CMD C0
11:43:41.484 -> DATR 0 2C 0 2C
11:43:41.484 ->
11:43:41.484 -> CMD 80
11:43:41.484 -> DATW 0 AC
11:43:41.484 ->
11:43:41.484 -> CMD C0
11:43:41.484 -> DATR 0 22 0 22
11:43:41.484 ->
11:43:41.484 -> success!
11:43:41.484 -> [SX1262] Datarate: 564.99 bps
11:43:41.484 -> CMD 84
11:43:41.484 -> DATW 4 A2
11:43:41.484 ->
On Wed, May 3, 2023 at 10:52 AM Larry Plummer ***@***.***>
wrote:
> With no sleep and DEBUG and VERBOSE on, here is the output of one cycle:
>
> 10:48:19.232 -> [SX1262] Initializing ... CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 3 20
> 10:48:19.515 -> DATR 0 A2 0 53 0 58 0 31 0 32 0 36 0 31 0 20 0 56 0 32 0
> 44 0 20 0 32 0 44 0 30 0 32 0 0
> 10:48:19.515 ->
> 10:48:19.515 -> Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
> 10:48:19.515 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 |
> SX1261 V2D 2D02.
> 10:48:19.515 ->
> 10:48:19.515 -> M SX126x
> 10:48:19.515 -> CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 17
> 10:48:19.515 -> DATR 0 A2 0 0 0 0
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 97
> 10:48:19.515 -> DATW 0 A2 0 A2 1 A2 40 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8F
> 10:48:19.515 -> DATW 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8A
> 10:48:19.515 -> DATW 1 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 93
> 10:48:19.515 -> DATW 20 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 88
> 10:48:19.515 -> DATW 3 A2 16 A2 A A2 0 A2 0 A2 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 2
> 10:48:19.515 -> DATW 43 A2 FF A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8
> 10:48:19.515 -> DATW 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 89
> 10:48:19.515 -> DATW 7F A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> Symbol length: 4719 ms
> 10:48:19.515 -> CMD 8B
> 10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 7 40
> 10:48:19.515 -> DATW 14 A2 24 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 7 36
> 10:48:19.515 -> DATR 0 A2 0 D
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 7 36
> 10:48:19.515 -> DATW D A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8C
> 10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 96
> 10:48:19.515 -> DATW 1 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 8 E7
> 10:48:19.515 -> DATW 18 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 9D
> 10:48:19.515 -> DATW 1 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 7 36
> 10:48:19.515 -> DATR 0 A2 0 D
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 7 36
> 10:48:19.515 -> DATW D A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8C
> 10:48:19.515 -> DATW 0 A2 8 A2 0 A2 FF A2 1 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> Symbol length: 4719 ms
> 10:48:19.515 -> CMD 8B
> 10:48:19.515 -> DATW 9 A2 6 A2 3 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> Symbol length: 4719 ms
> 10:48:19.515 -> CMD 8B
> 10:48:19.515 -> DATW 9 A2 4 A2 3 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 98
> 10:48:19.515 -> DATW 6B A2 6F A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 86
> 10:48:19.515 -> DATW 1B A2 20 A2 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 8 D8
> 10:48:19.515 -> DATR 0 A2 0 DE
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 8 D8
> 10:48:19.515 -> DATW DE A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 8 E7
> 10:48:19.515 -> DATR 0 A2 0 18
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 95
> 10:48:19.515 -> DATW 4 A2 7 A2 0 A2 1 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8E
> 10:48:19.515 -> DATW A A2 4 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 8 E7
> 10:48:19.515 -> DATW 18 A2
> 10:48:19.515 ->
> 10:48:19.515 -> success!
> 10:48:19.515 -> [SX1262] Transmitting packet ... CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 80
> 10:48:19.515 -> DATW 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> Timeout in -8704 us
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 7 36
> 10:48:19.515 -> DATR 0 A2 0 D
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 7 36
> 10:48:19.515 -> DATW D A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8C
> 10:48:19.515 -> DATW 0 A2 8 A2 0 A2 C A2 1 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8
> 10:48:19.515 -> DATW 2 A2 1 A2 0 A2 1 A2 0 A2 0 A2 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 8F
> 10:48:19.515 -> DATW 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD E 0
> 10:48:19.515 -> DATW 48 A2 65 A2 6C A2 6C A2 6F A2 20 A2 57 A2 6F A2 72
> A2 6C A2 64 A2 21 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 2
> 10:48:19.515 -> DATW 43 A2 FF A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 1D 8 89
> 10:48:19.515 -> DATR 0 A2 0 4
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 11
> 10:48:19.515 -> DATR 0 A2 0 1
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.515 -> CMD D 8 89
> 10:48:19.515 -> DATW 4 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD 83
> 10:48:19.515 -> DATW 0 A2 0 A2 0 A2
> 10:48:19.515 ->
> 10:48:19.515 -> CMD C0
> 10:48:19.515 -> DATR 0 22 0 22
> 10:48:19.515 ->
> 10:48:19.752 -> CMD 2
> 10:48:19.752 -> DATW 43 A2 FF A2
> 10:48:19.752 ->
> 10:48:19.752 -> CMD C0
> 10:48:19.752 -> DATR 0 22 0 22
> 10:48:19.752 ->
> 10:48:19.752 -> CMD 80
> 10:48:19.752 -> DATW 0 A2
> 10:48:19.752 ->
> 10:48:19.752 -> CMD C0
> 10:48:19.752 -> DATR 0 22 0 22
> 10:48:19.752 ->
> 10:48:19.752 -> timeout!
>
> On Wed, May 3, 2023 at 9:50 AM Larry Plummer ***@***.***>
> wrote:
>
>> I am up for helping anyway I can. Let me know if you have ideas or code
>> to test.
>>
>> On Wed, May 3, 2023 at 9:06 AM Jan Gromeš ***@***.***>
>> wrote:
>>
>>> OK, let me know if the issue pops up again, I'd like to get to the
>>> bottom of this.
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#740 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/ABRDHTWGRC4L5KTLHJIPKK3XEJ665ANCNFSM6AAAAAAXSMKP74>
>>> .
>>> You are receiving this because you authored the thread.Message ID:
>>> ***@***.***>
>>>
>>
|
Thanks for letting me know - to be honest, I'm rather surprised it was working at all at that frequency, because the default SPI frequency is 2 MHz. |
I may not have been correct with the 4 MHz statement. It may have been
intermittent. I am glad that one is resolved.
…On Thu, May 4, 2023 at 10:01 AM Jan Gromeš ***@***.***> wrote:
the CPU was running at about 4 MHz instead of 16 MHz
Thanks for letting me know - to be honest, I'm rather surprised it was
working at all at that frequency, because the default SPI frequency is 2
MHz.
—
Reply to this email directly, view it on GitHub
<#740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRDHTSX7VXZZLM4VQXWLHTXEPOHPANCNFSM6AAAAAAXSMKP74>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
My board is very simple - Arduino UNO chip and crystal with no regulator or serial interrace - battery powered. I made two changes to your transmit example without interrupts: pin assignments to match my board and serial baud rate changed to 115200.
I turned on debug and compiled your blocking SX1262 transmit example. Here are the results from that:
18:03:36.088 -> [SX1262] Initializing ... Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
18:03:36.088 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 | SX1261 V2D 2D02.
18:03:36.088 ->
18:03:36.088 -> M SX126x
18:03:36.088 -> Symbol length: 4719 ms
18:03:36.136 -> Symbol length: 4719 ms
18:03:36.136 -> Symbol length: 4719 ms
18:03:36.136 -> success!
18:03:36.136 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:03:36.278 -> success!
18:03:36.278 -> [SX1262] Datarate: 567.64 bps
18:03:37.273 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:03:37.462 -> success!
18:03:37.462 -> [SX1262] Datarate: 567.64 bps
18:03:38.455 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:03:38.643 -> success!
18:03:38.643 -> [SX1262] Datarate: 567.64 bps
18:03:39.633 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:03:39.822 -> success!
18:03:39.822 -> [SX1262] Datarate: 567.64 bps
18:03:40.811 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:03:40.999 -> success!
I then inserted a radio.sleep() just before the one second delay.
} else {
// some other error occurred
Serial.print(F("failed, code "));
Serial.println(state);
}
radio.sleep();
// wait for a second before transmitting again
delay(1000);
}
Here are the results of that:
18:09:34.496 -> [SX1262] Initializing ... Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
18:09:34.496 -> 0000320 53 58 31 32 36 31 20 56 32 44 20 32 44 30 32 00 | SX1261 V2D 2D02.
18:09:34.496 ->
18:09:34.496 -> M SX126x
18:09:34.496 -> Symbol length: 4719 ms
18:09:34.544 -> Symbol length: 4719 ms
18:09:34.544 -> Symbol length: 4719 ms
18:09:34.544 -> success!
18:09:34.544 -> [SX1262] Transmitting packet ... Timeout in -8704 us
18:09:34.686 -> success!
18:09:34.686 -> [SX1262] Datarate: 567.70 bps
18:09:35.711 -> [SX1262] Transmitting packet ... Timed out waiting for GPIO pin, is it connected?
18:09:36.714 -> failed, code -705
18:09:37.708 -> [SX1262] Transmitting packet ... Timed out waiting for GPIO pin, is it connected?
18:09:38.694 -> failed, code -705
18:09:39.723 -> [SX1262] Transmitting packet ... Timed out waiting for GPIO pin, is it connected?
18:09:40.703 -> failed, code -705
The first transmission before the first sleep works correctly. Subsequent transmission fail.
The text was updated successfully, but these errors were encountered: