Skip to content

Commit

Permalink
enable HFXO settings
Browse files Browse the repository at this point in the history
  • Loading branch information
darkxst committed Nov 2, 2024
1 parent 51b4c29 commit c65e75c
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 4 deletions.
3 changes: 3 additions & 0 deletions manifests/aeotec/zga008_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: gpioPortA
SL_UARTDRV_USART_VCOM_RTS_PIN: 4

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO
2 changes: 2 additions & 0 deletions manifests/easyiot/zb-gw04-1v1_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: 0
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

2 changes: 2 additions & 0 deletions manifests/easyiot/zb-gw04-1v1_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: 0
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

2 changes: 2 additions & 0 deletions manifests/easyiot/zb-gw04-1v2_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: gpioPortD
SL_UARTDRV_USART_VCOM_RTS_PIN: 4

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

9 changes: 6 additions & 3 deletions manifests/easyiot/zb-gw04-1v2_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ gbl:

configuration:
SL_ZIGBEE_CHILD_TABLE_SIZE: 32
SL_DEVICE_INIT_HFXO_CTUNE: 128
SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts

c_defines:
SL_ZIGBEE_APS_UNICAST_MESSAGE_COUNT: 32
Expand All @@ -24,6 +21,8 @@ c_defines:
SL_ZIGBEE_MAX_END_DEVICE_CHILDREN: 32
SL_ZIGBEE_SOURCE_ROUTE_TABLE_SIZE: 200

SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts
SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0
SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0

Expand All @@ -39,3 +38,7 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: gpioPortD
SL_IOSTREAM_USART_VCOM_RTS_PIN: 4

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

4 changes: 3 additions & 1 deletion manifests/smlight/slzb06m_opentread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: 0
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_CTUNE: 80
SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 80
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO
2 changes: 2 additions & 0 deletions manifests/smlight/slzb06m_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: 0
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 80
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

4 changes: 4 additions & 0 deletions manifests/smlight/slzb07Mg24_opentread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: gpioPortB
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

4 changes: 4 additions & 0 deletions manifests/smlight/slzb07Mg24_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: gpioPortB
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

3 changes: 3 additions & 0 deletions manifests/smlight/slzb07_opentread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: gpioPortB
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO
3 changes: 3 additions & 0 deletions manifests/smlight/slzb07_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: gpioPortB
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO
2 changes: 2 additions & 0 deletions manifests/sonoff/zbdonglee_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: 0
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

2 changes: 2 additions & 0 deletions manifests/sonoff/zbdonglee_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: 0
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 128
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

3 changes: 3 additions & 0 deletions manifests/sparkfun/mgm240p_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ c_defines:
SL_UARTDRV_USART_VCOM_RTS_PORT: 0
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO
3 changes: 3 additions & 0 deletions manifests/sparkfun/mgm240p_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ c_defines:
SL_IOSTREAM_USART_VCOM_RTS_PORT: 0
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

0 comments on commit c65e75c

Please sign in to comment.