QDC10 - Multiplex Data on Battery Power Lines
3.5.3
Data from QDC10 to Host
When QDC10 device receives a message from the DC-BUS, data errors are corrected and sent to the
Host via a synchronous protocol. A header byte indicates the Host of a data transfer. The following table
describes the formats of data transferred to the Host.
Table 3.2 - Device response header
Header
RxData
Code
Fxh
40h
Description
Receive the following 16-x bytes of Data
Message transmission completed
TxAck
TxWakeAck
Reset
Sleep
40h
01h
Message transmission completed
Reset operation was performed
02h
04h
The device entered to Sleep mode
Corrupted message received. (Would not be transferred to Host)
RxError
For the value of x - see table 3.3
Table 3.3 - Transmit/Receive number of data bytes conversion table
bytes
x
Notice:
-
2
3
4
5
6
7
9
8
8
9
7
10
6
11
5
12
4
13
3
14
2
15
1
16
0
F
E
D
C
B
A
1. The Host has to begin reading data from the QDC10 within 2mS after the rise of DataOut and finish
reading it within 10mS in order not to miss a new message on the DC-BUS.
2. Device responds to Reset and Sleep within 30uS after the command is received. In such case
DataOut rises for byte transfer very quickly. The device responds to Tx command (TxAck) within 30mS.
3. Host has to read device response (Reset, Sleep, TxAck, etc.) within 2mS, otherwise the device may
miss a new message.
4. Transmit of one byte (RxData=FFh) is an illegal command.
4
SIGNALS
Device signals are defined in table 4.1.
Table 4.1 - Device signals
Signal Name
DataIn
I/O
I
Description
Serial Data input (for transmission)
Serial Data output
Pin
6
DataOut
ClockIn
TxData
O
I
13
12
7
Synchronous data transfer Host Clock
Transmit signal
Received signal
O
I
RxData
TxEnable
~Reset
17
8
O
I
When high, Transmit signal is enabled
Reset device
4
RxEnable
OscIn
O
I
When high, Receive signal is enabled
Crystal In
Crystal Out
2
16
15
18
OscOut
Res6
Other I/O
O
I
SSI Operation – connect to Ground
Application dependent
© 2002-2010 YAMAR Electronics Ltd.
5
DS-QDC10 R1.5
www.yamar.com
Shimon Hatarsi Tel Aviv, Israel. Tel (972) 3 5445294 Fax (972) 3 5445279