How to manage the TCXO in a custom board (EFR32BG21) #1082
-
Hello, I have a custom board with the EFR32BG21 and I have a working code running with my port of this stack. I'm using the sx1262 radio. However, my board has a variant with a TCXO and I don't know exactly how to manage this crystal. In the example of the B-L072Z-LRWAN1 board, there are these implementations in order to use the TCXO in sx1276 that probably can be used with sx1262. By the way, I would like to manage the TCXO with a pin in my MCU, not DIO3.
So that, probably I need to call |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The TCXO management takes place at radio driver. The easiest and recommended way to manage the TCXO using a SX126x radio is to let the radio do it automatically. As you want to use a MCU pin to perform this task you can take inspiration from the B-L072Z-LRWAN1 platform and sx1276 driver. The TCXO must be disabled after sending sleep operation mode command to the radio. In order to achieve this goal the only files that require to be changed are:
In the future it would be nice if you could post this kind of questions on the project Discussions tab. It is a better place to engage discussions and then we can agree if it is an issue or not. |
Beta Was this translation helpful? Give feedback.
The TCXO management takes place at radio driver.
The easiest and recommended way to manage the TCXO using a SX126x radio is to let the radio do it automatically.
Please look at
sx1262mbxdas-board.c
file in order to see how it is done.As you want to use a MCU pin to perform this task you can take inspiration from the B-L072Z-LRWAN1 platform and sx1276 driver.
The TCXO must be disabled after sending sleep operation mode command to the radio.
The TCXO must be enabled before sending any other operation mode command to the radio.
In order to achieve this goal the only files that require to be changed are:
sx126x-board.c
sx126x.c
In the future it would be nice if you could post this kind of …