Skip to content

Conversation

@damien0x0023
Copy link
Collaborator

This is a draft Pull Request to check the new working branch to bring up a new SoC TL3238x.

This new branch was from develop_v3.3.
It changes our existing repository architecture and has different submodules from develop_v3.3:

ble sdk - https://github.com/telink-semi/tl_ble_sdk - zephyr/tl3238x branch

hal_telink - https://github.com/telink-semi/hal_telink - develop_tl3238x brach

We need to investigate how to merge it back to develop_v3.3 and ensure a smooth transition.

Those changes also need to be applied to the develop branch (zephyr v4.1) later.

damien0x0023 and others added 30 commits June 23, 2025 10:54
Create new board tl322x based on existing tlx boards architecture.
This is a draft as the led starts to flash in blinky sample.
However, the uart does not output logging so pinctrl may be incorrect.

Signed-off-by: Damien Ji <[email protected]>
- blinky sample: 4 LEDs work
- blinky_pwm sample:  prints correctly but LEDs cannot work

Signed-off-by: Hao Wu <[email protected]>
- zephyr button sample: pass
- adapt gpio driver
- modify tl322x interrupts number
- add PORT I

Signed-off-by: Hao Wu <[email protected]>
- zephyr spi_flash sample: pass

Signed-off-by: Hao Wu <[email protected]>
- zephyr adc sample: pass

Signed-off-by: Hao Wu <[email protected]>
- update start.S
- soc.c has already updated by Damien before

Signed-off-by: Hao Wu <[email protected]>
- zephyr blinky_pwm sample: pass

Signed-off-by: Hao Wu <[email protected]>
	- update start.S to initialize dual-core RAM config.
	- modify default CCLK as 64M.
	- init N22 core in soc_tlx_init.
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
- use platform APIs uart_set_pin and i2c_set_pin instead of pinctrl_apply_state
- add TELINK_TL322X_ENABLE_N22 and set default value to n
- update tl_ble_src/sdk revision in west.yml

Signed-off-by: Damien Ji <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
- rename entropy file (b9x -> tlx)
- add tl322x.conf/overlay for CLI and RCP
- add n22 init before RF init.

Signed-off-by: Zhenghuan Zhang <[email protected]>
- add usb_dc_tl322x.c
- increase power supply to 1.1V for 96MHz and 192MHz
- modify USB0 configurations in DTS

Signed-off-by: Zehan Zheng <[email protected]>
- Utilize malloc() for allocating IN data buffers to each endpoint
- Place the USB ISR function in the RAM code section for faster execution
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
chong.song and others added 26 commits November 7, 2025 21:49
Signed-off-by: Zehan Zheng <[email protected]>
Signed-off-by: Zehan Zheng <[email protected]>
repo: tl_ble_src
branch: develop
commit id: 40ec1d8da08d78c06f2c008919fb67f16dc123f2

Signed-off-by: Zhihan Tao <[email protected]>
- Increment frame counter on each frame sending instead of each
frame acknowledgement.
- After switching RF to RX state, add a delay to get a valid RSSI.
- Keep RF in RX state during CCA—don’t reset the radio module.

Signed-off-by: Zhenghuan Zhang <[email protected]>
- after add pvd module, 96m can works well.

Signed-off-by: Haiwen Xia <[email protected]>
- fix UART issue on TL323X and remove the workaround.

Signed-off-by: Hao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
- change the retention_data_ble to dlm.

Signed-off-by: Haiwen Xia <[email protected]>
- this feature is not complete, only support for central modes, but peripheral modes is not enabled.

Signed-off-by: Zhihan Tao <[email protected]>
Signed-off-by: Zhihan Tao <[email protected]>
- change the commit id for hal,sdk and bootloader.
- del ble src part.

Signed-off-by: Haiwen Xia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants