參數(shù)資料
型號: AN1816
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: USING THE HC912B32 TO IMPLEMENT THE DISTRIBUTED SYSTEMS INTERFACE (DSI) PROTOCOL
中文描述: 使用本HC912B32為實施分布式系統(tǒng)接口(DSI)協(xié)議
文件頁數(shù): 15/24頁
文件大?。?/td> 332K
代理商: AN1816
AN1816
15
Summary
interframe delay, DLYx[B:A]. It is also used to enable interrupts, RIEx
and TIEx, and to select 12 -bit (8 data bits plus 4 CRC bits) or 20-bit (16
data bits plus 4 CRC bits) messages, MSx. This register is updated as
soon as new data is received over the SPI interface, however, the new
value does not take affect until the next DSI clock cycle after the
conclusion of the SPI write to this register. Finally, the DSIENABL
register is used to enable or disable each DSI channel. The function
SetupDSI shown in the source code in
Appendix 1 - Source Code
is an
example of how to set up the MC68HC55 SPI Peripheral’s registers. It
uses the SPI burst routine discussed in sub section:
‘Initialisation of the
PWM and SPI’
and sets up the registers for initialisation of the
programmable slave nodes.
Initialising the
Slave Nodes
Programmable
Devices
The source code shown in the main section of the program that calls
functions PgmAddr, PgmChk and ChkRsp in
Appendix 1 - Source Code
details a very simple routine to program the addresses into slave nodes.
It programs 15 slave nodes sequentially starting with address 1 (0001)
and finishing with address 15 (1111). To ensure the response from the
slave node whose address is being set is captured, the MC68HC55’s
clock period is set to SCLK divided by 4 and the interframe delay is set
to 32 bit times. This is achieved by writing $B0 to the MC68HC55’s
DSIxCTRL register (refer to sub section:
‘Initialisation of the MC68HC55
SPI Peripheral’s Registers’
).
Pre-programmed
Devices
When the network is configured with pre-programmed devices the
initialisation procedure is similar to that of programmable devices. An
initialisation command that contains the address of the slave node being
initialised is sent to that slave node. The slave node then responds to the
initialisation command to let the master know it is present in the network.
Summary
This Application Note has discussed a total system solution using a full
suite of Freescale ICs. Although the initial target application is automotive
airbag systems it could be used in other applications which require
remote sensors. The Distributed Systems Interface (DSI) has many
advantages in that it allows flexibility of system design, is easily
expandible and allows the central module size to decrease while the
system content grows.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN2104 Using Background Debug Mode for the M68HC12 Family
AN2154FAP TV/Video Signal Processor
AN22011A For Video·Audio - MD
AN2241 Video Camera Circuit
AN2250S Video Camera Circuit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN18164B 制造商:PANASONIC 制造商全稱:Panasonic Semiconductor 功能描述:Car Radio FM/AM tuner IC built-in PLL synthesizer
AN18165B 制造商:PANASONIC 制造商全稱:Panasonic Semiconductor 功能描述:FM-MPX demodulation / FM noise canceller for car radio
AN18202A 制造商:PANASONIC 制造商全稱:Panasonic Semiconductor 功能描述:Audio Video SW for TV with multi-signal input output
AN18207A 制造商:PANASONIC 制造商全稱:Panasonic Semiconductor 功能描述:Tuner IC for home-audio stereo set
AN18208A 制造商:PANASONIC 制造商全稱:Panasonic Semiconductor 功能描述:Tuner IC for home-audio stereo set