nopnop2002/esp-idf-sx126x

E (456) RA01S: SetRx Illegal Status

niubbbbbbbb opened this issue · 6 comments

Hello, how to solve this problem.

Do you play telegram or wechat? Can you add your friends to discuss it?

Do you play telegram or wechat?

No
I can't speek English.

😂😂All right.My English is not good either

I think the log is not disabled. I'll show you my log. Please analyze it. I think it may be that I regret an error value after writing the command
image

0x86 is Set the RF frequency of the radio.
Are you using my example code?

You may be using the wrong frequency.

RA-01S is 410-525Mhz.
RA-01SH is 803-930Mhz.

This is my example log.
RA-01S does not use TXEN and RXEN.

I (0) cpu_start: Starting scheduler on APP CPU.
I (332) main: Frequency is 433MHz -------------------------> not in your log
I (332) RA01S: CONFIG_MISO_GPIO=19
I (342) RA01S: CONFIG_MOSI_GPIO=23
I (342) RA01S: CONFIG_SCLK_GPIO=18
I (352) RA01S: CONFIG_NSS_GPIO=15
I (352) RA01S: CONFIG_RST_GPIO=16
I (352) RA01S: CONFIG_BUSY_GPIO=17
I (362) RA01S: CONFIG_TXEN_GPIO=-1 ---------------------> not use
I (362) RA01S: CONFIG_RXEN_GPIO=-1 ---------------------> not use

Check the FrequencyInHz you are using.

ESP_LOGI(TAG, "frequencyInHz=%d", frequencyInHz);
int ret = LoRaBegin(frequencyInHz, txPowerInDbm, tcxoVoltage, useRegulatorLDO);