Skip to content
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

[Bug]: RAK11300 radio not detected #2296

Closed
D4rk4 opened this issue Feb 21, 2023 · 8 comments · Fixed by #2299
Closed

[Bug]: RAK11300 radio not detected #2296

D4rk4 opened this issue Feb 21, 2023 · 8 comments · Fixed by #2299
Labels
enhancement New feature or request hardware-support Add hardware support for new devices or modules

Comments

@D4rk4
Copy link
Contributor

D4rk4 commented Feb 21, 2023

Category

Hardware Compatibility

Hardware

Other

Firmware Version

2.0.20

Description

The device has not booted up.

Relevant log output

INFO  | ??:??:?? 3 Power output set to 22
SPI::beginTransaction(clk=4000000, bo=MSB
                                         SPI: Reusing existing initted SPI
                                                                          SPI::transfer(0d), cpol=0, cpha=0
                                                                                                           SPI: read back 00
                                                                                                                            SPI::transfer(08), cpol=0, cpha=0
                                                                                                                                                             SPI: read back 00
 SPI::transfer(e7), cpol=0, cpha=0
                                  SPI: read back 00
                                                   SPI::transfer(38), cpol=0, cpha=0
                                                                                    SPI: read back 00
                                                                                                     SPI::endTransaction()
                                                                                                                          DEBUG | ??:??:?? 3 Current limit set to 140.000000
DEBUG | ??:??:?? 3 Current limit set result -2
SPI::beginTransaction(clk=4000000, bo=MSB
                                         SPI: Reusing existing initted SPI
                                                                          SPI::transfer(1d), cpol=0, cpha=0
                                                                                                           SPI: read back 00
                                                                                                                            SPI::transfer(08), cpol=0, cpha=0
                                                                                                                                                             SPI: read back 00
 SPI::transfer(ac), cpol=0, cpha=0
                                  SPI: read back 00
                                                   SPI::transfer(00), cpol=0, cpha=0
                                                                                    SPI: read back 00
                                                                                                     SPI::endTransaction()
                                                                                                                          INFO  | ??:??:?? 3 Set Rx Power Saving Gain mode; result: 65534
WARN  | ??:??:?? 3 Failed to find SX1262 radio
ERROR | ??:??:?? 3 NOTE! Recording critical error 3 at src/main.cpp:513
@D4rk4 D4rk4 added the bug Something isn't working label Feb 21, 2023
@thebentern
Copy link
Contributor

Is this new or does it occur on previous releases. Also which base board?

@D4rk4
Copy link
Contributor Author

D4rk4 commented Feb 22, 2023

As I know RAK11300 is never working, the baseboard is RAK4631-mPCIe.R.1.0 (dummy core board with USB over mPCIe). I guess we need a dedicated variant for RAK11300.

P.S. RAK11300 not booting at all on RAK19003 base board =)

@caveman99
Copy link
Member

RAK11300 is the RP2040+SX1262 core. The RP2040 is actually starting up?

@D4rk4
Copy link
Contributor Author

D4rk4 commented Feb 22, 2023

@caveman99 yes it's starting, but halted on SX1262 initialization. Look like an SPI issue or wrong pins?

@caveman99
Copy link
Member

caveman99 commented Feb 22, 2023

Probably. the pico definition is for a Raspberry Pico with Waveshare SX1262 shield. This needs a new target for sure.

@caveman99 caveman99 linked a pull request Feb 22, 2023 that will close this issue
@garthvh garthvh added hardware-support Add hardware support for new devices or modules enhancement New feature or request and removed bug Something isn't working labels Feb 25, 2023
@caveman99
Copy link
Member

please reopen if this is still an issue with current master - we pulled in an Radiolib init fix today.

@thebentern
Copy link
Contributor

Still not initializing, sadly
INFO | ??:??:?? 10 SX126x init result -2 WARN | ??:??:?? 10 Failed to find SX1262 radio ERROR | ??:??:?? 10 NOTE! Recording critical error 3 at src/main.cpp:635 INFO | ??:??:?? 10 PowerFSM init, USB power=1 INFO | ??:??:?? 10 Enter state: BOOT

@thebentern thebentern reopened this Apr 2, 2023
@thebentern
Copy link
Contributor

Closed by #2299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hardware-support Add hardware support for new devices or modules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants