Nintendo 1504166 Programming Manual - Page 131

Cautions for Normal Serial Communications], SIOCNT [d02] Transfer Enable Flag Receive

Page 131 highlights

AGB Programming Manual Communication Functions SIOCNT [d03] Transfer Enable Flag Send A setting of 0 enables transfer; 1 disables it. This flag is output from the SO terminal until the start of a transfer. When the transfer starts, serial data are output from the SO terminal. SIOCNT [d02] Transfer Enable Flag Receive It is possible to read the status of SI terminal (transfer-enable flag transmitting of the other party's hardware) before communication starts. It becomes invalid after communication has started.(receive data bit during communication is reflected.) SIOCNT [d01] Internal Shift Clock Selection If 0, 256KHz is selected for the shift clock. If 1, 2MHz is selected for the shift clock. SIOCNT [d00] Shift Clock Selection If 0, an external clock is used as a shift clock. (slave) The external clock is input by the SC terminal from another hardware unit. SD terminal will go to LO output. If 1, an internal clock is used as a shift clock. (master) The internal clock is output from the SC terminal, and SD terminal will be in the pull-up input status. [Cautions for Normal Serial Communications] The shift clock should be selected before the start bit of the SIOCNT register is set. Extra shift operations may result if the serial transfer is started before or at the same time as the shift clock is selected. Do not use a value of the transfer enable flag receiving bit for SIOCNT register while the start bit of SIOCNT register is being set. (Because it transforms to a receiving data bit that is being communicated.) The 8 bit transfer mode is compatible in terms of modes with DMG/CGB, but the voltage with the communication terminal varies. Therefore, communication between AGB and DMG/CGB is not possible. Using a Game Link cable for DMG/MGB is prohibited in normal serial communication mode. It is possible to communicate at 256KHz and 2MHz with peripheral equipment that does not use a cable. ©1999 - 2001 Nintendo of America Inc. 131 D.C.N. AGB-06-0001-002B4

  • 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
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

AGB Programming Manual
Communication Functions
©1999 - 2001 Nintendo of America Inc.
131
D.C.N. AGB-06-0001-002B4
SIOCNT [d03] Transfer Enable Flag Send
A setting of 0 enables transfer; 1 disables it.
This flag is output from the SO terminal until the start of a transfer.
When
the transfer starts, serial data are output from the SO terminal.
SIOCNT [d02] Transfer Enable Flag Receive
It is possible to read the status of SI terminal (transfer-enable flag
transmitting of the other party's hardware) before communication starts.
It becomes invalid after communication has started.(receive data bit during
communication is reflected.)
SIOCNT [d01] Internal Shift Clock Selection
If 0, 256KHz is selected for the shift clock.
If 1, 2MHz is selected for the shift clock.
SIOCNT [d00] Shift Clock Selection
If 0, an external clock is used as a shift clock. (slave)
The external clock is input by the SC terminal from another hardware unit.
SD terminal will go to LO output.
If 1, an internal clock is
used as a shift clock. (master)
The internal clock is output from the SC terminal, and SD terminal will be in
the pull-up input status.
[Cautions for Normal Serial Communications]
The shift clock should be selected before the start bit of the SIOCNT register is set.
Extra shift operations may result if the serial transfer is started before or at the same
time as the shift clock is selected.
Do not use a value of the transfer enable flag receiving bit for SIOCNT register while
the start bit of SIOCNT register is being set. (Because it transforms to a receiving data
bit that is being communicated.)
The 8 bit transfer mode is compatible in terms of modes with DMG/CGB, but the
voltage with the communication terminal varies.
Therefore, communication between
AGB and DMG/CGB is not possible.
Using a Game Link cable for DMG/MGB is prohibited in normal serial communication
mode. It is possible to communicate at 256KHz and 2MHz with peripheral equipment
that does not use a cable.