Toshiba TXZ Family Reference Manual

Toshiba TXZ Family Reference Manual

32-bit risc microcontroller txz family reference manual comparator (comp-b)

Advertisement

Quick Links

TXZ Family
Comparator
32-bit RISC Microcontroller
TXZ Family
Reference Manual
Comparator
(COMP-B)
Revision 1.0
2017-10
1 / 14
2017-10-11
Rev.1.0
© 2017
Toshiba Electronic Devices & Storage Corporation

Advertisement

Table of Contents
loading

Summary of Contents for Toshiba TXZ Family

  • Page 1 TXZ Family Comparator 32-bit RISC Microcontroller TXZ Family Reference Manual Comparator (COMP-B) Revision 1.0 2017-10 1 / 14 2017-10-11 Rev.1.0 © 2017 Toshiba Electronic Devices & Storage Corporation...
  • Page 2 TXZ Family Comparator Contents Preface ................................4 Related document ..............................4 Conventions ................................5 Terms and Abbreviations ............................7 Outline ................................ 8 Configuration .............................. 8 Operation description ..........................9 3.1. Clock supply ............................... 9 3.2. Operation ................................9 3.3. Example for use ............................... 10 Registers ..............................
  • Page 3 TXZ Family Comparator List of Figures Figure 2.1 Configuration of Comparator and Outside circuits ..............8 List of Tables Table 1.1 Comparator Functions ......................8 Table 2.1 Signal List ..........................8 Table 3.1 Setting example (Calculation value) ..................10 Table 5.1 Revision History ........................13...
  • Page 4: Preface

    TXZ Family Comparator Preface Related document Document name Clock Control and Operation Mode 8-bit Digital to Analog Converter Advanced Programmable Motor Control Circuit 12-bit Analog to Digital Converter Product Information 4 / 14 2017-10-11 Rev. 1.0...
  • Page 5: Conventions

    TXZ Family Comparator Conventions ● Numeric formats follow the rules as shown below: Hexadecimal: 0xABC Decimal: 123 or 0d123 – Only when it needs to be explicitly shown that they are decimal numbers. Binary: 0b111 – It is possible to omit the “0b” when the number of bit can be distinctly understood from a sentence.
  • Page 6 TXZ Family Comparator ********************************************************************************************* Arm, Cortex and Thumb are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. ********************************************************************************************* This flash memory uses the Super Flash® technology under the license of Silicon Storage Technology, Inc.
  • Page 7: Terms And Abbreviations

    TXZ Family Comparator Terms and Abbreviations Some of abbreviations used in this document are as follows: Analog to Digital Converter A-PMD Advanced Programmable Motor Control Circuit COMP Comparator Digital to Analog Converter Emergency 7 / 14 2017-10-11 Rev. 1.0...
  • Page 8: Outline

    TXZ Family Comparator 1. Outline A comparator (COMP) compares analog input voltage (AINA00 or AINA01) with reference voltage, and outputs the result to EMG input on Advanced Programmable Control Circuit(A-PMD). Table 1.1 Comparator Functions Function Function A Functional Description or the range...
  • Page 9: Operation Description

    TXZ Family Comparator Operation description 3.1. Clock supply When you use COMP, please set an applicable clock enable bit to "1" (clock supply) in fsys supply stop register A ([CGFSYSENA], [CGFSYSMENA]), fsys supply stop register B ([CGFSYSENB], [CGFSYSMENB]), and fc supply stop registers ([CGFCEN]).
  • Page 10: Example For Use

    TXZ Family Comparator 3.3. Example for use The table below shows an example of detection voltage setting when the input signal voltage is about 0V in normal condition and 1.5V when abnormality is detected. Condition: DVDD5A=DVDD5B=AVDD5=5V, DVSSA=DVSSB=AVSS=0V DAC: VREFH=5V,VREFL=0V, DAC accuracy ±1LSB Table 3.1 Setting example (Calculation value)
  • Page 11: Registers

    TXZ Family Comparator 4. Registers 4.1. Register List The control register and address of a comparator is as follows. Function name Channel/Unit Base address Comparator COMP 0x400BC100 Register name Address(Base+) Comparator Control Register 0x0000 [CMPCR] The control register and address of DAC0 are as follows.
  • Page 12: Detail Of Comparator Register

    TXZ Family Comparator 4.2. Detail of Comparator Register 4.2.1. [CMPCR] (Comparator Control Register) Bit Symbol After reset Type Function 31:2 Read as "0" Selection of analog input CMPISEL 0: AIN00 1: AIN01 COMP operation CMPEN 0: Stop 1: Operating 4.3. Detail of Digital to Analog Converter Registers 4.3.1.
  • Page 13: Revision History

    TXZ Family Comparator 5. Revision History Table 5.1 Revision History Revision Date Description 2017-10-11 First release 13 / 14 2017-10-11 Rev. 1.0...
  • Page 14: Restrictions On Product Use

    Before customers use the Product, create designs including the Product, or incorporate the Product into their own applications, customers must also refer to and comply with (a) the latest versions of all relevant TOSHIBA information, including without limitation, this document, the specifications, the data sheets and application notes for Product and the precautions and conditions set forth in the "TOSHIBA Semiconductor Reliability Handbook"...

Table of Contents