SCI Hands-on Exercise for 56800/E Digital Signal Controllers

56800/E SCI Hands-On Exercise
Slide 1
56800/E
Training
Presenter Logo Here
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
Develop a monitor application that uses SCI in messages between PC and DSC56F801x EVB.
HyperTerminal (Console) for
CAN Data Display
via RS232,
Bits/sec : 9600
No parity : none
Stop bit : 1
Hardware : None
Serial Port (SCI)
RS232
56F801x
EVB
56F801x
JTAG-DSP
AXM-0337
TM
Slide 2
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
Approach
™Use Processor Expert Beans to implement Target System application
9AsynchroSerial
9Download and Execute on 56F801x Demo Board
TM
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
56800/E Training
™ Click File pull down menu
TM
Slide 4
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
™ Select PE stationary
™ Type SCI Exercise inside
the dial box
TM
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
56800/E Training
™ Select MC56F8013VFAE
project stationery
TM
Slide 6
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
™ PE template is shown on.
TM
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
56800/E Training
™ Kick AsynchroSerial Bean
under Communication PE
menu
™ Then, kick Baud rate dial box
under the properties of Bean
Inspector
AS1:AsynchroSerial
TM
Slide 8
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
™ Type 9600 baud rate inside
the dial box
TM
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
56800/E Training
™ Select Generate Code ‘SCI
Exercise.mcp’ under PE pull
down menu to generate the
code
TM
Slide 10
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
TM
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.
TM
Slide 12
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
™ Select PE Bean SendChar
for sending out characters
TM
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
56800/E Training
™ Put PE Bean SendChar to
SCI_Exercise.c:main by
Drag-n-Drop Methods.
TM
Slide 14
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
™ Made more characters to
send out by Copy-n-Paste
methods.
TM
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
56800/E Training
™ We need to wait for the 1st
character send out
completely if we want to
send out 2nd character in
SCI communication.
™ kick Methods page of Bean
Inspector
AS1:AsynchroSerial
TM
Slide 16
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
™ Enable GetRxIdle PE Bean
by kicking this dial box
TM
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
56800/E Training
™ Enable GetTxComplete PE
Bean by kicking this dial
box
TM
Slide 18
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
™ Scroll up the screen to
reach GetTxComplete PE
Bean by kick the scroll bar
TM
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
56800/E Training
™ Put PE Bean
GetTxComplete to
SCI_Exercise.c:main by
Drag-n-Drop Methods.
TM
Slide 20
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
™ Modify it as while
statement.
TM
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
56800/E Training
™ Make every while statement
for every character sending
out.
TM
Slide 22
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
TM
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
code.
TM
Slide 24
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
TM
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 .
TM
Slide 26
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
TM
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
TM
Slide 28
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
TM
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
code inside 56F801xEVB .
TM
Slide 30
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
™ Invoke HyperTerminal for
getting the characters from
56F801xEVB.
TM
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
56800/E Training
™ Type the name you want
TM
Slide 32
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
™ Select your PC COM port
for communication
TM
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
56800/E Training
™ Select 9600 baud rate, 8
data bit, no parity,1 stop bit,
none flow control
™ Then, kick OK
TM
Slide 34
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
™ “Hello” is shown on the
HyperTerminal screen
TM
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
Summary
Slide 36
56800/E
Training
Presenter Logo Here
Slide 36
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
Summary
™Understand the hardware and software support available for the 56800E Hybrid
Controller product line.
™Demonstrated the ease of developing applications using CodeWarrior
development tools with Processor Expert™ technology.
TM
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
56800/E Training
Thank You!!!
TM
Slide 38
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