soc: arm: ti_simplelink: cc13x2x7_cc26x2x7: add caparray delta config
- Make caparray delta a Kconfig variable - Set caparray delta for beagle_bcf at beagleconnect_freedom_defconfig Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com> Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
This commit is contained in:
parent
27fe62c33f
commit
26f30db8ad
3 changed files with 11 additions and 1 deletions
|
@ -25,3 +25,6 @@ CONFIG_HW_STACK_PROTECTION=y
|
|||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
||||
# Adjust for oscillator capacitors
|
||||
CONFIG_CC13X2_CC26X2_XOSC_CAPARRAY_DELTA=0x02
|
||||
|
|
|
@ -65,4 +65,11 @@ config CC13X2_CC26X2_BOOTLOADER_BACKDOOR_LEVEL
|
|||
help
|
||||
Set the active level of the pin selected for the bootloader backdoor.
|
||||
|
||||
config CC13X2_CC26X2_XOSC_CAPARRAY_DELTA
|
||||
hex "Cap array tuning delta"
|
||||
range 0 0xFF
|
||||
default 0xD5
|
||||
help
|
||||
Enable a specific cap array tunning delta.
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.20.00.29/exports/release_notes_simplelink_cc13xx_cc26xx_sdk_6_20_00_29.html#known-issues
|
||||
*/
|
||||
#define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x0
|
||||
#define SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA 0xD5
|
||||
#define SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA CONFIG_CC13X2_CC26X2_XOSC_CAPARRAY_DELTA
|
||||
#endif
|
||||
|
||||
/* TI recommends setting CCFG values and then including the TI provided ccfg.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue