background image

   

TXZ Family

 

Comparator 

 

 

2017-10-11

 

14  /  14

 

Rev.  1.0 

RESTRICTIONS ON PRODUCT USE 

Toshiba Corporation and its subsidiaries and affiliates are collectively referred to as “TOSHIBA”. 

Hardware, software and systems described in this document are collectively referred to as “Product”. 

  TOSHIBA reserves the right to make changes to the information in this document and related Product without notice. 

  This document and any information herein may not be reproduced without prior written permission from TOSHIBA. Even with TOSHIBA's 

written permission, reproduction is permissible only if reproduction is without alteration/omission. 

  Though TOSHIBA works continually to improve Product's quality and reliability, Product can malfunction or fail. Customers are responsible 

for complying with safety standards and for providing adequate designs and safeguards for their hardware, software and systems which 

minimize risk and avoid situations in which a malfunction or failure of Product could cause loss of human life, bodily injury or damage to 

property, including data loss or corruption. 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" and (b) the instructions for the application with which the Product 

will be used with or for. Customers are solely responsible for all aspects of their own product design or applications, including but not limited 

to (a) determining the appropriateness of the use of this Product in such design or applications; (b) evaluating and determining the 

applicability of any information contained in this document, or in charts, diagrams, programs, algorithms, sample application circuits, or any 

other referenced documents; and (c) validating all operating parameters for such designs and applications. 

TOSHIBA ASSUMES NO 

LIABILITY FOR CUSTOMERS' PRODUCT DESIGN OR APPLICATIONS.

 

 

PRODUCT IS NEITHER INTENDED NOR WARRANTED FOR USE IN EQUIPMENTS OR SYSTEMS THAT REQUIRE 
EXTRAORDINARILY HIGH LEVELS OF QUALITY AND/OR RELIABILITY, AND/OR A MALFUNCTION OR FAILURE OF WHICH MAY 
CAUSE LOSS OF HUMAN LIFE, BODILY INJURY, SERIOUS PROPERTY DAMAGE AND/OR SERIOUS PUBLIC IMPACT 
(

"

UNINTENDED USE

"

).

 Except for specific applications as expressly stated in this document, Unintended Use includes, without limitation, 

equipment used in nuclear facilities, equipment used in the aerospace industry, medical equipment, equipment used for automobiles, trains, 

ships and other transportation, traffic signaling equipment, equipment used to control combustions or explosions, safety devices, elevators 

and escalators, devices related to electric power, and equipment used in finance-related fields. 

IF YOU USE PRODUCT FOR UNINTENDED 

USE, TOSHIBA ASSUMES NO LIABILITY FOR PRODUCT. 

For details, please contact your TOSHIBA sales representative. 

  Do not disassemble, analyze, reverse-engineer, alter, modify, translate or copy Product, whether in whole or in part. 

  Product shall not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any 

applicable laws or regulations. 

  The information contained herein is presented only as guidance for Product use. No responsibility is assumed by TOSHIBA for any 

infringement of patents or any other intellectual property rights of third parties that may result from the use of Product. No license to any 

intellectual property right is granted by this document, whether express or implied, by estoppel or otherwise. 

 

ABSENT A WRITTEN SIGNED AGREEMENT, EXCEPT AS PROVIDED IN THE RELEVANT TERMS AND CONDITIONS OF SALE FOR 
PRODUCT, AND TO THE MAXIMUM EXTENT ALLOWABLE BY LAW, TOSHIBA (1) ASSUMES NO LIABILITY WHATSOEVER, 
INCLUDING WITHOUT LIMITATION, INDIRECT, CONSEQUENTIAL, SPECIAL, OR INCIDENTAL DAMAGES OR LOSS, INCLUDING 
WITHOUT LIMITATION, LOSS OF PROFITS, LOSS OF OPPORTUNITIES, BUSINESS INTERRUPTION AND LOSS OF DATA, AND (2) 
DISCLAIMS ANY AND ALL EXPRESS OR IMPLIED WARRANTIES AND CONDITIONS RELATED TO SALE, USE OF PRODUCT, OR 
INFORMATION, INCLUDING WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
ACCURACY OF INFORMATION, OR NONINFRINGEMENT. 

  Do not use or otherwise make available Product or related software or technology for any military purposes, including without limitation, for 

the design, development, use, stockpiling or manufacturing of nuclear, chemical, or biological weapons or missile technology products (mass 

destruction weapons). Product and related software and technology may be controlled under the applicable export laws and regulations 

including, without limitation, the Japanese Foreign Exchange and Foreign Trade Law and the U.S. Export Administration Regulations. Export 

and re-export of Product or related software or technology are strictly prohibited except in compliance with all applicable export laws and 

regulations. 

  Please contact your TOSHIBA sales representative for details as to environmental matters such as the RoHS compatibility of Product. Please 

use Product in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including 

without limitation, the EU RoHS Directive. 

TOSHIBA ASSUMES NO LIABILITY FOR DAMAGES OR LOSSES OCCURRING AS A RESULT 

