EasyManua.ls Logo

Freescale Semiconductor MPC5604B - Page 97

Default Icon
150 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The main function starts by initializing the system and configuring peripherals. UART driver is
set as 9600 8N1.
And then the program sends some welcome and information message and enters in an infinite
loop of communication with a PC. The program waits for an ASCII message made of 3 strings
separated by space characters, ending with a NUL character. The first string is 10 bits long and
stored in 0:9 addresses of RxBuff, the second occupies 10:19 and the last one 20:29. Then the
first one is compared to defined commands for a match.
For a correct match with ‘help’ a help message will be displayed, for other ones, more testing is
needed.

Table of Contents

Other manuals for Freescale Semiconductor MPC5604B

Related product manuals