Difference between revisions of "Kitchenlight"
(Initial) |
(→Timing) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
= Kitchenlight = | = Kitchenlight = | ||
− | The | + | The 30 x 6 Pixels (?), 10bit RGB Color Display above the kitchen. |
== ShiftBrite 2.0 Documentation == | == ShiftBrite 2.0 Documentation == | ||
Line 9: | Line 9: | ||
Datasheet A6281 Driver: http://www.allegromicro.com/en/Products/Part_Numbers/6281/6281.pdf | Datasheet A6281 Driver: http://www.allegromicro.com/en/Products/Part_Numbers/6281/6281.pdf | ||
− | - Serial port operates at up to 5 MHz | + | - Serial port operates at up to 5 / 6 MHz |
- Clock: "100 ns One-Shot" (Page 3) | - Clock: "100 ns One-Shot" (Page 3) | ||
+ | - On CL_in CL_out is triggered internally for 100ns (Page 6) | ||
+ | - | ||
+ | |||
+ | |||
+ | == Timing == | ||
+ | tsu = 20 ns + n × 5 ns | ||
+ | >> = 20 ns + (40 * 8) * 5 ns | ||
+ | >> = ca 2 µs | ||
+ | >> Setup delay min | ||
+ | |||
+ | 30 * 6 => 180 Modules. | ||
+ | |||
+ | 180 * 32 bit > 5760 Bits per Image | ||
+ | |||
+ | Image / Control im wechsel => 11520 Bits | ||
+ | |||
+ | 2µs / Bit > 23.040µs / Frame | ||
+ | |||
+ | 23s / Sekunde => 43 FPS | ||
+ | |||
+ | == Brightness Correction == | ||
+ | |||
+ | Iout = Iout(max) × (Scale / 2 + 36.5) / 100 | ||
+ | |||
+ | | 0 < Scale < 127 || default: Scale = 0 | ||
+ | |||
+ | >> Default: LEDs shine with 36.5% brightness | ||
== SPI Info & STM32F4 Code == | == SPI Info & STM32F4 Code == |
Latest revision as of 16:35, 21 October 2013
Contents
Kitchenlight
The 30 x 6 Pixels (?), 10bit RGB Color Display above the kitchen.
ShiftBrite 2.0 Documentation
Website: http://docs.macetech.com/doku.php/shiftbrite_2.0
Datasheet A6281 Driver: http://www.allegromicro.com/en/Products/Part_Numbers/6281/6281.pdf
- Serial port operates at up to 5 / 6 MHz - Clock: "100 ns One-Shot" (Page 3) - On CL_in CL_out is triggered internally for 100ns (Page 6) -
Timing
tsu = 20 ns + n × 5 ns >> = 20 ns + (40 * 8) * 5 ns >> = ca 2 µs >> Setup delay min
30 * 6 => 180 Modules.
180 * 32 bit > 5760 Bits per Image
Image / Control im wechsel => 11520 Bits
2µs / Bit > 23.040µs / Frame
23s / Sekunde => 43 FPS
Brightness Correction
Iout = Iout(max) × (Scale / 2 + 36.5) / 100
| 0 < Scale < 127 || default: Scale = 0
>> Default: LEDs shine with 36.5% brightness
SPI Info & STM32F4 Code
Wiki SPI [[1]]
U23 Github https://github.com/cccc/U23_2013_examples/tree/spi_example/bare_metal/04_spi