OF NONCOMPLIANCE WITH APPLICABLE LAWS AND REGULATIONS.

 

 

 

 

 

 

 

 

 

 

 
 

Summary of Contents for TXZ Family

Page 1: ...TXZ Family Comparator 2017 10 11 1 14 Rev 1 0 2017 Toshiba Electronic Devices Storage Corporation 2017 10 32 bit RISC Microcontroller TXZ Family Reference Manual Comparator COMP B Revision 1 0 ...

Page 2: ...ption 9 3 3 1 Clock supply 9 3 2 Operation 9 3 3 Example for use 10 4 Registers 11 4 1 Register List 11 4 2 Detail of Comparator Register 12 CMPCR Comparator Control Register 12 4 2 1 4 3 Detail of Digital to Analog Converter Registers 12 DA0CR Control Register 12 4 3 1 DA0REG Converted Value Setting Register 12 4 3 2 5 Revision History 13 RESTRICTIONS ON PRODUCT USE 14 ...

Page 3: ...14 Rev 1 0 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: ...17 10 11 4 14 Rev 1 0 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 ...

Page 5: ... T32A1RUNA T32A2RUNA T32AxRUNA The bit range of a register is written like as m n Example Bit 3 0 expresses the range of bit 3 to 0 The configuration value of a register is expressed by either the hexadecimal number or the binary number Example ABCD EFG 0x01 hexadecimal XYZn VW 1 binary Word and Byte represent the following bit length Byte 8 bits Half word 16 bits Word 32 bits Double word 64 bits ...

Page 6: ...Technology Inc Super Flash is registered trademark of Silicon Storage Technology Inc All other company names product names and service names mentioned herein may be trademarks of their respective companies Arm Cortex and Thumb are registered trademarks of Arm Limited or its subsidiaries in the US and or elsewhere All rights reserved ...

Page 7: ...14 Rev 1 0 Terms and Abbreviations Some of abbreviations used in this document are as follows ADC Analog to Digital Converter A PMD Advanced Programmable Motor Control Circuit COMP Comparator DAC Digital to Analog Converter EMG Emergency ...

Page 8: ...NC from AINA00 or AINA01 with reference voltage VREFC channel 0 of built in 8 bit digital to analog converter DAC output A comparative result COMP output is outputted to the EMG input of A PMD A PMD ADC Selector DAC0 CMPCR DAC channel 0 AINA00 AINA01 COMP output EMG DA0CR DA0REG LPF R 35kΩ C 1pF EMG VINC VREFC Figure 2 1 Configuration of Comparator and Outside circuits Table 2 1 Signal List No Sym...

Page 9: ...C0 output Clear 0 to DA0CR EN then DAC channel 0 stops operation and the output of DAC0 becomes Hi z Please stop the comparator before stopping DAC channel 0 Please refer to 8 bit Digital to Analog Converter of the reference manual for detail 2 Select voltage to compare and compare with reference voltage Select input voltage to compare by CMPCR CMPISEL Next set 1 to CMPCR CMPEN then the comparator...

Page 10: ... DVDD5A DVDD5B AVDD5 5V DVSSA DVSSB AVSS 0V DAC VREFH 5V VREFL 0V DAC accuracy 1LSB Table 3 1 Setting example Calculation value Reference voltage V DAC channel 0 setting value Detection voltage DAC 7 0 Voltage V Min V Max V 0 5 00011010 0 508 0 466 0 533 0 8 00101001 0 801 0 759 0 826 1 0 00110100 1 016 0 974 1 040 Formula of detecting voltage V Max DAC channel 0 setting voltage 19 8mV 5mV V Min D...

Page 11: ...nit Base address Comparator COMP 0x400BC100 Register name Address Base Comparator Control Register CMPCR 0x0000 The control register and address of DAC0 are as follows Function name Channel Unit Base address 8 bit Digital to Analog Converter DAC ch0 0x40054000 Register Name Address Base Control Register DA0CR 0x0000 Converted Value Setting Register DA0REG 0x0004 ...

Page 12: ... 3 Detail of Digital to Analog Converter Registers DA0CR Control Register 4 3 1 Bit Bit Symbol After Reset Type Function 31 1 0 R Read as 0 0 EN 0 R W DAC operation 0 Stop 1 Operating DA0REG Converted Value Setting Register 4 3 2 Bit Bit Symbol After Reset Type Function 31 8 0 R Read as 0 7 0 DAC 7 0 0x00 R W Converted value setting Digital value corresponding to the analog output voltage value is...

Page 13: ...TXZ Family Comparator 2017 10 11 13 14 Rev 1 0 5 Revision History Table 5 1 Revision History Revision Date Description 1 0 2017 10 11 First release ...

Page 14: ...al equipment equipment used for automobiles trains ships and other transportation traffic signaling equipment equipment used to control combustions or explosions safety devices elevators and escalators devices related to electric power and equipment used in finance related fields IF YOU USE PRODUCT FOR UNINTENDED USE TOSHIBA ASSUMES NO LIABILITY FOR PRODUCT For details please contact your TOSHIBA ...

Reviews: