Casio WK3800 Instruction Manual - Page 38

Check Sum

Page 38 highlights

When act = 02(BDS) or 04(HDS) Format: 0dddddddB 0cccccccB 000000abB For a bulk data transfer operation, the Parameter Set data to be transferred is read sequentially in 16-bit data starting from the top address. Read values are divided into 3-byte segments as shown below, and then sent in sequence. The following is the conversion format, which is the same as the individual parameter 16-bit transfer detailed above. 16-bit Memory Image MSB: LSB: abccccccB cdddddddB ↓ data0: 0dddddddB data1: 0cccccccB data2: 000000abB Note, however, that a parameter set of 128 bytes or less can be sent using a single packet, and anything greater than 128 bytes is divided among multiple packets. This means that the maximum length "data" field is 128/2 × 3 = 192 bytes. Only one parameter set can be transferred per session, and data from different parameter sets cannot be mixed within a single packet, even when sending multiple parameter sets. Different parameter sets are always divided into separate packets. 17.2.12 12...sum Check Sum When act = 00(IPC), 01(IPR), 03(BDR), 05(HDR) or 7(EOD, HDA, HDJ, HDE, BSY, EOS, NOP) Format: - This field is always empty. When act = 02(BDS) or 04(HDS) Format: 0sssssssB In this case, the "sum" field contains a value, which, when added to the total value of the "data" field, makes the lower seven bits 0. The receiving side checks if this is true, and performs error handling (re-request, etc.) if it is not. 17.2.13 14...EOX : End of System Exclusive Message Format: 11110111B (End of System Exclusive message Status = F7H) 38

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84

38
For a bulk data transfer operation, the Parameter Set data to be transferred is read sequentially in 16-bit data
starting from the top address. Read values are divided into 3-byte segments as shown below, and then sent in
sequence.
The following is the conversion format, which is the same as the individual parameter 16-bit transfer detailed
above.
16-bit Memory Image
Note, however, that a parameter set of 128 bytes or less can be sent using a single packet, and anything greater
than 128 bytes is divided among multiple packets.
This means that the maximum length "
data
" field is 128/2
×
3 = 192 bytes.
Only one parameter set can be transferred per session, and data from different parameter sets cannot be mixed
within a single packet, even when sending multiple parameter sets. Different parameter sets are always divided into
separate packets.
17.2.12
12...
sum
Check Sum
This field is always empty.
In this case, the "sum" field contains a value, which, when added to the total value of the "
data
" field, makes the
lower seven bits 0. The receiving side checks if this is true, and performs error handling (re-request, etc.) if it is
not.
17.2.13
14...EOX : End of System Exclusive Message
(End of System Exclusive message Status = F7H)
When
act
= 02(BDS) or 04(HDS)
Format:
0dddddddB
0cccccccB
000000abB
MSB:
abccccccB
LSB:
cdddddddB
data0: 0dddddddB
data1: 0cccccccB
data2: 000000abB
When
act
= 00(IPC), 01(IPR), 03(BDR), 05(HDR) or 7(EOD, HDA, HDJ, HDE, BSY, EOS, NOP)
Format: -
When
act
= 02(BDS) or 04(HDS)
Format:
0sssssssB
Format:
11110111B