• 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 » Touch » Touch Forum » tsc2007 BUG: scheduling while atomic: swapper /0x00000103/0, CPU#0 Problem
Share
Touch
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    RS-485 - Who says you can't teach an old dog new tricks?

    Posted 4 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...
  • $core_v2_blog.Current.Name

    Filter for thought

    Posted 5 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...
  • $core_v2_blog.Current.Name

    Let’s take this driver out for a spin

    Posted 11 days ago
    by Soufiane Bendaoud
    Before I suggest a suitable op amp to drive an ADC, I look at...

Forums

tsc2007 BUG: scheduling while atomic: swapper /0x00000103/0, CPU#0 Problem

  • Ali Bingöl
    Posted by Ali Bingöl
    on Aug 20 2010 08:30 AM
    Prodigy110 points

    Hi

    I modified the tsc2007 driver which was given in its page according to our needs. Our firm made its own DM365 board. In This board we used TSC2007 and connected PENIRQ pin to GPIO0 of DM365. It is being seen OK on driver. when i touch to touchscreen cursor is moving but at the same time i am getting

    BUG: scheduling while atomic: swapper /0x00000103/0, CPU#0

    warning and embedded linux is being crashed. there are 2 files that i modified and uploadded to www.muhendislikhizmeti.com/touchscreen.zip one is with timer the other is not. it is giving this error all time

    is anyboy have any idea how to solve this problem.

    thanks to all

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Wendy Fang
    Posted by Wendy Fang
    on Aug 20 2010 09:28 AM
    Genius9725 points

    More info is needed to debug such a problem. Thus, may you send me the harware design schematic and software driver code?

    BR,
    Wendy F. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Bingöl
    Posted by Ali Bingöl
    on Aug 21 2010 04:08 AM
    Prodigy110 points

    Thanks for your quick respond Wendy

    I have added schematic of TSC2007 to the file that i uploaded to www.muhendislikhizmeti.com/touchscreen.zip before. this file is including drivers and schematic. I am using montavista 2.6.18_pro kernel.

    As i read on internet i do need to create a workqueue and use schedule_work() API to use this workqueue, But they are so blur for me right now. If the problem is this, could you guide me where to start

    Thanks

    Ali Bingöl

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Wendy Fang
    Posted by Wendy Fang
    on Aug 24 2010 11:46 AM
    Genius9725 points

    Hi Ali,

    The schematic seems OK, and not related to your current problem. Noted that: (1) I can not find the pull-ups for the I2C lines; (2) it is a good practice to ground the unused analog input pin (AUX); and (3) you may ground all NC pins of the TSC2007. Your schamtic says that the TSC2007 slave I2C address is 1001000b; and you are using /PENIRQ to trigger the TSC driver.

    From the source code, it seems that, from the Linux driver TI provided, you made a lot updates to work with your processor and system.  Thus, it is likely that the issue here may related to your system and/or API, not simply the TSC driver, as you suspected.

    I may suggest you get in touch with the experts for your precssor and system to help!

    BR,
    Wendy F.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Bingöl
    Posted by Ali Bingöl
    on Aug 25 2010 10:13 AM
    Prodigy110 points

    Hi Wendy

    thanks for your suggestion about schematics. I will modify as you suggested.

    I don't think that there is a problem with system because AIC which we installed to our board is using i2c and it is working without any problem.

    All components  are working without any problem exclude tsc2007. I think that the driver is the only  problem that we need to solve.  the rest is already solved.

    If i found a solution i share it from here

     

    Thanks

    Ali Bingöl

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Wendy Fang
    Posted by Wendy Fang
    on Aug 25 2010 16:54 PM
    Genius9725 points

    Hi Ali,

    Is it possible some problem at the system setup for the touch interrupt (/PENIRQ)?

    Please share when you found the cause of the problem!

    BR,
    Wendy F.

    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