DMA to UART serial Driver for ColdFire

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

DMA to UART serial Driver for ColdFire

4,817 Views
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
Labels (1)
0 Kudos
2 Replies

394 Views
gachen
Contributor I

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

0 Kudos

394 Views
JackyPro
Contributor I
Thanks a million for your contribution.
0 Kudos