element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum FTDI USB-to-serial issue with NAK packets
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 664 subscribers
  • Views 506 views
  • Users 0 members are here
  • raspberry_pi
Related

FTDI USB-to-serial issue with NAK packets

Former Member
Former Member over 12 years ago

Drew has a blog post about the FTDI USB-to-serial converter:

http://www.element14.com/community/groups/raspberry-pi/blog/2012/07/18/look-ma-no-display-using-the-raspberry-pi-serial-console

 

Apparently there is an issue with excessive interrups from NAK packets:

 

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=7866&start=111

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=7866&start=114

  • Sign in to reply
  • Cancel
  • fustini
    fustini over 12 years ago

    Interesting thread.  I've not had any trouble using FTDI cable for console access on the Pi, but it is acting as a USB device connected to my laptop.  I think the person reporting the problem must have been using FTDI cable connected to a Pi USB host port.

     

    I found the commands in the thread interesting:

    pi@raspberrypi ~ $ cat /boot/cmdline.txt

    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

    pi@raspberrypi ~ $ cat /proc/interrupts

               CPU0      

      3:     842516   ARMCTRL  BCM2708 Timer Tick

    52:          0   ARMCTRL  BCM2708 GPIO catchall handler

    65:          2   ARMCTRL  ARM Mailbox IRQ

    66:          1   ARMCTRL  VCHIQ doorbell

    75:   65568338   ARMCTRL  dwc_otg, dwc_otg_hcd:usb1

    77:       8312   ARMCTRL  bcm2708_sdhci (dma)

    79:        338   ARMCTRL  bcm2708_i2c.0, bcm2708_i2c.1

    80:          0   ARMCTRL  bcm2708_spi.0

    83:      47024   ARMCTRL  uart-pl011

    84:      18082   ARMCTRL  mmc0

    Err:          0

    pi@raspberrypi ~ $  sh -c "cat /proc/interrupts | grep dwc && sleep 10 && cat /proc/interrupts | grep dwc" | awk '{ if (s==0) s=$2 } END { print ($2-s)/10 }'

    8035.9

    So this would seem to confirm that USB controller causes 8,000 interrupts a sec.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to fustini

    I am unsure how old previous report is, but the cmdline.txt isn't having the latest patches enabled that reduce the interrupt rate.

    The patch isn't really reducing the actual interrupt rate, it's just handling some interrupts that have no interesting usb data in a short assembly routine that just acknowledges the interrupt if I understand things well.

    So, if you have a device like an ftdi connected, interrupt range will go up again, but probably only when you start to use the device. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube