Skip to content

Commit 049b4b5

Browse files
committed
Updated documentation
1 parent 0499e85 commit 049b4b5

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

doc/Device Registers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Notes:
121121
Bits | Type | Reset | Description
122122
---------- | ---------- | ---------- | -----------
123123
7:3 | RO | 5'h00 | Reserved
124-
2:0 | RW | 3'h3 | FIFO Almost Empty Register Value bits 10-8
124+
2:0 | RW | 3'h0 | FIFO Almost Empty Register Value bits 10-8
125125

126126
```
127127
Notes:
@@ -134,7 +134,7 @@ Notes:
134134

135135
Bits | Type | Reset | Description
136136
---------- | ---------- | ---------- | -----------
137-
7:0 | RW | 8'h99 | FIFO Almost Empty Register Value bits 7-0
137+
7:0 | RW | 8'h67 | FIFO Almost Empty Register Value bits 7-0
138138

139139
```
140140
Notes:
@@ -147,29 +147,29 @@ Notes:
147147

148148
Bits | Type | Reset | Description
149149
---------- | ---------- | ---------- | -----------
150-
7:0 | RW | 8'h10 | Number of clock cycles a WS2812 “Zero” value will be driven high (1)
150+
7:0 | RW | 8'h10 | Number of clock cycles a WS2812B “Zero” value will be driven high (1)
151151

152152

153153
## Offset: 0x08 - Zero Low Timing Register
154154

155155
Bits | Type | Reset | Description
156156
---------- | ---------- | ---------- | -----------
157-
7:0 | RW | 8'h24 | Number of clock cycles a WS2812 “Zero” value will be driven low (0)
157+
7:0 | RW | 8'h24 | Number of clock cycles a WS2812B “Zero” value will be driven low (0)
158158

159159

160160

161161
## Offset: 0x09 - One High Timing Register
162162

163163
Bits | Type | Reset | Description
164164
---------- | ---------- | ---------- | -----------
165-
7:0 | RW | 8'h24 | Number of clock cycles a WS2812 “One” value will be driven high (1)
165+
7:0 | RW | 8'h20 | Number of clock cycles a WS2812B “One” value will be driven high (1)
166166

167167

168168
## Offset: 0x0A - One Low Timing Register
169169

170170
Bits | Type | Reset | Description
171171
---------- | ---------- | ---------- | -----------
172-
7:0 | RW | 8'h20 | Number of clock cycles a WS2812 “One” value will be driven low (0)
172+
7:0 | RW | 8'h1B | Number of clock cycles a WS2812B “One” value will be driven low (0)
173173

174174

175175
## Offset: 0x0B - Reset Cycle Timing Register
@@ -189,7 +189,7 @@ Notes:
189189

190190
Bits | Type | Reset | Description
191191
---------- | ---------- | ---------- | -----------
192-
7:0 | RW | 8'h18 | Number ofclock cycles time 128 a Reset Code will be driven. Reset Code is driven between LED updates to signal the end of the shifting.
192+
7:0 | RW | 8'h31 | Number of clock cycles times 256 a Reset Code will be driven. Reset Code is driven between LED updates to signal the end of the shifting.
193193

194194

195195
## Offset: 0x0D - Run Register

doc/Register Worksheet WS2812.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WS2812 Nominal Timing Register Values
1+
# WS2812B Nominal Timing Register Values
22

33
WS2812 Nominal High+Low Timing: 1.25us +/- 600ns
44

@@ -25,7 +25,7 @@ T1H+T1L | 1300 | 600
2525

2626
Operation | Minimum (ns) | Tolerance (ns)
2727
---------- | ------------ | --------------
28-
Reset Code | 50000 | -
28+
Reset Code | 280000 | -
2929

3030

3131
### Oscillator
@@ -57,9 +57,9 @@ T1H+T1L | 57.629 | 59 | 1330.93
5757

5858
Operation | Divisor | Register Value | FPGA Timing (ns)
5959
---------- | -------- | -------------- | ----------------
60-
Reset Code | 17.316 | 18 | 51973.83
60+
Reset Code | 48.48593 | 49 | 282968.64
6161

6262
```
6363
Notes:
64-
1) The Reset Code register value is multiplied by 128 in system.
64+
1) The Reset Code register value is multiplied by 256 in system.
6565
```

doc/SPI Commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Load Reset Code | 0x07 | - | - | 1+
1717

1818
```
1919
Notes:
20-
1) Command fields with "-" indicate they are not present.
20+
1) Command fields with "-" indicate they are not present for the command.
2121
2) During Load RGB, Load WRGB, Load Reset Cycle and Load Reset Code commands the
2222
Status Register value is returned on the MISO. The Status Register has fields
2323
for the state of the FIFO and can be used for flow control by the Master.

0 commit comments

Comments
 (0)