• 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 » Bluetooth® Applications » Unable to "talk" with pan1325
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Unable to "talk" with pan1325

This question is answered
Frantisek Horinek
Posted by Frantisek Horinek
on Jun 30 2011 06:14 AM
Prodigy40 points

Hello,

I'm unable to communicate with pan1325 module. I supplied 3.3V to pin 11(CL1.5_LDO_IN) and 15(MLDO_IN), 1.8V to pin 22(VDD_IO), provide 32k clock to pin 8(SLOW_CLK_IN), drive pin 16(nSHUTD) high and pin 3(CTS) low. I'm using linux blueZ uart stack (hciattach /dev/ttyUSB0 any 115200 flow) and modified bt stack from LUFA library but I'm unable to get anything from the device. No activity on device's TX pin.

What can be possibly wrong?

Fero

 

 

 

bluetooth module HCI Interface PAN1325 cc2560 bluetooth PAN1325 PAN1315
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Gustavo L
    Posted by Gustavo L
    on Jun 30 2011 10:22 AM
    Genius9990 points

    Fero,

    Do you see any activity on the RX pin?

     

    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frantisek Horinek
    Posted by Frantisek Horinek
    on Jun 30 2011 10:36 AM
    Prodigy40 points

    Yes, I can see bytes I send through the uart interface with oscilloscope. It is request to reset device.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Jun 30 2011 13:45 PM
    Genius9990 points

    Frantise,

    Could you take a snapshot of what's being sent to the CC256x using the oscilloscope and post it?

     

    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Jul 01 2011 15:34 PM
    Suggested Answer
    Genius11535 points

    Fero,

             Here are couple of comments you should take into consideration:

              a) PAN1315 Power Up Sequence: Power Supply (3.3v and1.8V)  and Slow Clock should be available and stable before asserting nSHUTD line. If this sequence is followed correctly, the HCI UART RTS line will go low after approx 100ms from the nSHUTD assertion. This action indicates a proper device boot up. Otherwise, the device did not boot up due to invalid power up sequence.

              b) BlueZ HCI Driver: The HCI driver provided for the ARM Processors do support the PAN13xx; however, the provided SDKs do not support currently the PAN13xx modules due to missing Service Pack. Please contact your local TI representative for more information on how to obtain this Service Pack. BTW, the command is hciattach /dev/ttyS1 texas 3000000.

    Regards,

    Bluetooth Initialization Service Pack
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frantisek Horinek
    Posted by Frantisek Horinek
    on Jul 07 2011 09:34 AM
    Prodigy40 points

    Miguel,

     

    Thanks for your answer, the device did boot up correctly but i am still unable to get any answer. What is default hci speed of module? Your answer suggest 3M but in datasheet is default speed 115200.

     

    Regards

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Jul 11 2011 11:28 AM
    Genius9990 points

    Frantisek,

     

    The device boots up at 115200 but then switches to a higher speed mode after the SP is downloaded.

    Regards,

    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frantisek Horinek
    Posted by Frantisek Horinek
    on Jul 26 2011 02:22 AM
    Prodigy40 points

    how important the SP is? Where can I get it? Can I redistribute the SP (We are creating development platform)?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Jul 26 2011 11:38 AM
    Genius9990 points

    Frantisek,

    The SP is essential to be able to use the bluetooth chipset. As for your second question, I am looking for those answers and me or someone else will let you know.

     

    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Jul 27 2011 00:08 AM
    Genius9990 points

    Frantisek,

    Please contact Dana Myers: dmyers@ti.com

    Let her know your application and she will discuss with you possible options for obtaining and using the Service Pack.

     

    Regards,
    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Don Snedigar
    Posted by Don Snedigar
    on Nov 08 2011 17:35 PM
    Prodigy180 points

    I am in a similar situation -- have the PAN1315 attached to my board via a UART , and can bring the module up -- "hciconfig -a" proves this much.  However, a "hcitool scan" never returns anything.  Running Linux 2.6.31 and the BlueZ (4.96) stack. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Nov 08 2011 18:16 PM
    Genius11535 points

    Don,

    Which version of the PAN1315 module do you have?

    Regards,

    ~Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Don Snedigar
    Posted by Don Snedigar
    on Nov 09 2011 07:29 AM
    Prodigy180 points

    PAN1315ETU (Rev 1.1)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Don Snedigar
    Posted by Don Snedigar
    on Nov 09 2011 07:41 AM
    Prodigy180 points

    MIguel

    As a follow up - I know I can communicate with the module since I see this output :

    root@freescale ~$ hciconfig -a
    hci0:   Type: UART
            BD Address: C0:E4:22:8D:4D:2D ACL MTU: 1021:4 SCO MTU: 180:4
            UP RUNNING PSCAN ISCAN
            RX bytes:1501 acl:0 sco:0 events:30 errors:0
            TX bytes:621 acl:0 sco:0 commands:27 errors:0
            Features: 0xff 0xff 0x2d 0xfe 0x9b 0xff 0x79 0x83
            Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
            Link policy:
            Link mode: MASTER
            Name: 'PDK'
            Class: 0x100100
            Service Classes:
            Device Class: Computer, Uncategorized
            HCI Ver:  (0x4) HCI Rev: 0x0 LMP Ver:  (0x4) LMP Subver: 0x191f
            Manufacturer: Texas Instruments Inc. (13)

    However, scan never return anything, as seen :

    root@freescale ~$ hcitool scan
    Scanning ...

    Tried both the older default BlueZ 2.25 and the newer BlueZ 4.96 stacks, and neither have any results.

    don

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Nov 09 2011 11:02 AM
    Genius11535 points

    Don,

         Thanks for the info. I think that the SP is not being loaded to the device during initialization. Unfortunately, we don't have the package with the CC256x SPs available to the public yet. We are working on that currently. In the meantime (as a workaround), you can download any WL1271 package from this site and grab the TIInit_7.2.31.bts from it. Change the name to TIInit_6.2.31.bts and place it under your ./lib/firmware directory. Try to initialize the device again and let me know how it goes.

    Regards,

    ~Miguel

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Don Snedigar
    Posted by Don Snedigar
    on Nov 09 2011 13:43 PM
    Prodigy180 points

    Miguel

    Found the file -- no effect.  Everything is the same.   Got it transferred over to the dev board, and it didn't even acknowledge the file.  I tried running it by hand and got a cannot execute binary file error -- wasn't sure if I was supposed to do that or not, but figured it couldn't hurt.  

    Just to make clear, I am NOT using the MSP430F5438 Experimenter Board -- we are using the Freescale iMX25 PDK boards.  The ETU board is attached via a UART..  Not sure if that makes a difference with that file or not. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
123
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