• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Data Converters » Precision Data Converters » Precision Data Converters Forum » LMP90100: Connecting more than one on SPI bus
Share
Precision Data Converters
  • Forum
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
The Signal blog
  • $core_v2_blog.Current.Name

    Grounding Principles

    Posted 1 day ago
    by Bruce Trump
    In a previous blog on supply bypassing , I cautioned that poor...
  • $core_v2_blog.Current.Name

    Handy Gadgets and Resistor Divider Calculations

    Posted 9 days ago
    by Bruce Trump
    Handy gadgets make our engineering life easier—the little...
  • $core_v2_blog.Current.Name

    Chopper Op Amps—are they really noisy?

    Posted 16 days ago
    by Bruce Trump
    Chopper op amps offer very low offset voltage and dramatically...

Forums

LMP90100: Connecting more than one on SPI bus

This question is answered
Asutosh Shah
Posted by Asutosh Shah
on Jul 06 2012 07:58 AM
Prodigy30 points

Hello,

We are trying to connect more than one LMP90100 on the SPI bus with different CS. SPI Handshake Control is set as 0x0 (default). DRDYB is multiplexed with SDO.

When single LMP is connected, we are getting the data correctly. But when 2 LMPs are there, SDO line never goes to LOW. It remains at 2.5V. DRDYB comes correctly but since the SDO is never low, it is not interpreted correctly. Is there any requirement for connecting more than one LMP on SPI bus?

Thanks in advance

Asutosh Shah

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • javier artigas paracuellos
    Posted by javier artigas paracuellos
    on Jul 06 2012 09:33 AM
    Prodigy100 points

    Hello,

     

    I have the same problem. i have 2 LMP9100 on the SPI bus with different CS. IF i solder 1 LMP90100 in the circuit only, i read data correctly, but if i solder 2 LMP90100, the SDO signal is low always.

     

    Any suggestion? Help please.

     

    Thanks in advance.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Murali Srinivasa
    Posted by Murali Srinivasa
    on Jul 09 2012 00:17 AM
    Intellectual1060 points

    Hi,

    Can you share the schematic of multiple LMP90100 connected to mcu ?

    Regards,
    Murali 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • javier artigas paracuellos
    Posted by javier artigas paracuellos
    on Jul 09 2012 01:49 AM
    Prodigy100 points
    lmp90100_1.pdf

    Hi,

    I attach the schematics

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • javier artigas paracuellos
    Posted by javier artigas paracuellos
    on Jul 09 2012 02:24 AM
    Prodigy100 points
    lmp90100_2.pdf

    And other schematic page. i have 4 components in the same SPI bus, 2 LMP90100 and 2 ADG714/ADG1414.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Asutosh Shah
    Posted by Asutosh Shah
    on Jul 09 2012 05:01 AM
    Prodigy30 points

    Hi Murali,

             I attached my schematic with 2 LMP90100 and 18F4620, please review it. And I have written manual SPI read/write function and these functions are working ok with other SPI devices as well as with LMP90100 (communicate with only one LMP90100 and no other devices on SPI BUS). If you have any idea please help me out. waiting for your reply.

    5488.Multiple_LMP90100.pdf

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • javier artigas paracuellos
    Posted by javier artigas paracuellos
    on Jul 09 2012 10:48 AM
    Prodigy100 points

    This schematic is wrong, i think. you have tied the same SPI signals (CLK,SDO, SDI) to 2 optocouplers. Why do it? This signals are commons to all SPI slaves.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • javier artigas paracuellos
    Posted by javier artigas paracuellos
    on Jul 09 2012 10:49 AM
    Prodigy100 points

    In my board, i write to LMP90100 (both), but i cannot read it. Help please!!! Any suggestion?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Asutosh Shah
    Posted by Asutosh Shah
    on Jul 09 2012 12:14 PM
    Prodigy30 points

    Hi Javier,

    Both the analog inputs are isolated from each other. 

    asutosh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Murali Srinivasa
    Posted by Murali Srinivasa
    on Jul 09 2012 16:57 PM
    Intellectual1060 points

    Hi Javier,

    ADG1414's SDO is a Open Drain output and I see from your schematic that you dont have any pull up. You are connecting a CMOS output and a open drain output together but without any pull-up on the line. Hence you are not able to read from LMP90100.

    Also, be aware that ADG1414 SDO can be used to daisy chain with other devices, Hence you need to check with the part if it makes the SDO line high-z when CSB de- asserted . If not, then you have to be careful about its state and the strength.

    If possible, just remove the ADG1414 from the circuit(for testing) and read the data from LMP90100, it should work. Also, you can connect a weak pull-up on the SDO line as it is going to a cmos input of the icoupler.

    Regards,
    Murali 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Murali Srinivasa
    Posted by Murali Srinivasa
    on Jul 09 2012 17:24 PM
    Verified Answer
    Verified by Tom Hendrick
    Intellectual1060 points

    Hi Asutosh,

    From your schematic, I can see two things which are causing problems:

    1. You have connected the SDO of the LMP to SDI of the MCU. But, the correct connection would be SDO of LMP(Slave) to SDO of MCU(Master). SDI of MCU(master) to SDI of LMP(slave).

    MOSI-------MOSI
    MISO-------MISO
    SCLK------SCLK 

     2. You have separate isolators for SPI's of each LMP, then you are combining both at the mcu side. This will create issues on the SDO line at the out side of the icoupler because the isolator dosent have high z outputs. Its either high or low. Since you have pull-ups at the inputs of the isolator on the SDO line, isolator outputs on the SDO line will be high, now if any one of LMP90100 tries to bring the SDO low, the output of the isolator cannot take it to 0V as it cannot sink the current from the line which has been pulled-up by another output of the same kind. Hence this explains why you are observing 2.5V on the SDO ! 

     Solution: You can have one MISO,MOSI,SCLK , CS1 and CS2 go from the MCU to the other side of isolation and then share the SPI bus with two LMP90100. This should solve the issue. Still maintaining the isolation between LMP90100 and the MCU.

    But, If you want the two LMP90100's to be isolated from each other and the MCU.Then you will have to use two separate SPI's on MCU

    Regards,
    Murali 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use