File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,3 +124,12 @@ topic is the
124124Downloading from the ST website requires a (free) registration. Somebody
125125uploaded the full package to github:
126126https://github.com/jiaohaitao/stsw-stm8004
127+
128+ There are some important notes on I2C implementation in the errata sheets:
129+
130+ - [ STM8S001J3/003xx/103xx/903xx Errata sheet, rev. 5
131+ (CD00265449)] ( https://www.st.com/content/ccc/resource/technical/document/errata_sheet/c9/f9/ef/bf/63/91/4a/1f/CD00265449.pdf/files/CD00265449.pdf/jcr:content/translations/en.CD00265449.pdf )
132+ - [ STM8S005xx STM8S105xx Errata sheet, rev. 7
133+ (CD00270741)] ( https://www.st.com/content/ccc/resource/technical/document/errata_sheet/e3/c3/4e/24/0c/ca/4b/e7/CD00270741.pdf/files/CD00270741.pdf/jcr:content/translations/en.CD00270741.pdf )
134+ - [ STM8S007xx STM8S20xxx Errata sheet, rev. 6
135+ (CD00244749)] ( https://www.st.com/content/ccc/resource/technical/document/errata_sheet/7a/94/8f/fe/84/14/41/6d/CD00244749.pdf/files/CD00244749.pdf/jcr:content/translations/en.CD00244749.pdf )
Original file line number Diff line number Diff line change @@ -12,6 +12,21 @@ graphical features are missing.
1212The Library only supports I2C communication.
1313
1414
15+ ## Limitations
16+
17+ This Library uses a full display buffer. For a 128x64 display this requires
18+ 128x64 = 8kbit = 1kB of RAM for the display buffer. Since the STM8S103 has
19+ only 1kB RAM total, there is no way that this will fit. If you ignore the
20+ compiler warnings about insufficient RAM, it will still run, but you will
21+ see a graphical memory dump in the lower part of your display. If you are
22+ careful not to modify that part of the memory the program still works, but
23+ is not terribly useful. See the oled-mini example.
24+
25+ The [ u8g2] ( https://github.com/olikraus/u8g2/wiki ) library by Oli Kraus is
26+ able to use less RAM by rendering the image in multiple stripes. This is
27+ slower, but saves RAM. I am thinking of porting that library, but don't hold
28+ your breath for it.
29+
1530
1631## API
1732
You can’t perform that action at this time.
0 commit comments