cippo2288 / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

clock / cycle time information #179

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
add cycle time to uint8_t u8g_InitCom(u8g_t *u8g, u8g_dev_t *dev);
-->
uint8_t u8g_InitCom(u8g_t *u8g, u8g_dev_t *dev, uint8_t clk_speed);

then extend U8G_COM_MSG_INIT and add cycle time

clk_speed 
1    1 ns
2    2 ns
3    3 ns
5    5 ns
7    7 ns
16+1    10 ns
16+2    20 ns
16+3    30 ns
16+5    50 ns
32+1   100 ns
32+2   200 ns
32+4   400 ns
48+1  1000 ns
48+2  2000 ns

Original issue reported on code.google.com by olikr...@gmail.com on 14 Jun 2013 at 4:50

GoogleCodeExporter commented 8 years ago
  SSD1351     50ns      20 MHz
  SSD1322   300ns         3.3 MHz
  SSD1327   300ns
  SSD1306   300ns
  ST7565        400ns         2.5 MHz
  ST7920        400ns

#define U8G_CLK_CYCLE_50NS 1
#define U8G_CLK_CYCLE_300NS 2
#define U8G_CLK_CYCLE_400NS 3
#define U8G_CLK_CYCLE_1200NS 4

Original comment by olikr...@gmail.com on 14 Jun 2013 at 8:06

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 14 Jun 2013 at 8:17

GoogleCodeExporter commented 8 years ago
#define U8G_SPI_CLK_CYCLE_50NS 1
#define U8G_SPI_CLK_CYCLE_300NS 2
#define U8G_SPI_CLK_CYCLE_400NS 3

Original comment by olikr...@gmail.com on 14 Jun 2013 at 8:19

GoogleCodeExporter commented 8 years ago
next step: improve HW SPI
do some FPS measure with RGB modes

Original comment by olikr...@gmail.com on 14 Jun 2013 at 9:40

GoogleCodeExporter commented 8 years ago
implemented

Original comment by olikr...@gmail.com on 24 Jun 2013 at 9:17