groupUrl: https://ez.analog.com/interface-isolation/
Analog.com Analog Dialogue Wiki English
Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Site
  • User
  • Site
  • Search
  • User
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
    • EZ Spotlight
    • The Engineering Mind
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • A2B
    • Aerospace and Defense (ADEF)
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Condition-Based Monitoring
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power Management
    • Precision Technology Signal Chains
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Signal Chain Power (SCP)
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wide Band RF Transceivers
    • Wireless Sensor Networks Reference Library
  • About EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
Interface and Isolation
Interface and Isolation
Documents ADuM4160 wiring with uC
  • Q&A
  • Documents
  • Tags
  • Managers
  • More
  • Cancel
  • New
Interface and Isolation requires membership for participation - click to join
  • Documents
  • INTERFACE AND ISOLATION SUPPORT COMMUNITY
  • Tags List (Interface & Isolation)
  • +General: FAQ
  • +AD5700: FAQ
  • +ADG324x: FAQ
  • +ADM2687: FAQ
  • +ADN4695E: FAQ
  • +ADuM1100: FAQ
  • +ADUM1200: FAQ
  • +ADuM1201: FAQ
  • +ADuM1230: FAQ
  • +ADuM1250: FAQ
  • +ADuM1251: FAQ
  • +ADUM1300: FAQ
  • +ADuM1301: FAQ
  • +ADUM1400: FAQ
  • +ADUM1401: FAQ
  • +ADuM1402: FAQ
  • +ADuM1420: FAQ
  • +ADuM1440: FAQ
  • +ADuM1441: FAQ
  • +ADuM144x: FAQ
  • +ADuM2400: FAQ
  • +ADuM2401: FAQ
  • +ADuM2402: FAQ
  • +ADUM3070: FAQ
  • +ADuM3160: FAQ
  • +ADuM3190: FAQ
  • +ADuM3201: FAQ
  • +ADuM3220: FAQ
  • +ADuM3221: FAQ
  • +ADuM3223: FAQ
  • +ADuM3440: FAQ
  • +ADuM3470: FAQ
  • +ADuM3471: FAQ
  • +ADuM3480: FAQ
  • +ADuM3482: FAQ
  • -ADuM4160: FAQ
    • ADUM3160/4160: Can this device be used for USB-IF standard host isolation
    • ADuM4160 PIN input
    • ADuM4160 wiring with uC
    • ADuM4160 with SMSC USB2514B
    • ADUM4160/ADUM3160: Can these devices support OTG (On The Go) USB?
    • ADUM4160/ADUM3160: Is there a difference between the upstream and downstream port?
    • ADuM4169:  Powering VBUS1 from 5V and VBUS2 from 3.3V.
    • EVAL-ADUM4160 physical dimensions
  • +ADuM4190: FAQ
  • +ADuM4223: FAQ
  • +ADuM4400: FAQ
  • +ADuM4472: FAQ
  • +ADuM5000: FAQ
  • +ADUM5010: FAQ
  • +ADuM5201: FAQ
  • +ADuM5202: FAQ
  • +ADuM5230: FAQ
  • +ADuM5241: FAQ
  • +ADuM5400: FAQ
  • +ADuM5401: FAQ
  • +ADuM5402: FAQ
  • +ADuM5403: FAQ
  • +ADuM6000: FAQ
  • +ADuM6132: FAQ
  • +ADuM620X: FAQ
  • +ADuM6400: FAQ
  • +ADuM6401: FAQ
  • +ADuM6402: FAQ
  • +ADuM7234: FAQ
  • +EVAL-CN0313: FAQ
  • +isoPower: FAQ
  • +MLVDS: FAQ
  • +SPIsolator: FAQ

ADuM4160 wiring with uC

Q 

In a current design of a medical device, i have to establish an isolated USB
connection between a PIC microcontroller and a host and I intend to use the
ADuM4160 for that purpose. My microcontroller therefore serves the role of an
USB 2.0 USB device.

However, I have some questions about the correct wiring/usage of some pins
between ADuM4160 and the microcontroller (PIC18F2550 / dsPIC33Exx).

1.) How to use the internal pullups of ADuM4160 together with pullups availabe
integrated into the microcontroller?
If I have understood the PIN input functionality correctly, the (ADuM-)internal
pullup serves two purposes: It is first used for signaling attachment to the
host. The internal uC pull-up can’t be used for this anymore because of the
isolation barrier and thus I have to use the PIN pin to enable the pull-ups on
the other side of the isolation barrier. That point is clear so far.

