Microcontroller Programming for 3E Digital Products UMA NIBH VITAE DIAM Volumpat Wisi

Total Page:16

File Type:pdf, Size:1020Kb

Microcontroller Programming for 3E Digital Products UMA NIBH VITAE DIAM Volumpat Wisi Application Note 304 Flex Power Modules Microcontroller Programming for 3E Digital Products UMA NIBH VITAE DIAM volumpat wisi Introduction Flex’s 3E Digital products are designed with state-of-the- Abstract art digital controllers. This provides the user with superior electrical performance and a broad capability to configure, control and monitor the products in the engineering lab, in The 3E Digital products can be configured, controlled the factory, and in the field. This capability is provided by the and monitored through a digital serial interface use of the open-standard PMBus™ digital power using the PMBus™ power management protocol. management protocol. This application note provides an introduction to the The PMBus protocol was created by the System serial bus interface of the 3E Digital products and Management Interface Forum (SMIF) and Power accessing the 3E products using a general purpose Management Bus (PMBus) Implementers Forum to microcontroller. This application note is not a detailed standardize communication with a wide range of power tutorial on the PMBus power management protocol. conversion devices. The resulting PMBus standard is It is recommended that you study the SMBus and written in two parts. The first, “Specification Part I – General PMBus specification documents before attempting Requirements Transport and Electrical Interface”, specifies to access a 3E product via the serial bus interface. the transport including the physical layer, addressing, and packet structure. The second, “Specification Part II – While it is possible to write firmware for the Command Language”, specifies the command language microcontroller that creates a serial bus by “bit to be used when communicating with PMBus compliant banging” general purpose I/O pins, this is not devices. The PMBus specifications are freely available at recommended. It is highly recommended that the the PMBus Web site, user choose a microcontroller that includes a hardware implementation of an I²C or SMBus http://www.pmbus.org interface. For such an interface, the programmer is generally only concerned with transferring data to In addition to the capabilities provided by the PMBus, Flex’s and from transmit and receive buffers and monitoring 3E POL regulators feature the Group Command Bus (GCB). The flags for the status of the data transmission. GCB is an inter-device communication bus that provides addition capabilities like digital current sharing and fault The details of working with a microcontroller’s I²C or propagation management. SMBus interface are dependent on the microcontroller being used and are not discussed in this application This document, to be used in conjunction with the PMBus note. This application note will assume that a specifications and the Technical Specifications for each micro-controller with a hardware I²C or SMBus product, describes how to interface a microcontroller based port is being used. system controller to the Flex 3E digital bus converters and regulators. The focus of this document is more on the issues involved in programming the microcontroller than in the details of the physical layer and bit-by-bit operation of the bus. Application Note 304 2 LZT 146 261 R1G ©Flex, Dec 2017 Contents Introduction 2 11 Bit Linear Format 15 Example 1: 11 Bit Linear Data To Be Written Forum Websites 4 To A PMBus Device 15 The System Management Interface Forum (SMIF) 4 Example 2: 11 Decoding 11 Bit Linear Data Power Management Bus Implementers Forum Received From A PMBUS Device 16 (PMBUS-IF) 4 Non-Numeric Data 16 PMBus – Power System Management Bus PMBus Commands On The Bus 17 Protocol Documents 4 Example PMBus Transaction 1: Specification Part I – General Requirements A Command With One Byte Of Data Transport And Electrical Interface 4 Written To A PMBus Device 17 Specification Part II – Command Language 4 Example PMBus Transaction 2: A Command That Reads Two Bytes Of Data From SMBus – System Management Bus Documents 4 A PMBus Device 18 System Management Bus Specification, Example PMBus Transaction 3: Version 20, August 3, 2000 4 A Command That Reads A Block Of Data From A PMBus Device 19 Applicability 5 Responding To A NACK From A PMBus Device 19 SMBus Basics 6 Packet Error Checking 20 SMBus Signals 6 SMBus Packet Error Checking 20 PHY Layer And Electrical Interface 6 Calculating The Checksum 20 Addressing 6 Checking PEC Support In A Slave Device 20 Transaction Basics 6 Writing Data With A PEC Byte 20 Bit And Bytes – The Data Link Layer 7 Reading Data With A PEC Byte 21 Bits And Data Validity 7 Using Packet Error Checking With A START, ACK, NACK and STOP Conditions 7 PMBus Device That Does Not Support NACK (Not Acknowledge) 8 Packet Error Checking 22 STOP Condition 8 Handling A Failed Checksum Comparison 22 Clock Stretching 9 Bus Timeout Limits 9 SALERT (SMBALERT#) Protocol 22 SMBus Data Transfer Protocols 10 Bit and Byte Order 10 Other PMBus Signals 24 WRITE BYTE Protocol Example 10 CTRL (PMBus CONTROL) 24 READ WORD Protocol Example 11 WP (Write Protect) 24 PMBus Data Formats 12 PMBus Variations From SMBus Specification 24 16 Bit Linear For Output Voltage Related Signals 24 Commands 12 Speed 24 Data Format For The 3E Digital POL Regulators 13 GROUP Protocol 24 Data Format 13 Example 1: Setting The Output Voltage 13 Summary 25 Example 2: Trimming The Output Voltage 13 Data Format For The 3E Digital Intermediate Reference Documents 26 Bus Converters 14 Flex Technical Specifications Data Format 14 For The Following Products: 26 Example 1: Setting The Output Voltage 14 Example 2: Trimming The Output Voltage 14 Appendix 1: Example PEC Checksum Calculation Code 26 Application Note 304 3 LZT 146 261 R1G ©Flex, Dec 2017 Forum Websites The System Management Interface Forum (SMIF) Power Management Bus Implementers Forum (PMBUS-IF) http://www.powersig.org/ http://pmbus.org/ The System Management Interface Forum (SMIF) supports the The PMBus-IF supports the advancement and early rapid advancement of an efficient and compatible adoption of the PMBus protocol for power management. This technology base that promotes power management and website offers recent PMBus specification documents, PMBus systems technology implementations. The SMIF provides a articles, as well as upcoming PMBus presentations and membership path for any company or individual to be seminars, PMBus Document Review Board (DRB) meeting active participants in any or all of the various working notes, and other PMBus related news. groups established by the implementer forums. PMBus – Power System Management Bus Protocol Documents These specification documents may be obtained from the Specification Part I – General Requirements Transport And PMBus-IF website described above. These are required Electrical Interface reading for complete understanding of the PMBus Includes the general requirements, defines the transport implementation. This application note will not re-address and electrical interface and timing requirements of all of the details contained within the two PMBus hardwired signals. Specification documents. Specification Part II – Command Language Describes the operation of commands, data formats, fault management and defines the command language used with the PMBus. SMBus – System Management Bus Documents System Management Bus Specification, Version 2.0, August specification is freely available from the System 3, 2000 Management Interface Forum Web site at: This specification specifies the version of the SMBus on which Revision 1.2 of the PMBus Specification is based. This http://www.smbus.org/specs/ Application Note 304 4 LZT 146 261 R1G ©Flex, Dec 2017 Applicability This document applies to all versions of the Most PMBus commands have the same data format and following products: effect for these products. However, there are some exceptions. For example, a command may be available for > BMR450 digital POL regulator the BMR450 and BMR451 products but not the BMR46x > BMR451 digital POL regulator products. In other cases the same command code may have different meanings and effects depending on the specific > BMR46x digital POL regulators model. The details of these differences are described in > BMR 453 digital intermediate bus converter AN302 PMBus Command Set and the technical > BMR 454 digital intermediate bus converter specification for each product. Application Note 304 5 LZT 146 261 R1G ©Flex, Dec 2017 SMBus Basics We start with an introduction to the SMBus because the fall times are one of the most common causes of unreliable PMBus protocol is based on SMBus Version 2. The PMBus bus operation. protocol does have some unique extensions to the SMBus interface that will be discussed later. Some microcontrollers offer the option of configuring the serial bus port for I²C or SMBus signal levels. If the The SMBus is a two wire serial bus with electrical microcontroller being used offers this option, configure the characteristics very similar to the I²C bus invented by serial bus pins for the SMBus signal levels. Philips. If you are familiar with using a microcontroller to manage I²C devices then you will have little difficulty Addressing accessing the 3E Digital products via the serial bus The SMBus specification, like the I²C specification, provides interface. for each device to have a seven bit physical address. Each device on the bus must have a unique address. It is left to For a detailed description of how the SMBus differs from the system engineer to assure that there are no address the I²C bus, including detailed electrical and timing conflicts. characteristics, please see Appendix B – Differences between SMBus and I²C of the SMBus Specification (Version The 3E products use resistors to program the bus address 2.0) of each device. The device address is not configurable through the serial bus interface. Consult the technical SMBus Signals specification for the 3E product being used for the details The SMBus has two required signal wires. SMBCLK is the on setting the device’s bus address.
Recommended publications
  • Humidity & Temperature Sensor
    Humidity & Temperature Sensor AM2322 Product Manuals product Features Super Mini Size Easy Protable Ultra-Low Power State Ultra-low voltage work Excellent long-term stability StandardI2C And single bus output 一、 Product Overview AM2322 The digital temperature and humidity sensor is a kind of temperature and humidity composite sensor with the output of calibrated digitalsignal.The special temperature and humidity collection technology is adopted to ensure the high reliability and long-term stability of the product.The sensor includes a capacitive sensing element and a high-precision integrated temperature measurement element, which is connected to a high- performance microprocessor.The product has high quality, super fast response, strong anti-interference ability and high cost performance. AM2322 communication mode adopts single bus, standard I squared C communication mode.Standard single bus interface makes system integration easy and fast.The super small volume, extremely low power consumption, the signal transmission distance can reach up to 20 meters, making it the best choice for all kinds of Two kinds of communication mode is used directly output after applications and even the most demanding applications.The I temperature compensation, humidity, temperature and the CRC squared C communication mode adopts standard communication check and other digital information, users need to secondary timing, and the user can be directly attached to the I squared C calculation of digital output, also need not to compensate the communication bus, with no additional wiring and simple use. temperature humidity, accurate temperature and humidity information can be got.The two modes of communication are free to switch, users are free to choose, easy to use, and should be widely used.The product is 4 lead wire and convenient connection.
    [Show full text]
  • Allgemeines Abkürzungsverzeichnis
    Allgemeines Abkürzungsverzeichnis L.
    [Show full text]
  • Dell EMC Poweredge T340 Technical Guide
    Dell EMC PowerEdge T340 Technical Guide Regulatory Model: E60S Regulatory Type: E60S001 Dec. 2020 Rev. A07 Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. © 2018 - 2020 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. 1 Product Overview Topics: • Introduction • New technologies Introduction The Dell EMC PowerEdge T340 is the reliable, easy to manage, and scalable 1-socket tower server for growing businesses and remote offices/ branch offices. New technologies The PowerEdge T340 equipped with Intel® Xeon® E-2100 and E-2200 product family processors support to help run applications faster and support for full-feature remote management (iDRAC9). The T340 is versatile enough to address many customer segments and workloads. Target workloads include ● Small and medium businesses and organizations: Collaboration/sharing productivity applications, databases, web serving, backup/recovery, and mail and messaging. ● ROBO: Applications and workloads specific to the particular industry, e.g. Retail, Healthcare, Finance, Education, etc. The following table shows the list of new technologies offered by the PowerEdge T340: New Technologies Detailed Descriptions Intel® C246 series chipset Please refer to the chipset section for details. Intel® Xeon® processor E- 2100 and E-2200 Product The Intel® processor that works with Intel® C246 series Family chipset.
    [Show full text]
  • 3. System Management Bus
    Input/Output Systems and Peripheral Devices 1 3. SYSTEM MANAGEMENT BUS This laboratory work presents the System Management Bus (SMBus). After an over- view of SMBus, bit and data transfers are described, the bus arbitration procedure is present- ed, the differences between SMBus and the I2C bus are highlighted, and several command protocols are detailed. Next, the Intel SMBus controller is presented, including its registers and commands, as well as its use with I2C devices. The applications aim to detect the devices connected to the computer’s SMBus, read the contents of SPD memories present in the sys- tem, and decode the contents of these memories. 3.1. Overview of SMBus System Management Bus (SMBus) is a simple serial bus with only two signal lines. This bus can be used for communication between various system devices and between these devices and the rest of a system. The operating principles of SMBus are similar to those of the I2C bus. There are, however, several differences between the two buses, differences which will be presented later. SMBus represents a control bus for system management and power management op- erations. A system may use the SMBus to transfer messages to and from various devices in- stead of using individual control lines, which allows to reduce pin count and interconnection wires. A device may use the SMBus to provide manufacturer information, provide the device model number, report different types of errors, accept control parameters, and return the de- vice status. SMBus was initially proposed by Intel as a link between an intelligent battery, a charger for the battery and a microcontroller that communicates with the rest of the system.
    [Show full text]
  • Tms320f28004x Microcontrollers Datasheet (Rev. F)
    TMS320F280049, TMS320F280049C, TMS320F280048, TMS320F280048C, TMS320F280045, TMS320F280049, TMS320F280049C,TMS320F280041, TMS320F280041C, TMS320F280048, TMS320F280048C,TMS320F280040, TMS320F280040C TMS320F280045, www.ti.com TMS320F280041, TMS320F280041C,SPRS945F –TMS320F280040, JANUARY 2017 – REVISED TMS320F280040C FEBRUARY 2021 SPRS945F – JANUARY 2017 – REVISED FEBRUARY 2021 TMS320F28004x Microcontrollers 1 Features – Embedded Real-time Analysis and Diagnostic (ERAD) • TMS320C28x 32-bit CPU • Communications peripherals – 100 MHz – One Power-Management Bus (PMBus) – IEEE 754 single-precision Floating-Point Unit interface (FPU) – One Inter-integrated Circuit (I2C) interface – Trigonometric Math Unit (TMU) (pin-bootable) • 3×-cycle to 4×-cycle improvement for – Two Controller Area Network (CAN) bus ports common trigonometric functions versus (pin-bootable) software libraries – Two Serial Peripheral Interface (SPI) ports • 13-cycle Park transform (pin-bootable) – Viterbi/Complex Math Unit (VCU-I) – Two Serial Communication Interfaces (SCIs) – Ten hardware breakpoints (with ERAD) (pin-bootable) • Programmable Control Law Accelerator (CLA) – One Local Interconnect Network (LIN) – 100 MHz – One Fast Serial Interface (FSI) with a – IEEE 754 single-precision floating-point transmitter and receiver instructions • Analog system – Executes code independently of main CPU – Three 3.45-MSPS, 12-bit Analog-to-Digital • On-chip memory Converters (ADCs) – 256KB (128KW) of flash (ECC-protected) • Up to 21 external channels across two independent banks
    [Show full text]
  • CP2725AC54TE Compact Power Line High Efficiency Rectifier 100-120/200-277VAC Input; Default Outputs: ±54VDC @ 2725W, 5VDC @ 4W
    GE Data Sheet CP2725AC54TE Compact Power Line High Efficiency Rectifier 100-120/200-277VAC input; Default Outputs: ±54VDC @ 2725W, 5VDC @ 4W RoHS Compliant Features • Efficiency 96.2% • Compact 1RU form factor with 30 W/in3 density • Constant power from 52 – 58VDC • 2725W from nominal 200 – 277VAC • 1200W from nominal 100 – 120VAC • Output voltage programmable from 42V – 58VDC • PMBus compliant dual I2C and RS485 serial busses • Isolated +5V Aux, signals and I2C communications • Power factor correction (meets EN/IEC 61000-3-2 and EN 60555-2 requirements) Applications • Output overvoltage and overload protection • 48VDC distributed power architectures • AC Input overvoltage and undervoltage protection • Routers/Switches • Over-temperature warning and protection • VoIP/Soft Switches • Redundant, parallel operation with active load sharing • LAN/WAN/MAN applications • Remote ON/OFF • File servers • Internally controlled Variable-speed fan • Indoor wireless • Hot insertion/removal (hot plug) • Telecommunications equipment • Four front panel LED indicators • Enterprise Networks • UL* Recognized to UL60950-1, CAN/ CSA† C22.2 No. • SAN/NAS/iSCSI applications 60950-1, and VDE‡ 0805-1 Licensed to IEC60950-1 § • CE mark meets 2006/95/EC directive • RoHS Directive 2011/65/EU and amended Directive (EU) 2015/863 Description • Conformally coated option The CP2725AC54TE Rectifier provides significant efficiency improvements in the Compact Power Line platform of Rectifiers. High- density front-to-back airflow is designed for minimal space utilization and is highly expandable for future growth. The wide-input standard product is designed to be deployed internationally. It is configured with both RS485 and dual-redundant I2C communications busses that allow it to be used in a broad range of applications.
    [Show full text]
  • EPC612D8A-TB EPC612D8A EPC612D8 User Manual
    EPC612D8A-TB EPC612D8A EPC612D8 User Manual Version 1.1 Published August 2016 Copyright©2016 ASRock Rack INC. All rights reserved. Version 1.1 Published October 2016 Copyright©2016 ASRock Rack Inc. All rights reserved. Copyright Notice: No part of this documentation may be reproduced, transcribed, transmitted, or translated in any language, in any form or by any means, except duplication of documentation by the purchaser for backup purpose, without written consent of ASRock Rack Inc. Products and corporate names appearing in this documentation may or may not be registered trademarks or copyrights of their respective companies, and are used only for identification or explanation and to the owners’ benefit, without intent to infringe. Disclaimer: Specifications and information contained in this documentation are furnished for informational use only and subject to change without notice, and should not be constructed as a commitment by ASRock Rack. ASRock Rack assumes no responsibility for any errors or omissions that may appear in this documentation. With respect to the contents of this documentation, ASRock Rack does not provide warranty of any kind, either expressed or implied, including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose. In no event shall ASRock Rack, its directors, officers, employees, or agents be liable for any indirect, special, incidental, or consequential damages (including damages for loss of profits, loss of business, loss of data, interruption of business and the like), even if ASRock Rack has been advised of the possibility of such damages arising from any defect or error in the documentation or product.
    [Show full text]
  • SBIR Program Document
    Topic Index and Description A20-101 Continuous Flow Recrystallization of Energetic Nitramines A20-102 Deep Neural Network Learning Based Tools for Embedded Systems Under Side Channel Attacks A20-103 Beyond Li-Ion Batteries in Electric Vehicles (EV) A20-104 Wireless Power transfer A20-105 Direct Wall Shear Stress Measurement for Rotor Blades A20-106 Electronically-Tunable, Low Loss Microwave Thin-film Ferroelectric Phase-Shifter A20-107 Automated Imagery Annotation and Segmentation for Military Tactical Objects A20-108 Multi-Solution Precision Location Determination System to be Operational in a Global Positioning System (GPS) Denied Environment for Static, Dynamic and Autonomous Systems under Test A20-109 Environmentally Adaptive Free-Space Optical Communication A20-110 Localized High Bandwidth Wireless Secure Mesh Network A20-111 Non-Destructive Evaluation of Bonded Interface of Cold Spray Additive Repair A20-112 Compact, High Performance Engines for Air Launched Effects UAS A20-113 Optical Based Health Usage and Monitoring System (HUMS) A20-114 3-D Microfabrication for In-Plane Optical MEMS Inertial Sensors A20-115 Using Artificial Intelligence to Optimize Missile Sustainment Trade-offs A20-116 Distributed Beamforming for Non-Developmental Waveforms A20-117 Lens Antennas for Resilient Satellite Communications (SATCOM) on Ground Tactical Vehicles A20-118 Novel, Low SWaP-C Unattended Ground Sensors for Relevant SA in A2AD Environments A20-119 Efficient Near Field Charge Transfer Mediated Infrared Detectors A20-120 Very Small Pixel Uncooled
    [Show full text]
  • Dell EMC Poweredge C4140 Technical Guide
    Dell EMC PowerEdge C4140 Technical Guide Regulatory Model: E53S Series Regulatory Type: E53S001 Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. © 2017 - 2019 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. 2019 - 09 Rev. A00 Contents 1 System overview ......................................................................................................................... 5 Introduction............................................................................................................................................................................ 5 New technologies.................................................................................................................................................................. 5 2 System features...........................................................................................................................7 Specifications......................................................................................................................................................................... 7 Product comparison.............................................................................................................................................................
    [Show full text]
  • Intel® Agilex™ Device Data Sheet
    Intel® Agilex™ Device Data Sheet Subscribe DS-1060 | 2021.06.02 Send Feedback Latest document on the web: PDF | HTML Contents Contents Intel® Agilex™ Device Data Sheet............................................................................................................................................... 3 Electrical Characteristics...................................................................................................................................................... 5 Operating Conditions..................................................................................................................................................5 Switching Characteristics....................................................................................................................................................27 Core Performance Specifications.................................................................................................................................28 Periphery Performance Specifications.......................................................................................................................... 37 E-Tile Transceiver Performance Specifications...............................................................................................................46 P-Tile Transceiver Performance Specifications...............................................................................................................50 R-Tile Transceiver Performance Specifications...............................................................................................................55
    [Show full text]
  • Table of Contents
    Table of Contents Chapter 1 Bus Decode -------------------------------------------------------------- 1 Basic operation --------------------------------------------------------------------------------------------- 1 Add a Bus Decode ----------------------------------------------------------------------------------------------------- 1 Advance channel setting ---------------------------------------------------------------------------------------------- 2 Specially Bus Decode: ------------------------------------------------------------------------------------------------ 4 1-Wire ------------------------------------------------------------------------------------------------------------------- 7 3-Wire ------------------------------------------------------------------------------------------------------------------- 9 7-Segment -------------------------------------------------------------------------------------------------------------- 11 A/D Converter--------------------------------------------------------------------------------------------------------- 14 AcceleroMeter -------------------------------------------------------------------------------------------------------- 17 AD-Mux Flash -------------------------------------------------------------------------------------------------------- 19 Advanced Platform Management Link (APML) ---------------------------------------------------------------- 21 BiSS-C------------------------------------------------------------------------------------------------------------------ 23 BSD ---------------------------------------------------------------------------------------------------------------------
    [Show full text]
  • The PET750-12-050 Is a 759 Watts, 1U Form Factor Power Supply Module with Active PFC (Power Factor Correction)
    The PET750-12-050 is a 759 Watts, 1U form factor power supply module with Active PFC (Power Factor Correction). It converts standard AC mains power into a main output of 12V for powering intermediate bus architectures (IBA) in high performance and reliability servers, routers, and network switches. The PET750-12-050 meets international safety standards and displays the CE-Mark for the European Low Voltage Directive (LVD). • Best-in-Class, 80 PLUS Certified “Platinum” Efficiency • Wide Input Voltage Range 90-264 VAC • AC Input with Power Factor Correction • Always-On 15 W Standby Output (5 V/3 A) • Hot-Plug Capability • Parallel Operation with Active Current Sharing • DC-DC Digital Controls for Improved Performance • High Density Design 20.5 W/in3 • Small Form Factor 300 x 50.5 x 40 mm (11.81 x 1.99 x 1.57 in) • Power Management Bus Communications Protocol for Control, Programming and Monitoring • Over Temperature, Output Over Voltage and Over Current Protection • One DC OK Signaling Status LED • Networking Switches • High Performance Servers • Routers 2 PET750-12-050xA PET 750 - 12 - 050 x A Product Family Power Level Dash V1 Output Dash Width Airflow Input N: Normal PET Front-Ends 750 W 12 V 50 mm A: AC R: Reverse OUTPUT MAX LOAD MAX LOAD MINIMUM RIPPLE & TOTAL MODEL CONNECTOR VOLTAGE CONVECTION 1 300 LFM 1,2 LOAD NOISE 3 REGULATION PET750-12-050NA 12 VDC 62 A 62 A 0 A 1% Card edger ± 2.5% PET750-12-050RA 12 VDC 62 A 62 A 0 A 1% Card edger ± 2.5% The PET750-12-050 AC-DC power supply is a mainly DSP controlled, highly efficient front-end.
    [Show full text]