E (456) RA01S: SetRx Illegal Status
niubbbbbbbb opened this issue · 6 comments
niubbbbbbbb commented
Hello, how to solve this problem.
nopnop2002 commented
enable LoRaDebugPrint.
niubbbbbbbb commented
Do you play telegram or wechat? Can you add your friends to discuss it?
nopnop2002 commented
Do you play telegram or wechat?
No
I can't speek English.
niubbbbbbbb commented
😂😂All right.My English is not good either
niubbbbbbbb commented
nopnop2002 commented
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);