Yamaha DRX-2 Service Manual page 68

Hide thumbs Also See for DRX-2:
Table of Contents

Advertisement

DRX-2
Nucleus Name
Nucleus Number
Description
Technical
Execution Time
User Input
Error
Example
68
DS_SYS_IicWrite
1209
Perform an IIC write action on the digital board
-
Determine bus ID, slave address, number of bytes to be written and the byte array of data
from the user input
-
Initialize IIC
-
Write the data to the slave specified through IIC
Less than 1 second
The user input the number of bytes to write followed by these bytes:
<BusID><Slave address to write to><number of bytes to write><d1><d2><..><dx>
Where the bus ID is either 0 (normally used) or 1
Number
Description
120900
Writing the data over IIC succeeded
120901
The IIC bus was not accessible
120902
There was a timeout writing to the device
120903
The IIC acknowledge was not received
120904
The communication with the device failed
120905
Got unknown IIC bus error:
120906
Unable to initialize IIC bus
120907
Decoding bus ID unsigned value failed
120908
Decoding slaveAddr unsigned value failed
120909
Decoding nrBytes unsigned value failed
120910
Bus ID out of range
120911
nrBytes out of range
120912
Unable to decode parameters
DS:> 1209 0 0xa0 1 0x6
120900: 1 Bytes written
Test OK @

Advertisement

Table of Contents
loading

Table of Contents