EmbeddedRelated.com
Forums

Atmel SAM7 Tx interrupt

Started by chipburnssc May 18, 2007
I'm having some trouble with the Tx interrupt on the USART.
Periodically (very intermittently) it does not fire which causes my
system to lock up. Anyone seen this problem?
Hi,

Do you have other interrupts? Is the level shared with, say, the PIT?
Perhaps the interrupt it being "stolen" by another IRQ at the same level?

Find out where it went. You may have to use a "sys IRQ handler" to ketch
the interrupts, and sort them out by reading the status (like DBGU and PIT).

Alan KM6VV

> -----Original Message-----
> From: A... [mailto:A...] On Behalf
> Of chipburnssc
> Sent: Friday, May 18, 2007 12:05 PM
> To: A...
> Subject: [AT91SAM] Atmel SAM7 Tx interrupt
>
> I'm having some trouble with the Tx interrupt on the USART.
> Periodically (very intermittently) it does not fire which causes my
> system to lock up. Anyone seen this problem?
>
Hi,

I do have other interrupts & discovered I had 2 @ level 5. I have
changed my USART level down to 4 (it's important but not time-
critical) and will test this next.

Thanks

Chip

--- In A..., "Alan KM6VV" wrote:
>
> Hi,
>
> Do you have other interrupts? Is the level shared with, say, the
PIT?
> Perhaps the interrupt it being "stolen" by another IRQ at the same
level?
>
> Find out where it went. You may have to use a "sys IRQ handler" to
ketch
> the interrupts, and sort them out by reading the status (like DBGU
and PIT).
>
> Alan KM6VV
>
> > -----Original Message-----
> > From: A... [mailto:A...] On
Behalf
> > Of chipburnssc
> > Sent: Friday, May 18, 2007 12:05 PM
> > To: A...
> > Subject: [AT91SAM] Atmel SAM7 Tx interrupt
> >
> > I'm having some trouble with the Tx interrupt on the USART.
> > Periodically (very intermittently) it does not fire which causes
my
> > system to lock up. Anyone seen this problem?
>
Hi,

Changed the level to 4 and no luck.

Is there any particular trick or sequence to installing a USART Tx
interrupt? I recall having to bang around a bit before I finally got
the thing to work.

Chip
--- In A..., "chipburnssc" wrote:
>
> Hi,
>
> I do have other interrupts & discovered I had 2 @ level 5. I have
> changed my USART level down to 4 (it's important but not time-
> critical) and will test this next.
>
> Thanks
>
> Chip
>
> --- In A..., "Alan KM6VV" wrote:
> >
> > Hi,
> >
> > Do you have other interrupts? Is the level shared with, say, the
> PIT?
> > Perhaps the interrupt it being "stolen" by another IRQ at the
same
> level?
> >
> > Find out where it went. You may have to use a "sys IRQ handler"
to
> ketch
> > the interrupts, and sort them out by reading the status (like
DBGU
> and PIT).
> >
> > Alan KM6VV
> >
> > > -----Original Message-----
> > > From: A... [mailto:A...]
On
> Behalf
> > > Of chipburnssc
> > > Sent: Friday, May 18, 2007 12:05 PM
> > > To: A...
> > > Subject: [AT91SAM] Atmel SAM7 Tx interrupt
> > >
> > > I'm having some trouble with the Tx interrupt on the USART.
> > > Periodically (very intermittently) it does not fire which
causes
> my
> > > system to lock up. Anyone seen this problem?
> > >
>