Table Of Contents - Toshiba TXZ Series Reference Manual

32-bit risc microcontroller advanced encoder input circuit (32-bit)
Hide thumbs Also See for TXZ Series:
Table of Contents

Advertisement

Preface ................................................................................................................................................................. 5
Related Documents .................................................................................................................................................. 5
Conventions .............................................................................................................................................................. 6
Terms and Abbreviation ............................................................................................................................................ 8
1.
Outlines ......................................................................................................................................................... 9
2.
Configuration ............................................................................................................................................... 10
3.
Function and Operation .............................................................................................................................. 11
3.1. Clock Supply .................................................................................................................................................... 11
3.2. Operation Mode ............................................................................................................................................... 11
3.2.1. Encoder Mode ............................................................................................................................................................ 12
3.2.2. Sensor Mode .............................................................................................................................................................. 15
3.2.2.1. Event Counter ............................................................................................................................................................... 15
3.2.2.2. Timer Count .................................................................................................................................................................. 17
3.2.2.3. Phase Count ................................................................................................................................................................. 19
3.2.3. Timer Mode ................................................................................................................................................................ 21
3.2.4. Phase Counter Mode .................................................................................................................................................. 23
3.2.4.1. Phase Measurement ..................................................................................................................................................... 23
3.2.4.2. Phase Difference Measurement .................................................................................................................................... 25
3.3. Function Outline of Each Circuit ...................................................................................................................... 26
3.3.1. Input Circuit ................................................................................................................................................................ 26
3.3.1.1. Sample Clock ................................................................................................................................................................ 27
3.3.1.2. Sampling Mode ............................................................................................................................................................. 27
3.3.1.3. Noise Cancellation ........................................................................................................................................................ 28
3.3.2. Decoder ...................................................................................................................................................................... 30
3.3.2.1. Rotation Edge Detection and Direction Signal Generation ............................................................................................ 31
3.3.2.2. Z Judgment Circuit ........................................................................................................................................................ 32
3.3.2.3. Skip Judgment and Abnormal Input Judgment .............................................................................................................. 33
3.3.2.4. Edge Detection Error Judgment .................................................................................................................................... 33
3.3.2.5. Buffer Update Control .................................................................................................................................................... 34
3.3.2.6. BEMF Detection Control ................................................................................................................................................ 34
3.3.3. Counter ....................................................................................................................................................................... 35
3.3.3.1. Encoder Mode and Sensor Mode (Event Count) ........................................................................................................... 35
3.3.3.2. Sensor Mode (Timer Count) and Timer Mode ............................................................................................................... 36
3.3.3.3. Sensor Mode (Phase Count) and Phase Counter Mode ................................................................................................ 37
3.3.4. Interrupt Control .......................................................................................................................................................... 38
4.
Registers ..................................................................................................................................................... 39
4.1. List of Registers ............................................................................................................................................... 39
4.2. Details of Registers .......................................................................................................................................... 40
4.2.1. [ENxTNCR] (ENC Control Register) ........................................................................................................................... 40
4.2.2. [ENxRELOAD] (RELOAD Comparison Register) ....................................................................................................... 44
4.2.3. [ENxINT] (INT Comparison Register) ......................................................................................................................... 44
4.2.4. [ENxCNT] (Counter Register) ..................................................................................................................................... 45
2018-10-11
Advanced Encoder Input Circuit(32-bit)
Contents
2 / 55
TXZ Family
Rev. 1.1

Advertisement

Table of Contents
loading

Table of Contents