-
Notifications
You must be signed in to change notification settings - Fork 3k
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
SX126X Select Pins #14726
Comments
Can you make a pull request with configuration enabling these settings to be changed ? How would you extend the mbed_lib.json file. The current version has this there:
|
@0xc0170 - I have been using an implementation where I have:
then use these in #if statements around get_frequency_support, get_device_variant and the __crystal_select.is_connected() && _crystal_select == 0 check but I will put these together as a pull request. Since _freq_select and _dev_select are AnalogIn I had to wrap these as DigitalIn as well as leaving these NC was throwing errors. |
Closed/reopened to retrigger the github action for issue handling. |
Description of defect
The SX126X driver makes use of device, frequency and crystal select pins. These are present in the EVB but not in any target using a SX126X module directly. There should be an option to set the device, frequency or crystal configuration in macros, or the library split into separate modules for each device variant.
Target(s) affected by this defect ?
Any target wanting to use a SX126X module.
Toolchain(s) (name and version) displaying this defect ?
Any.
What version of Mbed-os are you using (tag or sha) ?
mbed-os-99.99.99
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.10.5
How is this defect reproduced ?
Use the SX126X library on a target other than the EVB board without dedicating additional pins for config selection.
The text was updated successfully, but these errors were encountered: