• No results found

56800/E SCI Hands-On Exercise

N/A
N/A
Protected

Academic year: 2021

Share "56800/E SCI Hands-On Exercise"

Copied!
38
0
0

Loading.... (view fulltext now)

Full text

(1)

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

(2)

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

(3)

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

(4)

56800/E Training

(5)

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

(6)

56800/E Training

™

Select MC56F8013VFAE

(7)

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

(8)

56800/E Training

™

Kick AsynchroSerial Bean

under Communication PE

menu

(9)

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

(10)

56800/E Training

™

Select Generate Code ‘SCI

Exercise.mcp’ under PE pull

down menu to generate the

code

(11)

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

(12)

56800/E Training

™

Open up the

SCI_Exercise.c:main file to

edit user code.

(13)

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

(14)

56800/E Training

™

Put PE Bean SendChar to

SCI_Exercise.c:main by

Drag-n-Drop Methods.

(15)

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.

(16)

56800/E Training

™

We need to wait for the 1

st

character send out

completely if we want to

(17)

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

(18)

56800/E Training

™

Enable GetTxComplete PE

Bean by kicking this dial

box

(19)

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

(20)

56800/E Training

™

Put PE Bean

GetTxComplete to

SCI_Exercise.c:main by

Drag-n-Drop Methods.

(21)

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

(22)

56800/E Training

™

Make every while statement

for every character sending

out.

(23)

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

(24)

56800/E Training

™

Kick Yes to update the

(25)

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

(26)

56800/E Training

™

Kick green arrow to

download the code to

56F801xEVB .

(27)

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

(28)
(29)

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

(30)

56800/E Training

™

Kick green arrow to run the

(31)

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.

(32)

56800/E Training

(33)

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

(34)

56800/E Training

™

Select 9600 baud rate, 8

data bit, no parity,1 stop bit,

none flow control

(35)

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

(36)
(37)

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

Summary

™

Understand the hardware and software support available for the 56800E Hybrid

Controller product line.

™

Demonstrated the ease of developing applications using CodeWarrior

(38)

56800/E Training

References

Related documents

Other company names and/or product names mentioned herein are the property of their respective owners and may be trademarks or registered trademarks.. Screen

Other company names and/or product names mentioned herein are the property of their respective owners and may be trademarks or registered trademarks.. Screen

Other trademarks, product, and company names are the property of their respective owners and do not imply specific product and/or vendor endorsement, sponsorship or association..

All trademarks, service marks, and trade names referenced in this material are the property of their respective owners... All trademarks, service marks, and trade names referenced

To edit a mail item that is already in the outbox you can either expand the “Outbox” node and select the item that you would like to edit or select the “Outbox” node, select the

All other product and company names and marks mentioned are the property of their respective owners and are mentioned for identification purposes only.. “Snap- Logic” is registered

All other product, brand and company names and logos used are trademarks or registered trademarks of their respective owners...

Alternatively, you may simply specify the field length. The scanner will assign the next specified number of characters into the field. Read the above label to divide field by