RE: Generating an external interrupt

Dobbin Allan-r11834 <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <45E41B46B1F8D81183E4000F20D7C40B0B5684CA@az33exm40-bu.am.freescale.net>
There are two halves to this - setting up the IRQ pin correctly and then handling the interrupt.

To see which half is the problem, check the SIPEND register to see if the IRQ5 bit is set. If it is, check that MSR[EE] is set and SIMASK is set correctly to allow the interrupt, also UMCR[IRQMUX].

If not, check the following registers - SIEL and SIUMCR[MLRC].

If you go for edge triggered, make sure you have an edge on the IRQ5 pin.

Regards,
Allan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Monday, July 11, 2005 9:59 AM
To: [email protected]
Subject: [MPC500] Generating an external interrupt


Hi there,

I'd like to use the MPC 565 USIU external interrupt 5 pin to generate an 
interrupt.
The SGPIO control register bit for this input is 0. (configured as input) The SIMASK2 register bit is also 1 and the edge level bit is also 1 for 
edge triggered.
Nevertheless I get no interrupt.
Is there someone who has a little clue for this problem ?

Many thanks for any answer.
Michael Reckermann 
 

[Non-text portions of this message have been removed]



-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu


 
Yahoo! Groups Links



 



-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.