11/8/2019 Beaglebone Black Gpio Interrupt
You have been successfully subscribed to the Notification List for this product and will therefore receive an e-mail from us when it is back in stock! For security reasons, an e-mail has been sent to you acknowledging your subscription.
![]()
Please remember that this subscription will not result in you receiving any e-mail from us about anything other than the restocking of this item. If, for any reason, you would like to unsubscribe from the Notification List for this product you will find details of how to do so in the e-mail that has just been sent to you!
![]()
This will be a simple article about Linux Device Drivers, in fact about a char driver that controls the GPIO ( General Purpose Input-Output) port of the Beaglebone Black.
Hi, I'm trying to test handling of interrupts on a Beaglebone Black board with TI's Linux SDK v.8 kernel v. And I have observed the following strange behaviour.
For example if I call requestirq for Interrupt 86 (ePWM0INT according to the AM335x Sitara Technical Reference Section 6.3) it will report an error that conflicts with the i2c which is interrupt 70 (I2C0INT). Upon some further investigation I noticed that when I call requestirq, the irq line number I provide needs to be offset by 16. Any calls with irq line numbers below 16 will fail.
For example the following is the output of /proc/interrupts/ before I load my module with a call to requestirq. 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. 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 of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the 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.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |