Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC8280 Datasheet(PDF) 729 Page - Freescale Semiconductor, Inc

Part # MPC8280
Description  PowerQUICC??II Family Reference Manual
PDF  1386 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8280 Datasheet(HTML) 729 Page - Freescale Semiconductor, Inc

Back Button MPC8280 Datasheet HTML 725Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 726Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 727Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 728Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 729Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 730Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 731Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 732Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 733Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 729 / 1386 page
background image
SCC UART Mode
MPC8280 PowerQUICC II Family Reference Manual, Rev. 1
Freescale Semiconductor
21-23
17. Initialize the RxBD. Assume the Rx buffer is at 0x0000_1000 in main memory. Write 0xB000 to
the RxBD[Status and Control], 0x0000 to RxBD[Data Length] (optional), and 0x0000_1000 to
RxBD[Buffer Pointer].
18. Initialize the TxBD. Assume the buffer is at 0x0000_2000 in main memory and contains sixteen
8-bit characters. Write 0xB000 to the TxBD[Status and Control], 0x0010 to TxBD[Data Length],
and 0x00002000 to TxBD[Buffer Pointer].
19. Write 0xFFFF to SCCE2 to clear any previous events.
20. Write 0x0003 to SCCM2 to allow the TX and RX interrupts.
21. Write 0x0040_0000 to the SIMR_L so SCC2 can generate a system interrupt. Initialize SIPNR_L
by writing 0xFFFF_FFFF to it.
22. Write 0x0000_0020 to GSMR_H2 to configure a small Rx FIFO width.
23. Write 0x0002_8004 to GSMR_L2 to configure 16
× sampling for transmit and receive, CTS and
CD to automatically control transmission and reception (DIAG bits), and the SCC for UART mode.
Notice that the transmitter (ENT) and receiver (ENR) have not been enabled yet.
24. Set PSMR2 to 0xB000 to configure automatic flow control using CTS, 8-bit characters, no parity,
1 stop bit, and asynchronous SCC UART operation.
25. Write 0x0002_8034 to GSMR_L2 to enable the transmitter and receiver. This ensures that ENT
and ENR are enabled last.
NOTE
After 16 bytes are sent, the transmit buffer is closed. Additionally, the
receive buffer is closed after 16 bytes are received. Data received after 16
bytes causes a busy (out-of-buffers) condition because only one RxBD is
prepared.
21.22 S-Records Loader Application
This section describes a downloading application that uses an SCC UART controller. The application
performs S-record downloads and uploads between a host computer and an intelligent peripheral through
a serial asynchronous line. S-records are strings of ASCII characters that begin with ‘S’ and end in an
end-of-line character. This characteristic is used to impose a message structure on the communication
between the devices. For flow control, each device can transmit XON and XOFF characters, which are not
part of the program being uploaded or downloaded.
For simplicity, assume that the line is not multidrop (no addresses are sent) and that each S-record fits into
a single buffer. Follow the basic UART initialization sequence above in Section 21.21, “SCC UART
Programming Example,” except allow for more and larger buffers and create the control character table as
described in Table 21-14.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com