Transcription of Datasheet for Telink BLE SoC TLSR8232
1 Datasheet for Telink BLE SoC TLSR8232 DS- TLSR8232 -E6 Ver 2022/1/4 2016/1/29 Telink SEMICONDUCTOR Keyword: BLE; ; Memory; MCU; Wakeup sources; RF Transceiver; Baseband; Clock; Timers; Interrupt; Interface; PWM; QDEC; ADC; PGA; AES Brief: This Datasheet is dedicated for Telink BLE SoC TLSR8232 . In this Datasheet , key features, working mode, main modules, electrical specification and application of the TLSR8232 are introduced. Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 1 Published by Telink Semiconductor Bldg 3, 1500 Zuchongzhi Rd, Zhangjiang Hi-Tech Park, Shanghai, China Telink Semiconductor All Rights Reserved Legal Disclaimer Telink Semiconductor reserves the right to make changes without further notice to any products herein to improve reliability, function or design.
2 Telink Semiconductor disclaims any and all liability for any errors, inaccuracies or incompleteness contained herein or in any other disclosure relating to any product. Telink Semiconductor does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights, nor the rights of others The products shown herein are not designed for use in medical, life-saving, or life-sustaining applications. Customers using or selling Telink Semiconductor products not expressly indicated for use in such applications do so entirely at their own risk and agree to fully indemnify Telink Semiconductor for any damages arising or resulting from such use or sale.
3 Information: For further information on the technology, product and business term, please contact Telink Semiconductor company ( ). For sales or technical support, please send email to the address of: Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 2 Revision History Version Major Changes Date Author Preliminary release 2017/12 , , , L .W. F. , , , , Cynthia Updated the following sections: System Timer, Register configuration and Register table (removed QDEC interrupt and System Timer interrupt), GPIO lookup table (notes), Pull-up/Pull-down resistor, I2C and SPI Usage, 10 SAR ADC.
4 Added section 15 . 2018/2 , , , , X . , Cynthia Updated the sections below: 10 SAR ADC, 12 Temperature Sensor, 15 Reference Design. Modified Accuracy in Modified Rx sensitivity and Tx power in Modified receiver mode current in 2019/3 YCQ, LX, SY, LW F, Cynthia, YH Update the section below: 2020/8 TH W,Y H Remove firmware encryption. 2021/8 LC Remove TLSR8232F128ET32 due to EOL. 2021/1 LC Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 3 1 Table of contents 1 Overview .. 9 Block diagram .. 9 Key features .. 10 General features.
5 10 RF Features .. 11 Features of power management module .. 11 Flash features .. 11 Typical application .. 12 Ordering information .. 12 Package .. 12 Pin layout .. 15 Pin layout for TLSR8232F512ET32 .. 15 Pin layout for TLSR8232F512/F128ET24 .. 18 Notes .. 20 2 Memory and MCU .. 21 Memory .. 21 SRAM/Register .. 21 Flash .. 21 MCU .. 21 Working 22 Active mode .. 22 Idle mode .. 22 Power-saving mode .. 22 Reset .. 24 Power Management .. 25 Power-On-Reset (POR) and Brown- out detect .. 25 Working mode switch .. 28 LDO and DCDC .. 29 Wakeup sources .. 29 Wakeup source 32K timer.
6 30 Wakeup source IO .. 30 Register table .. 30 3 RF Transceiver .. 32 Block diagram .. 32 Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 4 Function description .. 32 Air interface data rate and RF channel frequency .. 32 Baseband .. 32 Packet format .. 33 RSSI and frequency offset .. 33 4 Clock .. 34 Clock sources .. 34 System clock .. 35 Module clock .. 35 System Timer clock .. 35 QDEC clock .. 35 Register table .. 36 5 Timers .. 38 Timer0~Timer2 .. 38 Register table .. 38 Mode0 (System Clock Mode) .. 39 Mode1 (GPIO Trigger Mode).
7 39 Mode2 (GPIO Pulse Width Mode) .. 40 Mode3 (Tick Mode) .. 41 Watchdog .. 41 32kHz LTIMER .. 42 System Timer .. 42 6 Interrupt System .. 44 Interrupt structure .. 44 Register configuration .. 44 Enable/Mask interrupt sources .. 45 Interrupt mode and priority .. 45 Interrupt source flag .. 46 7 Interface .. 47 GPIO .. 47 Basic configuration .. 47 Connection relationship between GPIO and related modules .. 51 Pull-up/Pull-down resistor .. 54 SWS .. 57 I2C .. 57 Communication protocol .. 57 Register table .. 58 Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 5 I2C Slave mode.
8 59 I2C Master mode .. 60 I2C and SPI Usage .. 61 SPI .. 62 Register table .. 62 SPI Master mode .. 62 SPI Slave mode .. 63 I2C and SPI Usage .. 64 UART .. 65 8 PWM .. 68 Register table .. 68 Enable PWM .. 71 Set PWM clock .. 71 PWM waveform, polarity and output inversion .. 71 Waveform of signal frame .. 72 Invert PWM output .. 72 Polarity for signal frame .. 72 PWM mode .. 73 Select PWM mode .. 73 Continuous mode .. 73 Counting mode .. 74 IR mode .. 74 IR FIFO mode .. 75 IR DMA FIFO mode .. 76 PWM interrupt .. 80 9 Quadrature Decoder .. 81 Input pin selection .. 81 Common mode and double accuracy mode.
9 81 Read real time counting value .. 83 QDEC reset .. 84 Other configuration .. 84 Timing sequence .. 85 Register table .. 86 10 SAR ADC .. 87 Power on/down .. 87 ADC clock .. 87 ADC control in auto mode .. 88 Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 6 Set max state and enable 88 Set state .. 88 Capture state .. 89 Usage cases .. 90 Register table .. 96 11 PGA .. 101 Power on/down .. 102 Select input channel .. 102 Adjust gain .. 102 Enable/Disable PGA output .. 102 Load digital register 0x3c .. 102 Register table.
10 103 12 Temperature Sensor .. 104 13 AES .. 106 RISC mode .. 106 AES-CCM .. 106 Register table .. 107 14 Key Electrical Specifications .. 108 Absolute maximum ratings .. 108 Recommended operating condition .. 108 DC characteristics .. 109 15 Reference Design .. 113 Application example .. 113 Reference Schematic .. 113 BOM (Bill of Material) .. 114 Datasheet for Telink TLSR8232 DS- TLSR8232 -E6 7 2 Table of figures Figure 1- 1 Block diagram of the system .. 9 Figure 1- 2 Package dimension for the TLSR8232F512ET32 (Unit: mm) .. 13 Figure 1- 3 Package dimension for TLSR8232F512/F128ET24 (Unit: mm).