• 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 » Low Power RF & Wireless Connectivity » Low Power RF PurePath Wireless Audio Forum » EK-LM3S6965 and CC85XXDK-HEADSET SPI problem
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

EK-LM3S6965 and CC85XXDK-HEADSET SPI problem

This question is answered
Ovidiu Mihalachi102097
Posted by Ovidiu Mihalachi102097
on Mar 30 2012 05:15 AM
Prodigy50 points

Currently, I’m trying to run EHIF commands from a host (EK-LM3S6965) to CC85XXDK-HEADSET.

1. Connections are made as described below:

SSI0CLK_PIN             -> SCLK

SSI0FSS_PIN             -> SCLK

SSI0RX_PIN              -> MISO

SSI0TX_PIN              -> MOSI

CS_GPIO_PIN                   -> CSN

RST_GPIO_PIN          -> RESET_N

2. I flash CC85XXDK-HEADSET with the slave device configuration and select host-controlled operation and set GIO3 in IO mapping panel as "External host interface interrupt".

3. I took “E1805.lm3s6965_ehif.txtHIF example code for MSP430” as reference and modify it for LM3S6965 compliance. The source code is attached.

First step is to correctly read the Status Word, but, unfortunately, I read only 0xBFFF or 0x0000 if I execute the DI_GET_DEVICE_INFO command. I’m sure that I send correctly the command because I set the SSI in loopback mode and I can read the exactly data I have sent via SPI.

There is something else that I should take into account? I will appreciate if you can help me in finding the problem.

Thank you,

Ovidiu

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kjetil
    Posted by Kjetil
    on Apr 17 2012 07:36 AM
    Verified Answer
    Verified by Ovidiu Mihalachi102097
    Genius17755 points

    Hi Ovidiu, 

    Any chance you can attach a capture of the SPI traffic with a logic analyzer and attach to this post? 
    It might be helpful discovering what is causing your issue. 

    Please verify that you SPI setup is according to the SPI INTERFACE CHARACTERISTICS in the datasheet. 

    Best regards,
    Kjetil 

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ovidiu Mihalachi102097
    Posted by Ovidiu Mihalachi102097
    on May 07 2012 02:43 AM
    Prodigy50 points

    Hi Kjetil,

    Thank you for the reply. Apparently, there was a problem with the sys_reset() procedure and the battery voltage, also, since I was running on Headset battery only. As soon as I plugged in the USB cable, I assume that the voltage reached a valid level for a proper functioning.

    There are other questions for handling the audio streaming.

    Which are the steps for a correct setting a host controlled slave device in order to stream audio signal from an autonomous operation master that has connected an audio input signal?

    1. NWM_DO_SCAN
    2. NWM_DO_JOIN
    3. NWM_GET_STATUS
    4. NWM_ACH_SET_USAGE ?

    Anyway, I attached the code to whom might be interest in controlling such devices with LM3Sxxxx.

    6864.lm3s6965_ehif.txt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • oleat
    Posted by oleat
    on May 07 2012 08:19 AM
    Intellectual305 points

    Hi Ovidiu !

    When starting up and connecting to an autonomous master with an host controlled slave the correct steps are :

    1. SYS_RESET
    2. NWM_DO_SCAN (this is not needed if you have stored the network address of the master)
    3. Until join operation is successful:
    1. NWM_DO_JOIN
    2. NWM_GET_STATUS
    • NWM_ACH_SET_USAGE
    • VC_SET_VOLUME (unless remote controlled)
    Best regards
    Ole A.
    CC8520
    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