-
Notifications
You must be signed in to change notification settings - Fork 17
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
Facing Error: RA01S: SPI Transaction error:10 #2
Comments
If you enable this, you will get more information. https://github.com/nopnop2002/esp-idf-sx126x/blob/main/basic/main/main.c#L123
SyncWord is the correct value. The wiring seems to be correct. The wire cable may be too long. |
Thanks for the quick reply. I have enabled LoRaDebugPrint, now I am getting following logs: I (375) RA01S: spi_bus_initialize=0 |
The frequency is different between RA-01S and RS-01SH. This is my log Perhaps your wire cable is too long
|
Thanks for giving your logs for comparison and timely replies. |
SX1262 has several options.
You need to look at the schematic to set these options properly, but it's very esoteric.
Is the schematic published? |
I want to see the schematic inside the LoRa1262F30
|
For schematics and additional references, can you please refer following link: LoRa126XF30 2W High Power Wireless Transceiver Module V2.1.pdf |
I saw Product Spec. If tcxoVoltage is set to a value other than 0, TCXO will be used, but I don't know what value is appropriate. If useRegulatorLDO is set to true, DC_DC+LDO used for STBY_XOSC,FS, RX and TX modes.
|
Do you have a solution to this problem? |
No. I don't know the proper value for tcxoVoltage. If you know the appropriate value of tcxoVoltage of your Lora module, it will work.
|
OK, thank you very much for your reply |
I am using tried using ESP32-WROOM-32D and ESP32-C3-13 devices with LoRa1262 chipset. I am facing RA01S: SPI Transaction error:10. Please let me know if I am missing anything.
Following logs printed on COM port:
entry 0x40080694
I (26) boot: ESP-IDF v4.4-dirty 2nd stage bootloader
I (26) boot: compile time 01:07:15
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed : 40MHz
I (41) boot.esp32: SPI Mode : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (74) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00100000
I (89) boot: End of partition table
I (93) boot_comm: chip revision: 1, min. application chip revision: 0
I (100) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=0a394h ( 41876) map
I (124) esp_image: segment 1: paddr=0001a3bc vaddr=3ffb0000 size=02494h ( 9364) load
I (128) esp_image: segment 2: paddr=0001c858 vaddr=40080000 size=037c0h ( 14272) load
I (136) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=196c0h (104128) map
I (176) esp_image: segment 4: paddr=000396e8 vaddr=400837c0 size=09070h ( 36976) load
I (192) esp_image: segment 5: paddr=00042760 vaddr=50000000 size=00010h ( 16) load
I (198) boot: Loaded app from partition at offset 0x10000
I (198) boot: Disabling RNG early entropy source...
I (212) cpu_start: Pro cpu up.
I (212) cpu_start: Starting app cpu, entry point is 0x4008109c
0x4008109c: call_start_cpu1 at C:/Users/Pravin/esp/esp-idf/components/esp_system/port/cpu_start.c:156
I (0) cpu_start: App cpu up.
I (226) cpu_start: Pro cpu start user code
I (226) cpu_start: cpu freq: 160000000
I (226) cpu_start: Application information:
I (230) cpu_start: Project name: lora
I (235) cpu_start: App version: 1
I (240) cpu_start: Compile time: Apr 14 2022 01:06:41
I (246) cpu_start: ELF file SHA256: d7058e82e5363bb4...
I (252) cpu_start: ESP-IDF: v4.4-dirty
I (257) heap_init: Initializing. RAM available for dynamic allocation:
I (264) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (270) heap_init: At 3FFB2DD8 len 0002D228 (180 KiB): DRAM
I (276) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (283) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (289) heap_init: At 4008C830 len 000137D0 (77 KiB): IRAM
I (297) spi_flash: detected chip: generic
I (300) spi_flash: flash io: dio
I (305) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (315) main: Frequency is 433MHz
I (315) RA01S: CONFIG_MISO_GPIO=12
I (325) RA01S: CONFIG_MOSI_GPIO=13
I (325) RA01S: CONFIG_SCLK_GPIO=15
I (335) RA01S: CONFIG_NSS_GPIO=14
I (335) RA01S: CONFIG_RST_GPIO=33
I (335) RA01S: CONFIG_BUSY_GPIO=17
I (345) RA01S: CONFIG_TXEN_GPIO=-1
I (345) RA01S: CONFIG_RXEN_GPIO=-1
I (355) gpio: GPIO[14]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (365) gpio: GPIO[33]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (375) gpio: GPIO[17]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (375) RA01S: spi_bus_initialize=0
I (385) RA01S: spi_bus_add_device=0
I (1425) RA01S: Reset
I (3425) RA01S: syncWord=0x1424
I (3425) RA01S: SX126x installed
E (5425) RA01S: SPI Transaction error:10
The text was updated successfully, but these errors were encountered: