MC68HC908GP32CB Freescale Semiconductor, MC68HC908GP32CB Datasheet - Page 190

no-image

MC68HC908GP32CB

Manufacturer Part Number
MC68HC908GP32CB
Description
IC MCU 32K FLASH 8MHZ 42-SDIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908GP32CB

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
SCI, SPI
Peripherals
LVD, POR, PWM
Number Of I /o
33
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
42-DIP (0.600", 15.24mm)
For Use With
M68EVB908GP32 - BOARD EVALUATION FOR HC908GP32
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Serial Peripheral Interface Module (SPI)
15.13 I/O Registers
Three registers control and monitor SPI operation:
15.13.1 SPI Control Register
The SPI control register:
SPRIE — SPI Receiver Interrupt Enable Bit
SPMSTR — SPI Master Bit
CPOL — Clock Polarity Bit
CPHA — Clock Phase Bit
SPWOM — SPI Wired-OR Mode Bit
190
This read/write bit enables CPU interrupt requests generated by the SPRF bit. The SPRF bit is set
when a byte transfers from the shift register to the receive data register. Reset clears the SPRIE bit.
This read/write bit selects master mode operation or slave mode operation. Reset sets the SPMSTR
bit.
This read/write bit determines the logic state of the SPSCK pin between transmissions. (See
15-4
CPOL values. Reset clears the CPOL bit.
This read/write bit controls the timing relationship between the serial clock and SPI data. (See
15-4
CPHA values. When CPHA = 0, the SS pin of the slave SPI module must be set to logic 1 between
bytes. (See
This read/write bit disables the pullup devices on pins SPSCK, MOSI, and MISO so that those pins
become open-drain outputs.
1 = SPRF CPU interrupt requests enabled
0 = SPRF CPU interrupt requests disabled
1 = Master mode
0 = Slave mode
SPI control register (SPCR)
SPI status and control register (SPSCR)
SPI data register (SPDR)
Enables SPI module interrupt requests
Configures the SPI module as master or slave
Selects serial clock polarity and phase
Configures the SPSCK, MOSI, and MISO pins as open-drain outputs
Enables the SPI module
and
and
Figure
Figure
Address: $0010
Figure
Reset:
Read:
Write:
15-6.) To transmit data between SPI modules, the SPI modules must have identical
15-6.) To transmit data between SPI modules, the SPI modules must have identical
15-12.) Reset sets the CPHA bit.
SPRIE
Bit 7
0
Figure 15-13. SPI Control Register (SPCR)
R
6
0
MC68HC908GP32 Data Sheet, Rev. 10
SPMSTR
5
1
CPOL
R
4
0
= Reserved
CPHA
3
1
SPWOM
2
0
SPE
1
0
Freescale Semiconductor
SPTIE
Bit 0
0
Figure
Figure

Related parts for MC68HC908GP32CB