Home/Support/Support Forum/use interrupt
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

use interrupt

0 votes
hello all
somebody have any easy exemple for use the interrupt when you receive a word in serial port because i am lost in the documentation.
I use devellopement kit connect me -c.
asked Jun 19, 2007 in NET+OS by fana New to the Community (8 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

6 Answers

0 votes
Hi,
As far as I know, there is no interrupt on the serial line. You have to poll the serial port for any incoming characters.

Paul
answered Jun 19, 2007 by pevandenburie Community Contributor (72 points)
0 votes
thank pevandenburie
have you go an other easy exemple with interrupt that I can familiarize with it?
At the beginning I wanted used the serial connection for that but since it is not possible¬Ö
answered Jun 19, 2007 by fana New to the Community (8 points)
0 votes
There are no available interrupts on the Connect ME. You do have access to such on the Connect EM. The best way to figure this out is to read through the NS7520 chip (used in the Connect ME and the Connect EM) on which GPIO can generate interrupts (PORTC0-3) and then read through the Programming Considerations guide for the hardware on which pins are tied to which.
answered Jun 19, 2007 by charliek Veteran of the Digi Community (408 points)
0 votes
thank charliek
I have juste one over question.why in the bsp.h he had :
#define BSP_SERIAL_FAST_INTERRUPT FALSE
answered Jun 20, 2007 by fana New to the Community (8 points)
0 votes
This references using the timer2 interrupt (a software interrupt) to aid in improving serial communication speed.
answered Jun 20, 2007 by charliek Veteran of the Digi Community (408 points)
0 votes
Fana, that has to do with the Fast Interrupt mode of the ARM core. The ARM core has an interrupt mode, that is entered every time an external interrupt happens, and a fast interrupt mode, with higher priority, thought for a interrupt that has to be serviced in less time.


Message was edited by: Jose
answered Oct 14, 2008 by Jose New to the Community (16 points)
...