Re: Help needed with SCI interrupts (HC12)



Yeyyy!!!
Who said that "Information is power"?
My problem was caused by the various DEBUGOUT functions I set in my
code in order to monitor its progress in hyperterminal and locate
where it stops etc. As long as it works fine, there is no need anymore
to know the details within ;)
They were causing delays to everything else! I never tought of that,
and I didn`t expect the board to be so sensitive with such delays :/
Anyway, now the initial part is ok. I can receive some basic
information over the serial port, and trying to make the whole thing
work together (UDP sending and interrupted SCI1). When this works more
or less my objective will be met.
So far I can notice that various other interrupts take place while
SCI1 interrupt is active, coming from broadcast packets on the
Ethernet port. I haven`t done much testing yet of the whole program,
but in case this causes me any problems, is there a way to increase
the SCI1 interrupt`s priority over the others?
Thanks

.


Quantcast