Difference between revisions of "Kitchenlight"

From C4 Wiki
Jump to: navigation, search
(ShiftBrite 2.0 Documentation)
(ShiftBrite 2.0 Documentation)
Line 12: Line 12:
 
  - 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)
 
  - On CL_in CL_out is triggered internally for 100ns (Page 6)
  -  
+
  -
  
 +
tsu = 20 ns + n × 5 ns
 +
>>  = 20 ns + (40 * 8) * 5 ns
 +
>>  = ca 2 µs
 +
Setup delay min
  
 
== Brightness Correction ==
 
== Brightness Correction ==

Revision as of 20:18, 20 October 2013

Kitchenlight

The 40 x 8 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)
-

tsu = 20 ns + n × 5 ns >> = 20 ns + (40 * 8) * 5 ns >> = ca 2 µs Setup delay min

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