uart interrupt configuration on beaglebone black.

308 views
Skip to first unread message

Madhu K

unread,
Apr 24, 2017, 1:26:27 AM4/24/17
to BeagleBoard
Hi All,

I am trying to enable interrupts on UART2 of beaglebone black, I am not aware of what are all the registers to be configured to work interrupts properly.

any help is appreciated.

Thanks in advance.

Regards,
Madhu

Rathin Dholakia

unread,
Jun 14, 2017, 5:33:30 AM6/14/17
to BeagleBoard
Hello Madhu,

I am not an expert so please take this advice with pinch of salt.
here are few steps to get you started:

1)You have to first enable the UART by modifying the uEnv.txt file in your /boot/uboot folder.

2) reboot
3) check dmesg by running: dmesg | grep UART
4) From above you will get an interrupt number assigned to your respective UART.
5) Use this to configure your ISR and etc.

Please refer TRM of AM3358 for further details on IRQ and ISR.

Regards,
Rathin

Madhu K

unread,
Jun 14, 2017, 6:15:26 AM6/14/17
to beagl...@googlegroups.com
Hi Rathin,

Thanks for your response.!!!

I enabled interrupts for UART2 and working fine.

Thanks & regards
Madhu

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ea914d66-b529-4cdd-a56d-bfc94e47b693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rathin Dholakia

unread,
Jun 14, 2017, 7:41:55 AM6/14/17
to BeagleBoard
Dear Madhu,

It would like to request you that it would be great if you can write a brief description of what all you did and how you did it.

That would contribute a lot to other fellow travelers on the same journey in future :)

Regards,
Rathin
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Madhu K

unread,
Jun 14, 2017, 7:44:39 AM6/14/17
to beagl...@googlegroups.com
Hi Rathin,

Yeah, I will do that..

Regards,
Madhu

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/47cec734-ee86-49e5-82ad-fb360896d3a7%40googlegroups.com.

krishna...@gmail.com

unread,
Feb 20, 2018, 7:59:01 AM2/20/18
to BeagleBoard
 
Hi Madhu K,
       
        Can you please describe how u enabled UART2 interrupt in BBB


Thanks and Best Regards
Krishnakanth M

 
Reply all
Reply to author
Forward
0 new messages