Semtech SX126X Driver in MBED

Boo2
Sun, 11 Apr 2021 16:34:40 +0000
Mbed OS

Hi,

I see from GitHub at https://github.com/ARMmbed/mbed-os/tree/master/connectivity/drivers/lora/COMPONENT_SX126X that there is a driver in the tree for the Semtech SX126x devices now. I am working on such a project and tried to build it but find that there are problems with mbed_app.json lines like "target.components_add": ["SX126X"],
in that I get errors referencing

use of undeclared identifier 'MBED_CONF_SX126X_LORA_DRIVER_FREQ_SEL
and similar for MBED_CONF_SX126X_LORA_DRIVER_DEV_SEL and MBED_CONF_SX126X_LORA_DRIVER_XTAL_SEL

I see these relate to

PinName freq_select,
PinName device_select,
PinName crystal_select,

in …COMPONENT_SX126X/SX126X_LoRaRadio.h and …COMPONENT_SX126X/SX126X_LoRaRadio.h in the Github directory above but they do not correspond to pins in the Semtech SX1261/2 data sheet on the Semtech website available as a download here: https://www.semtech.com/products/wireless-rf/lora-transceivers/sx1262

Can anyone tell me what is up with this driver and what the pins are that re referenced in the driver but not in the SX126x devices ?

Many thanks,

2 posts - 2 participants