Re: Queued SCI with Interrupts on MPC555

Ilija Koco <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hello

I have experience with MPC565 but it should be the same since i was
porting code from MPC555. The only tricky stuff is that SCI has 2 serial
ports that share some registers, but once made properly it works.
Actually MPC565 has 2 SCI so I am able to run all 4 serial ports
simultaneously.

Imho the main topic is IRQ strategy i.e. what do u do upon interrupt.
Shall u process 2 channel interrupts independently, even if you have
pending irq from both - or all at once. First approach is simpler since
you can debug 1 channel and just clone the same stuff to other. Second
approach should decrease interrupt load but is harder to debug. I
followed KISS philosophy so I took 1st approach and i can say that there
aren't problems up to 115200 (I haven't tested higher rates).

Best regards
Ilija

David Eicher wrote:
> Hello,
>
>
>
> Anyone have any experience with the subject matter? I've followed the
> examples in the demo code in the quickstart package, the top half and
> bottom
> half interrupts/flags just don't seem to work they way they suggest. The
> users manual for MPC555 doesn't give a lot of detail, but I have not
> succeeded in transmitting a string of bytes using interrupts yet. Using a
> polling method I was able to get transmit working using the transmission
> queue.
>
>
>
> Thanks for any help you might be able to offer,
>
>
>
> Dave
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -----------------------------------------------------------
> To learn more about Freescale Microcontrollers, please visit
> http://www.freescale.com/mcu
>
>
>
>
>
>
> SPONSORED LINKS
> Freescale semiconductor inc
> <http://groups.yahoo.com/gads?t=ms&k=Freescale+semiconductor+inc&w1=Freescale+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=106&.sig=K2HGv-zFlv5OYUv_QxIq_Q>
> 	Microcontrollers
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Freescale+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=106&.sig=SYHwNJjjGQXRvtt_GybT4g>
> 	Pic microcontrollers
> <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Freescale+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=106&.sig=umVbbnUwsPzEzKKD_pQfUw>
>
> 8051 microprocessor
> <http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Freescale+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=106&.sig=NO-nSKjHoAlh9XtZ8LB1_A>
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "MPC500
>       <http://groups.yahoo.com/group/MPC500>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [email protected]
>       <mailto:[email protected]?subject=Unsubscribe>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
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.