Eval » Historie » Version 43
  Maximilian Seesslen, 05.10.2022 11:09 
  
| 1 | 1 | Maximilian Seesslen | h1. Eval  | 
|---|---|---|---|
| 2 | |||
| 3 | h2. Hardware  | 
||
| 4 | |||
| 5 | Display: WSH-12561; 37,32x31,8; 200x200Pixel; eval board funktioniert  | 
||
| 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 | 24 | Maximilian Seesslen | STM32L151C6U6A hab ich schon "hier":http://hase.seesslen.net/redmine/projects/hw-temprec/wiki/STM32#Warehouse. STM32L151CB gibts auch noch, wenn auch teure 12.15Euro. Biedes UFQPFN-48.  | 
| 18 | 6 | Maximilian Seesslen | Check the binary size. Along with USB.  | 
| 19 | 7 | Maximilian Seesslen | * Fonts, USB, Terminal, Debug, LUT: 29616  | 
| 20 | * Fonts, USB, Terminal, RelWIthDebug, LUT: 22884  | 
||
| 21 | 4 | Maximilian Seesslen | |
| 22 | Alphabet: 22 Zeichen * 8 Bytes= 176 Bytes. Display-Content 5000 Bytes.  | 
||
| 23 | 8 | Maximilian Seesslen | 32KByte koennten reichen. Versions on Display optional.  | 
| 24 | 1 | Maximilian Seesslen | 4KByte EEPROM fuer Settings.  | 
| 25 | 8 | Maximilian Seesslen | |
| 26 | 27 | Maximilian Seesslen | h2. FLASH  | 
| 27 | 26 | Maximilian Seesslen | |
| 28 | nice, compact  | 
||
| 29 | GD25Q16EEIGR; 16Mb; USON8  | 
||
| 30 | |||
| 31 | |||
| 32 | 2 | Maximilian Seesslen | h2. Power  | 
| 33 | |||
| 34 | Lade-Chip: https://www.mouser.de/datasheet/2/268/MCP73871_Data_Sheet_DS20002090F-2932254.pdf  | 
||
| 35 | VCI wants 3V3. VDDIO may be less but is not specified. Reference schematics connects VDDIO directly to VCI.  | 
||
| 36 | Start with 3V3.  | 
||
| 37 | 3 | Maximilian Seesslen | |
| 38 | 1 | Maximilian Seesslen | "ad_mcp73871" is getting manufactured. Lets see how it behaves on V_OUT.  | 
| 39 | 9 | Maximilian Seesslen | |
| 40 | 17 | Maximilian Seesslen | V_OUT is ok. But there is no discharge protection. Additional chip needed like:  | 
| 41 | 12 | Maximilian Seesslen | * AP9211; normal 3.0μA (Typ.), 4.5μA (Max.); Power-Down 0.1μA  | 
| 42 | |||
| 43 | 14 | Maximilian Seesslen | "Chip":https://www.tme.eu/de/katalog/batterie-u-akku-controller-schaltungen_112884/?s_field=1000014&s_order=asc&limit=20¤cy=EUR&products_with_stock=1&page=1  | 
| 44 | |||
| 45 | 9 | Maximilian Seesslen | h2. Open points  | 
| 46 | |||
| 47 | 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.  | 
||
| 48 | 1 | Maximilian Seesslen | There are low IQ LDOs. "((48*1000)/1,6) / 24 / 356" = 3,511236 years.  | 
| 49 | 22 | Maximilian Seesslen | "LDO":https://www.tme.eu/de/details/mcp1703a-3302e_db/ungeregelte-spannungsstabilisatoren-ldo/microchip-technology/  | 
| 50 | 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.  | 
| 51 | 22 | Maximilian Seesslen | |
| 52 | 19 | Maximilian Seesslen | |
| 53 | 23 | Maximilian Seesslen | LDO mit shutdown/enable: "AP2127":https://www.tme.eu/de/details/ap2127k-3.3trg1/ungeregelte-spannungsstabilisatoren-ldo/diodes-incorporated/  | 
| 54 | |||
| 55 | |||
| 56 | 19 | Maximilian Seesslen | h2. Protection  | 
| 57 | |||
| 58 | 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/  | 
| 59 | 19 | Maximilian Seesslen | "Link":https://electronics.stackexchange.com/questions/496609/protection-ic-stopping-battery-from-charging  | 
| 60 | 2x NMOS, 20V, 2A  | 
||
| 61 | 11 | Maximilian Seesslen | |
| 62 | h2. Tests  | 
||
| 63 | |||
| 64 | * Run with Battery < 3V;  | 
||
| 65 | 16 | Maximilian Seesslen | ** -Is Shutdown of MCP73871 working- No, need additional part; AP9211SA-AL-HAC-7, AP9101CAK6-ANTRG1.  | 
| 66 | 11 | Maximilian Seesslen | ** Is Low-Battery-Detection implemented on STM32 working?  | 
| 67 | 18 | Maximilian Seesslen | |
| 68 | h2. Actions  | 
||
| 69 | |||
| 70 | * -ad_mcp73871-  | 
||
| 71 | 1 | Maximilian Seesslen | * ad_mcp73871_2; Ohne das Switch-gedoens. Mit ADC Ausgang. Wiederstaende muessen ja noch nicht passen.  | 
| 72 | 27 | Maximilian Seesslen | |
| 73 | h2. BOM  | 
||
| 74 | |||
| 75 | * GD25Q16EEIGR  | 
||
| 76 | 29 | Maximilian Seesslen | * STM32L151C6U6A; 48Pins; 32KB Flash; UFQFPN  | 
| 77 | 27 | Maximilian Seesslen | * MCP73871 (Charger)  | 
| 78 | * AP9211SA-AL-HAC-7 (Protector)  | 
||
| 79 | 1 | Maximilian Seesslen | * 31063 (Garmin Fenix 3)  | 
| 80 | 29 | Maximilian Seesslen | |
| 81 | h2. Next try  | 
||
| 82 | |||
| 83 | * eInk-Schaltung plus STNS01 plus buzzer/LEDs/button  | 
||
| 84 | 34 | Maximilian Seesslen | ** https://www.st.com/resource/en/datasheet/stns01.pdf  | 
| 85 | ** Shutdown is not usable because input power has to be connected again.  | 
||
| 86 | 37 | Maximilian Seesslen | ** max. 150mA  | 
| 87 | ** Ibat= max 10μA; ((300000 / 10) / 24) / 364 = approx. 3,4340659 ano  | 
||
| 88 | 29 | Maximilian Seesslen | * Ganz normale WKUP-Schaltung vom MM  | 
| 89 | * ueber Mosfets anschalten wenn USB gesteckt wird, zweiter WKUP?  | 
||
| 90 | 30 | Maximilian Seesslen | * 5 items  | 
| 91 | 32 | Maximilian Seesslen | * LEDs: HB, User, Chrg, VUSB  | 
| 92 | * Kein seperater LDO fuer Display; auch programmieren ohne USB-Verbindung soll moeglich sein  | 
||
| 93 | 35 | Maximilian Seesslen | * BTMS an ADC  | 
| 94 | 38 | Maximilian Seesslen | * Flash fuer Symbole oder weitere Schriften.  | 
| 95 | 33 | Maximilian Seesslen | * eInk-eval mit 3V testen  | 
| 96 | 40 | Maximilian Seesslen | |
| 97 | h2. LDO-LED  | 
||
| 98 | |||
| 99 | * With 120Ohm device lives around 2 days  | 
||
| 100 | 41 | Maximilian Seesslen | |
| 101 | h2. Battery<-Life-Time  | 
||
| 102 | |||
| 103 | 42 | Maximilian Seesslen | * STN01 draws 10 μA when I_LDO=0; in theory 3,4 years for  | 
| 104 | * With the 2 dark LEDS permanent on: ((300000 / 6010) / 24) = 2 days; plausible!  | 
||
| 105 | 43 | Maximilian Seesslen | * STM32 draws 0.28 μA Standby mode (3 wakeup pins)  | 
| 106 | * 1.11 μA Standby mode + RTC  |