require example code for UART MCF55233CAL60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

require example code for UART MCF55233CAL60

1,909 Views
paddy
Contributor I
Hi,
 
i am new to this microcontroller, if any one has example code for UART for this controller. could please send me. what are the steps to be take care while writing code for UART.
 
Regards,
paddy
Labels (1)
0 Kudos
Reply
2 Replies

878 Views
daverj
Contributor I
The Coldfire Niche Light project, available free on the MCF52235 page of the Freescale site contains several sample builds, including serial port code. It also has an ethernet TCP/IP stack, but there are builds in the project that strip out various sections of the code giving simpler projects with less bulk to them.
0 Kudos
Reply

878 Views
mjbcswitzerland
Specialist V
Hi Paddy

The UARTs can be driven in interrupt or DMA mode, with or without HW/SW flow control so there are various possible code options.

Take a look at the uTasker project since it includes most options for UART (as well as various other peripherals, an OS, a TCP/IP stack and USB). It also allows you to develop and test complete code for the MCF52233 in the uTasker simulator - the simulated device will communicate either via a real COM port or else a virtual loop back device (eg com0com - see the following http://www.utasker.com/forum/index.php?topic=343.0 ).

See the web site below and its forum at www.uTasker.com/forum as well as on-line demo at demo.utasker.com (where you can configure its UART :smileywink: ).

Regards

Mark

www.uTasker.com

0 Kudos
Reply