Projekt

Allgemein

Profil

Eval » Historie » Version 54

Maximilian Seesslen, 29.11.2022 13:32

1 1 Maximilian Seesslen
h1. Eval
2
3
h2. Hardware
4
5 53 Maximilian Seesslen
Display: WSH-12561; 37,32x31,8; 200x200Pixel; eval board funktioniert; "DS":https://www.tme.eu/Document/0ca57a8ffbcd57b5bca53252eb9d6ec3/WSH-12561.pdf
6 39 Maximilian Seesslen
Akku: 31063 (Garmin Fenix 3) 300mAh; 300 mAh; 31,6 x 24,8 x 4,3; "Reichelt":https://www.reichelt.de/ersatzakku-garmin-fenix-3-li-po-300-mah-akku-31063-p312909.html
7 1 Maximilian Seesslen
8
h2. MCU
9
10
Pixel-data is 5KB ((200*200)/8); need bigger MCU; but the STM32L433CCU6 i have is too much
11
12
STM32L433CCU6: Too much
13 4 Maximilian Seesslen
STM32L151C6U6A waers eigentlich. USB, -128KB Flash, 32KB SRAM-, EEPROM 32KB Flash, 10KB RAM, hat USB
14 1 Maximilian Seesslen
STM32L051C8T6; no USB
15 4 Maximilian Seesslen
STM32L053C8T6; 11,60Euro, whatt?
16
17 46 Maximilian Seesslen
STM32L151C6U6A hab ich schon "hier":http://hase.seesslen.net/redmine/projects/hw-temprec/wiki/STM32#Warehouse. "DS:"Link":https://www.mouser.de/datasheet/2/389/dm00078689-1797705.pdf; 
18
STM32L151CB gibts auch noch, wenn auch teure 12.15Euro. Biedes UFQPFN-48.
19
STM32L1xxx6(8/B) does not support USB bootloader.
20
21 6 Maximilian Seesslen
Check the binary size. Along with USB.
22 7 Maximilian Seesslen
* Fonts, USB, Terminal, Debug, LUT: 29616
23
* Fonts, USB, Terminal, RelWIthDebug, LUT: 22884
24 4 Maximilian Seesslen
25
Alphabet: 22 Zeichen * 8 Bytes= 176 Bytes. Display-Content 5000 Bytes.
26 8 Maximilian Seesslen
32KByte koennten reichen. Versions on Display optional.
27 1 Maximilian Seesslen
4KByte EEPROM fuer Settings.
28 46 Maximilian Seesslen
29 8 Maximilian Seesslen
30 27 Maximilian Seesslen
h2. FLASH
31 26 Maximilian Seesslen
32
nice, compact
33
GD25Q16EEIGR; 16Mb; USON8
34
35
36 2 Maximilian Seesslen
h2. Power
37
38
Lade-Chip: https://www.mouser.de/datasheet/2/268/MCP73871_Data_Sheet_DS20002090F-2932254.pdf
39
VCI wants 3V3. VDDIO may be less but is not specified. Reference schematics connects VDDIO directly to VCI.
40
Start with 3V3.
41 3 Maximilian Seesslen
42 1 Maximilian Seesslen
"ad_mcp73871" is getting manufactured. Lets see how it behaves on V_OUT.
43 9 Maximilian Seesslen
44 17 Maximilian Seesslen
V_OUT is ok. But there is no discharge protection. Additional chip needed like:
45 12 Maximilian Seesslen
* AP9211; normal 3.0μA (Typ.), 4.5μA (Max.); Power-Down 0.1μA
46
47 14 Maximilian Seesslen
"Chip":https://www.tme.eu/de/katalog/batterie-u-akku-controller-schaltungen_112884/?s_field=1000014&s_order=asc&limit=20&currency=EUR&products_with_stock=1&page=1
48
49 9 Maximilian Seesslen
h2. Open points
50
51
MCU: 1.65 V to 3.6 V power supply, would need LDO. Would need this self-holding-mosfet chain. Would need seperate battery for RTC. MCU has not VBAT.
52 1 Maximilian Seesslen
There are low IQ LDOs. "((48*1000)/1,6) / 24 / 356" = 3,511236 years.
53 22 Maximilian Seesslen
"LDO":https://www.tme.eu/de/details/mcp1703a-3302e_db/ungeregelte-spannungsstabilisatoren-ldo/microchip-technology/
54 1 Maximilian Seesslen
ADC can also be connected directly. Stop working at 3V. There is no "Low-Battery" signal on the ordered revision of the MCP73871.
55 22 Maximilian Seesslen
56 19 Maximilian Seesslen
57 23 Maximilian Seesslen
LDO mit shutdown/enable: "AP2127":https://www.tme.eu/de/details/ap2127k-3.3trg1/ungeregelte-spannungsstabilisatoren-ldo/diodes-incorporated/
58
59
60 19 Maximilian Seesslen
h2. Protection
61
62 21 Maximilian Seesslen
* AP9211SA-AL-HAC-7 "TME":https://www.tme.eu/de/details/ap9211sa-al-hac-7/batterie-u-akku-controller-schaltungen/diodes-incorporated/
63 19 Maximilian Seesslen
"Link":https://electronics.stackexchange.com/questions/496609/protection-ic-stopping-battery-from-charging
64
2x NMOS, 20V, 2A
65 11 Maximilian Seesslen
66
h2. Tests
67
68
* Run with Battery < 3V; 
69 16 Maximilian Seesslen
** -Is Shutdown of MCP73871 working- No, need additional part; AP9211SA-AL-HAC-7, AP9101CAK6-ANTRG1.
70 11 Maximilian Seesslen
** Is Low-Battery-Detection implemented on STM32 working?
71 18 Maximilian Seesslen
72
h2. Actions
73
74
* -ad_mcp73871-
75 1 Maximilian Seesslen
* ad_mcp73871_2; Ohne das Switch-gedoens. Mit ADC Ausgang. Wiederstaende muessen ja noch nicht passen.
76 27 Maximilian Seesslen
77
h2. BOM
78
79
* GD25Q16EEIGR
80 29 Maximilian Seesslen
* STM32L151C6U6A; 48Pins; 32KB Flash; UFQFPN
81 27 Maximilian Seesslen
* MCP73871 (Charger)
82
* AP9211SA-AL-HAC-7 (Protector)
83 1 Maximilian Seesslen
* 31063 (Garmin Fenix 3)
84 29 Maximilian Seesslen
85
h2. Next try
86
87
* eInk-Schaltung plus STNS01 plus buzzer/LEDs/button
88 34 Maximilian Seesslen
** https://www.st.com/resource/en/datasheet/stns01.pdf
89
** Shutdown is not usable because input power has to be connected again.
90 37 Maximilian Seesslen
** max. 150mA
91
** Ibat= max 10μA; ((300000 / 10) / 24) / 364 = approx. 3,4340659 ano
92 29 Maximilian Seesslen
* Ganz normale WKUP-Schaltung vom MM
93
* ueber Mosfets anschalten wenn USB gesteckt wird, zweiter WKUP?
94 30 Maximilian Seesslen
* 5 items
95 32 Maximilian Seesslen
* LEDs: HB, User, Chrg, VUSB
96
* Kein seperater LDO fuer Display; auch programmieren ohne USB-Verbindung soll moeglich sein
97 44 Maximilian Seesslen
* BTMS(battery sense signal) on ADC
98 38 Maximilian Seesslen
* Flash fuer Symbole oder weitere Schriften.
99 33 Maximilian Seesslen
* eInk-eval mit 3V testen
100 40 Maximilian Seesslen
101
h2. LDO-LED
102
103 47 Maximilian Seesslen
* With 120Ohm device lives around 2 days. Just remove it.
104 41 Maximilian Seesslen
105
h2. Battery<-Life-Time
106
107 51 Maximilian Seesslen
* "STNS01":https://www.st.com/resource/en/datasheet/stns01.pdf draws 6-10 μA when I_LDO=0; in theory 3,4 years
108 42 Maximilian Seesslen
* With the 2 dark LEDS permanent on: ((300000 / 6010) / 24) = 2 days; plausible!
109 48 Maximilian Seesslen
* STM32 draws 0.28 μA Standby mode (3 wakeup pins) (DS)
110
* 1.11 μA Standby mode + RTC (DS)
111 1 Maximilian Seesslen
* Resistor directly on V_LDO-Output of STNS01 is bad because the VDD would change depending how many LEDs are turned on
112 48 Maximilian Seesslen
* Put ADC-measure-GND to an GPIO so it wont draw current when not measured/off
113 52 Maximilian Seesslen
* 10µA + 1.11µA; assume 20µA; 
114 1 Maximilian Seesslen
* Spannungsteiler; 26µA
115 52 Maximilian Seesslen
* I2C-Temp: 280µA
116 54 Maximilian Seesslen
* "DS stlm75":https://www.tme.eu/Document/cd443d6bd2f6962147d9c014ee53d473/stlm75.pdf;