a.) The other thing the (uC or ADuM-)internal pull-ups can do is create the
idle state of the bus.
It isn’t clear to me if the internal pull-up in the ADuM4160 is required or not
in this case.
b.) The datasheet refers to lots of “smarts” and “control logic” that determine
the state of the isolation drivers. The microcontroller needs to see the idle
state and not the reset state. If the isolator control logic doesn’t allow the
idle state to be pushed back to the micro, then if I disable the internal micro
pull-ups, the device would not work. If the isolator does push the idle back to
the device, then I should be able to disable the internal pull-ups. Could you
give me an advice on how to use the PIN controlled pullup of the ADuM correctly
together with the micro-controller internal pullups?


2.) Powering the isolator (VBUSx)
a.) I want to use the micocontroller in a self-powered scenario, but the
upstream side of the isolator should derive its power from VBUS voltage of the
USB bus. Therefore, I use the following "voltage-setup" on the upstream side of
the Isolator: SPU, PDEN, VBUS1 as well as VDD1 are all connected to VBUS of the
USB port.
The question on the upstream side is: The datasheet notes that it is possible
to supply this side by only 5V on VBUS1 and Vdd1 open (internal regulator
establishes 3V3 on VDD1) or apply 3.3V on both VBUS1 and VDD1. It is also ok to
connect both VBUS1 and VDD1 to 5V as I described above?)

b.) Concerning the downstream side and usage of the PIN input:
Since the upstream side is powered from VBUS and the Isolator draws some
current from the bus, the USB spec says that I have 100ms time-span from the
time instance at which VBUS is established to pull the PIN high.
c.) I should not have PIN tied high when it is not connected to the bus.  If I
connect PIN to the Vdd2 pin and VBUS2 to the VBUS of the USB port, I will meet
both requirements, but this is useless since I loose the isolation property If
i power both sides of the isolator by VBUS, right?
Therefore, I would run both VBUS2 and VDD2 pins on an seperated, device-side
3V3 supply. But how should i operate the PIN line?
d.)(If the peripheral would be comlpetey self-powered and draws no power from
the USB power, then i could set the PIN via the microcontrolelr at any time as
long as VBUS is detected, but since i supply the isolator upstream side via
VBUS of the USB port, I have to respond in time!?)

 

A 

1.)
a.) The ADuM4160 can be thought of as creating two separate USB busses, one on
each side of the barrier. Each of these busses must have a pullup connected to
the appropriate data line to give the correct idle state and pull downs on both
lines to make sure that disconnected lines are pulled down properly. So the uC
can use its internal pullups and the downstream port of the ADuM4160 will
provide the pull downs.
b.) In the upstream side of the ADuM4160, we have internal pullups under the
control of SPU and PIN. SPD determines some buffer parameters and controls
which line is connected to the pullup. PIN will apply the pullup when it is
high. This allows the enumeration to be controlled with a logic pulse from the
downstream side. PIN can be either tied high or connected to a GPIO port on the
uC. It also allows the peripheral to force a re-enumeration by pulling PIN low
and the taking it high again. It looks to the host like the cable was
disconnected then reconnected.

2.)
a.) No, this will not harm the ADuM4160, but it will cause the I/O voltages to
have a 5V logic. This is not allowed by the USB standard.

b.) This is the time that the uC is allowed to answer the host. If the uC is
not pulling PIN high, then the host still thinks the cable is unplugged so
there is no time limit. It is 100uS from the time that D+ is pulled high by the
peripheral.

c.) Most customers simply tie the lines high. VDD1 to PDEN, and SPU and VDD2 to
SPD, and PIN  and the USB works fine. The ADuM4160 will pull DD+ and DD- low
then to idle when side 1 has no power, side 2 goes to idle  and wait till the
host pulls D+ and D- low to start enumeration. The enumeration process will
reset the interface when a cable with power is applied.

d.) No, the processor will detect the pullup as soon as the cable is inserted
and try to enumerate, this will be passed to the uC and it will reset and
enumerate. We have found very few instances where it is vital to know that
there is bus power. If you must know, use a Darlington optocoupler as a Vbus
detect.

  • adum4160
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous
Related
 
社交网络
快速链接
  • 关于ADI
  • Partners
  • 模拟对话
  • 职业
  • 联系我们
  • 投资信息
  • 新闻中心
  • 质量和可靠性
  • 办事处与代理商
  • Analog Garage
语言
  • English
  • 简体中文
  • 日本語
  • Руccкий
电子快讯

欲获得最新ADI产品、设计工具、培训与活动的相关新闻与文章,请从我们的在线快讯中选出您感兴趣的产品类别,每月或每季度都会发送至您的收件箱。

订阅
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • 网站地图
  • 隐私和保密政策
  • 隐私设置
  • 使用条款
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.