MC68MH360ZP33L Freescale Semiconductor, MC68MH360ZP33L Datasheet - Page 654

IC MPU 32BIT QUICC 357-PBGA

MC68MH360ZP33L

Manufacturer Part Number
MC68MH360ZP33L
Description
IC MPU 32BIT QUICC 357-PBGA
Manufacturer
Freescale Semiconductor
Datasheets

Specifications of MC68MH360ZP33L

Processor Type
M683xx 32-Bit
Speed
33MHz
Voltage
5V
Mounting Type
Surface Mount
Package / Case
357-PBGA
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Features
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68MH360ZP33L
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
MC68MH360ZP33L
Manufacturer:
MOTOLOLA
Quantity:
672
Part Number:
MC68MH360ZP33L
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68MH360ZP33L
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC68MH360ZP33LR2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Serial Peripheral Interface (SPI)
7.12.7 SPI Slave Example
The following list is an initialization sequence for use of the SPI as a slave. It is very similar
to the SPI master example except that the SPISEL pin is used, rather than a general-pur-
pose I/O pin.
7-330
12. Write $00000020 to the CIMR to allow the SPI to generate a system interrupt.
13. Write $0370 to SPMODE to enable normal operation (not loopback), master
14. Write PBDAT bit 0 with zero to assert the SPI select pin.
15. Set the STR bit in the SPCOM to start the transfer.
1. The SDCR (SDMA Configuration Register) should be initialized to $0740, rather than
2. Configure the port B pins to enable the SPIMOSI, SPIMISO, SPISEL, and SPICLK
3. Write RBASE and TBASE in the SPI parameter RAM to point to the Rx BD and Tx
4. Program the CR to execute the INIT RX & TX PARAMS command for this channel.
5. Write RFCR with $18 and TFCR with $18 for normal operation.
6. Write MRBLR with the maximum number of bytes per receive buffer. For this case,
7. Initialize the Rx BD. Assume the Rx data buffer is at $00001000 in main memory.
8. Initialize the Tx BD. Assume the Tx data buffer is at $00002000 in main memory
9. Write $FF to the SPIE to clear any previous events.
10. Write $37 to the SPIM to enable all possible SPI interrupts.
11. Write $00000020 to the CIMR to allow the SPI to generate a system interrupt. (The
(The CICR should also be initialized.)
mode, SPI enabled, 8-bit characters, and the fastest speed possible.
being left at its default value of $0000.
pins. Write PBPAR bits 0, 1, 2, and 3 with ones. Write PBDIR bits 0, 1, 2, and 3
with ones. Write PBODR bits 0, 1, 2, and 3 with zeros.
BD in the dual-port RAM. Assuming one Rx BD at the beginning of dual-port RAM
and one Tx BD following that Rx BD, write RBASE with $0000 and TBASE with
$0008.
For instance, to execute this command for SCC1, write $0001 to the CR. This com-
mand causes the RBPTR and TBPTR parameters of the serial channel to be updated
with the new values just programmed into RBASE and TBASE.
assume 16 bytes, so MRBLR = $0010.
Write $B000 to Rx_BD_Status. Write $0000 to Rx_BD_Length (not required—
done for instructional purposes only). Write $00001000 to Rx_BD_Pointer.
and contains five 8-bit characters. Write $B800 to Tx_BD_Status. Write $0005 to
Tx_BD_Length. Write $00002000 to Tx_BD_Pointer.
After 5 bytes have been transmitted, the Tx BD is closed. Addi-
tionally, the receive buffer is closed after 5 bytes have been re-
ceived because the L-bit of the Tx BD was set.
Freescale Semiconductor, Inc.
For More Information On This Product,
MC68360 USER’S MANUAL
Go to: www.freescale.com
NOTE
MOTOROLA

Related parts for MC68MH360ZP33L