Electronic Components Datasheet Search
  English  ▼

X  

AN1816 Datasheet(PDF) 13 Page - Freescale Semiconductor, Inc

Part # AN1816
Description  USING THE HC912B32 TO IMPLEMENT THE DISTRIBUTED SYSTEMS INTERFACE (DSI) PROTOCOL
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

AN1816 Datasheet(HTML) 13 Page - Freescale Semiconductor, Inc

Back Button AN1816 Datasheet HTML 9Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 10Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 11Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 12Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 13Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 14Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 15Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 16Page - Freescale Semiconductor, Inc AN1816 Datasheet HTML 17Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 24 page
background image
AN1816
13
SOFTWARE DESIGN
Figure 12 SPI Burst Transfer Example
When CS is driven low by the HC912B32, the MC68HC55 SPI
Peripheral is enabled and the first SPI transfer after this is a command
transfer. Bit7 of this command determines if it is a read (0) or a write (1)
command. Bits[2:0] specify the address of one of the eight MC68HC55
registers and an internal pointer is established. Data sent back to the
HC912B32 from the MC68HC55 during a command transfer is read data
from the adress previously pointed to (this would be all zeros for the first
transfer after reset). Any additional transfers result in a write-to or
read-from successive registers in the MC68HC55. The internal register
pointer is incremented at the end of the transfer and will roll over from 7
(111) to 0(000). CS remains low throughout the whole burst sequence
and is driven high at the end by the HC912B32. Possible software
routines to perform the SPI set-up and to control the transfer of data in
SPI burst mode are shown in the source code detailed in functions
InitSpi and SpiBurst in Appendix 1 - Source Code.
Initialisation of
the MC68HC55
SPI Peripheral’s
Registers
Table 2 DSI Registers shows the MC68HC55 registers. The HC912B32
can read-from or write-to the MC68HC55’s seven registers through the
SPI interface. Data to be transferred to the slave nodes is written into the
CLK
DI
DO
CS*
COMMAND – WRT (000)
WRITE DSI0L (001)
WRITE DSI0H (000)
ZEROS (1ST transfer after reset)
READ DSI0L (001)
READ DSI0H (000)
DSI0H
- Data Access for DSI/D Channel 0 (high byte)
address - 000
Bit 7
6
5
4
3
2
1
Bit 0
Bit-15
Bit-14
Bit-13
Bit-12
Bit-11
Bit-10
Bit-9
Bit-8
High
DSI0L
- Data Access for DSI/D Channel 0 (low byte)
address - 001
Bit 7
6
5
4
3
2
1
Bit 0
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
Low
Table 2 DSI Registers
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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


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