Slide 1
Presenter Logo Here
56800/E Training
Slide 1
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
56800/E Training
Task Description
Serial Port (SCI)
Develop a monitor application that uses SCI in messages between PC and DSC56F801x EVB.
56F801x
EVB
HyperTerminal (Console) for
CAN Data Display
via RS232,
Bits/sec : 9600
No parity : none
Stop bit : 1
Hardware : None
RS232
56F801x
JTAG-DSP
AXM-0337
56800/E Training
Slide 3
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Approach
Use Processor Expert Beans to implement Target System application
9
AsynchroSerial
56800/E Training
56800/E Training
Slide 5
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Select PE stationary
Type SCI Exercise inside
56800/E Training
Select MC56F8013VFAE
56800/E Training
Slide 7
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
56800/E Training
Kick AsynchroSerial Bean
under Communication PE
menu
56800/E Training
Slide 9
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Type 9600 baud rate inside
56800/E Training
Select Generate Code ‘SCI
Exercise.mcp’ under PE pull
down menu to generate the
code
56800/E Training
Slide 11
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
56800/E Training
Open up the
SCI_Exercise.c:main file to
edit user code.
56800/E Training
Slide 13
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Select PE Bean SendChar
56800/E Training
Put PE Bean SendChar to
SCI_Exercise.c:main by
Drag-n-Drop Methods.
56800/E Training
Slide 15
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Made more characters to
send out by Copy-n-Paste
methods.
56800/E Training
We need to wait for the 1
st
character send out
completely if we want to
56800/E Training
Slide 17
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Enable GetRxIdle PE Bean
56800/E Training
Enable GetTxComplete PE
Bean by kicking this dial
box
56800/E Training
Slide 19
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Scroll up the screen to
reach GetTxComplete PE
Bean by kick the scroll bar
56800/E Training
Put PE Bean
GetTxComplete to
SCI_Exercise.c:main by
Drag-n-Drop Methods.
56800/E Training
Slide 21
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Modify it as while
56800/E Training
Make every while statement
for every character sending
out.
56800/E Training
Slide 23
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
56800/E Training
Kick Yes to update the
56800/E Training
Slide 25
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
56800/E Training
Kick green arrow to
download the code to
56F801xEVB .
56800/E Training
Slide 27
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
56800/E Training
Slide 29
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
56800/E Training
Kick green arrow to run the
56800/E Training
Slide 31
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Invoke HyperTerminal for
getting the characters from
56F801xEVB.
56800/E Training
56800/E Training
Slide 33
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
Select your PC COM port
56800/E Training
Select 9600 baud rate, 8
data bit, no parity,1 stop bit,
none flow control
56800/E Training
Slide 35
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM
“Hello” is shown on the
56800/E Training
Slide 37
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004
TM