DMA to UART serial Driver for ColdFire

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

DMA to UART serial Driver for ColdFire

4,896 次查看
ericgregori
Contributor I
 
I wrote a DMA to UART serial driver for ColdFire.
 
You can get it at
 
 
 
This firmware is an example of how to use DMA transfers to and from the UART.
The source code is only about 200 lines, but includes 600 lines of comments. The project is for a MCF52233DEMO board, but the firmware will work on a MCF521x, MCF5223x(Ethernet), or MCF5222x(USB) MPU.

 

Functions:
                  int main(void)
                  unsigned char Get_Byte_From_Ring() - Take one byte from RX ring buffer
                  void Use_DMA_to_Send_Message( char *null_terminated_string )
                 unsigned char Check_DMA_Message_Status()
                 init_DMA()
                 init_DMA_UART_RX()
                 DMA3_isr() - interrupt is generated only when RX buffer is full (256 bytes)
                 uart_init() - example of how to init UART from ColdFire template
标签 (1)
0 项奖励
回复
2 回复数

473 次查看
gachen
Contributor I

The link to your patch is not valid anymore, could you update it again?

0 项奖励
回复

473 次查看
JackyPro
Contributor I
Thanks a million for your contribution.
0 项奖励
回复