mc33905s Freescale Semiconductor, Inc, mc33905s Datasheet - Page 58

no-image

mc33905s

Manufacturer Part Number
mc33905s
Description
System Basis Chip Gen2 With High Speed Can And Lin Interface
Manufacturer
Freescale Semiconductor, Inc
Datasheet
COMPLETE SPI OPERATION
options. Both MOSI and MISO information are described.
is selected and parity = 1.
PARITY BIT 8
Calculation
= 01). It is calculated based on the number of logic one
contained in bits 15-9,7-0 sequence (this is the whole 16 bits
of the write command except bit 8).
Examples 1:
because the command contains 7 bits with logic 1.
58
33904/5
Table 12. SPI Capabilities with Options
SERIAL PERIPHERAL INTERFACE
DETAIL OPERATION
Read back of “device control bits” (MOSI bit 7 = 0)
Write device control bit to address selected by bits
Read device flags and wake-up flags, from register
Read specific device information (MOSI bit 7 = 1)
MISO return fixed device status (bit 15-8) + flags
from the selected address and sub-address.
Table 12
address (bit 13-9), and sub address (bit 7).
Note:
The parity is used for write to register command (bit 15,14
Bit 8 must be set to 0 if the number of 1 is odd.
Bit 8 must be set to 1if the number of 1 is even.
MOSI [bit 15-0]= 01 00 011 P 01101001, P should be 0,
MISO return 16 bits device status
P = 0 if parity bit is not selected or parity = 0. P = 1 if parity
Type of Command
is a compiled view of all the SPI capabilities and
Reserved
(13-9).
OR
MOSI/
MISO
MOSI
MISO
MOSI
MISO
MOSI
MISO
MOSI
MISO
MISO
MOSI
MISO
MOSI
Control bits
[15-14]
00
00
01
10
11
11
Device Fixed Status (8 bits)
Device Fixed Status (8 bits)
Device Fixed Status (8 bits)
Device Fixed Status (8 bits)
Device Fixed Status (8 bits)
Address
address
address
address
address
address
[13-9]
Examples 2:
because the command contains 4 bits with logic 1.
Parity function selection:
MISC register.
then Parity bits in all SPI commands (bit 8) must be “0”.
Thus the Exact command will then be:
MOSI [bit 15-0]= 01 00 011 0 01101001
MOSI [bit 15-0]= 01 00 011 P 0100 0000, P should be 1,
Thus the Exact command will then be:
MOSI [bit 15-0]= 01 00 011 1 0100 0000
The parity function is optional. It is selected by bit 6 in INIT
If parity function is not selected (bit 6 of INIT MISC =0),
Parity/Next
Reserved
bits [8]
(note)
1
1
1
Reserved
Bit 7
0
1
0
1
Analog Integrated Circuit Device Data
Reserved
Read of device flags form a register address,
Read of device flags form a register address,
Device Extended Status (8 bits)
Register control bits content
Device ID and I/Os state
and sub address HIGH (bit 7)
and sub address LOW (bit 7)
Control bits
Freescale Semiconductor
Flags
Flags
Bits [6-0]
000 0000
000 0000

Related parts for mc33905s