Skip to content

hackdino/Uart_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Uart Example

UART usage with uc/OS-3 from Micrium.
Hardware => XMC4500 Relax Kit from Infineon.

Look at the following files!

- COM-Task in app.c

- BSP_IntHandler_Uart_Recive in bsp_init.c

- BSP_UART_Init in bsp_uart.c

Was developed by hackdino according to the following pattern:

Keeping the Data in Scope

Usage:

PIN_Layout: RXD = P0.0  TXD = P0.1 Mode: 8N1 9600

Start Byte => 0x1  Stop Byte => 0x17

Example: 
  Input:   0x1   0x46   0x48  0x54  0x57  0x17        // Send from Terminal
	  	| Start | "F" | "H" | "T" | "W" | Stop |
  Output:                                             // Print in COM-Task
	    Message : FHTW
	    Lenght: 4

Download the .zip file and import it in eclipse.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published