Xmega128D4 RXC int not happening.

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Of course it must be me but I can't see why it's not working. Other interrupts are working (ie sei();).

 

The RXCIF flag is on, interrupt level set at high (see below) but no USARTD0_RXC interrupts. Anything else that I should add/change?

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Update, interrupt level LO works, MED and HI don't.surprise

 

edit....and never mind, yet another case of a loose nut behind the keyboard. blush forgot to init the PMIC_CTRL for the other 2 levels. blush

But it's amazing! Just posting here solved the problem.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Last Edited: Sat. May 12, 2018 - 02:07 AM