• 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 » Other Analog & Touch » Imaging » Imaging AFEs Forum » AFE5808 SDout problem
Share
Imaging
  • Forum
Options
  • Subscribe via RSS

AFE5808 SDout problem

AFE5808 SDout problem

This question is not answered
David Burton
Posted by David Burton
on Dec 30 2011 02:37 AM
Intellectual820 points

 

Hi,

I can't seem to get anything other than 0V from my SDout on the afe5808.  I have a test that modifies reg2, sets the read bit, and tries to read back reg2.  All I ever get is 0.

All the supplies are up and good.  All the SPI signals look good.  All the power downs and reset are low.

Here is my SPI transaction record:

3718.afe write-read reg2.xls

Any ideas?

Thanks.

afe5808 SDout MISO
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Xiaochen (Sean)Xu
    Posted by Xiaochen (Sean)Xu
    on Dec 30 2011 09:01 AM
    Intellectual1260 points

    David,

     

    do you have a AFE5808EVM? we have read features on that EVM.

    the below is your writing history. i think you need to specfy which address to read and set reg0[1]

    so you need to do something like

    1. write a reg A with some content. when the chip is power up, most register bits are 0

    2.set reg0[1] as 1

    3 write the reg A address through regular SPI writing

    4. Read from SPI SDOUT.

    22:09.8 SPI W 02 00 F8 MOSI
    22:09.8 SPI R 00 00 00 MISO
    22:09.8 SPI W 00 00 02 MOSI
    22:09.8 SPI R 00 00 00 MISO
    22:09.8 SPI W 02 00 00 MOSI
    22:09.8 SPI R 00 00 00 MISO
    22:09.8 SPI W 00 00 00 MOSI
    22:09.8 SPI R 00 00 00 MISO
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Burton
    Posted by David Burton
    on Dec 30 2011 16:38 PM
    Intellectual820 points

    Yes, that's what that sequence is doing:

    1. W 02 00 F8   write 00 F8 to reg 2

    2. W 00 00 02  set the read bit reg0[1]

    3. W 02 00 00 write the reg 2 address

    4. R 00 00 00  read back reg 2, still zeroes even though 00 F8 was written.

     

    I'll try and set up an EVM and duplicate this sequence.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Xiaochen (Sean)Xu
    Posted by Xiaochen (Sean)Xu
    on Dec 30 2011 17:28 PM
    Intellectual1260 points

    David,

    before you set up EVM, i think monitoring the SDOUT pin with a scope can help some. at least we should see some toggling on the SDOUT pin.

     

    i assume you can power down the device trhough SPI registers. at least, this can ensure theSPI  write has no issue.

     

    Thanks! Happy New YEar!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Burton
    Posted by David Burton
    on Dec 30 2011 17:49 PM
    Intellectual820 points

    I've been monitoring all the signals right at the part.  They all do just what is expected except SDout which remains 0V always.

    If I can't read an SPI port how will I know if I have powered down the device with an SPI command?

    Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Xiaochen (Sean)Xu
    Posted by Xiaochen (Sean)Xu
    on Dec 30 2011 17:54 PM
    Intellectual1260 points

    there are two ways to monitor:

    1. check the power supply current.

    2. if check current is not feasible, check the LVDS otuput pins. when the device is power donw, the LVDS data ports should have no data.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Burton
    Posted by David Burton
    on Feb 02 2012 19:48 PM
    Intellectual820 points

    Sorry to not get back on this.  I think we found our FPGA had the wrong pin type assignments in the constraints file and was driving the afe output back with another output.  There is a series R at the afe output.

    Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Xiaochen (Sean)Xu
    Posted by Xiaochen (Sean)Xu
    on Feb 02 2012 19:56 PM
    Intellectual1260 points

    thanks David! glad the problem is solved.

    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