require example code for UART MCF55233CAL60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

require example code for UART MCF55233CAL60

1,947 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

916 次查看
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 项奖励
回复

916 次查看
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 项奖励
回复