Projekt

Allgemein

Profil

Wiki » Historie » Version 13

Maximilian Seesslen, 17.09.2024 14:01

1 1 Maximilian Seesslen
h1. Wiki
2
3
There are some issues that can only be tested via power resets.
4
5
* SPI has an issue that it needs retries
6
* Looks like configuration I2C EEPROM gets reset to defaults
7 3 Maximilian Seesslen
* RTC-offline-test (Wie lange haelt die RTC Batterie)
8 1 Maximilian Seesslen
9 3 Maximilian Seesslen
The device has an CANBus in and an CANBus out. The testsoftware is on the DUT. The DUT sends the command to toggle power line to Awaria via CAN.
10
The switch-off time has to be an parameter. The RTC-Tests will be complex, the Awaria software shall be simple and generic.
11 2 Maximilian Seesslen
12
An data multiplexer can be used along with a mosfet for power line.
13 13 Maximilian Seesslen
Data lines for CAN and UART have to be cut. 
14
In order to cut UART, an Debug-Adapter chaining would be needed. Or Uart is available via Host-USB.
15 2 Maximilian Seesslen
16 12 Maximilian Seesslen
Optionally controll it via USB from PC, not MCU. Optically isolated GPIOs. 
17
18 2 Maximilian Seesslen
h1. Parts
19
20
* MCU: The smallest thing
21 1 Maximilian Seesslen
* Multiplexer:
22 3 Maximilian Seesslen
** MC14551BDG bis zu 1K RON: 1050
23
** TS5A23166DCUR cool, 2 channels, up to 100mA, 1,8-6,5V
24 6 Maximilian Seesslen
** Habe:
25 7 Maximilian Seesslen
*** DG408LEDQ-T1-GE3; .#273;  1:8
26 8 Maximilian Seesslen
*** DG409LEDQ-T1-GE3; .#321;  1:8
27
*** ADG736; .#315; 2x1:2
28 9 Maximilian Seesslen
*** *RS2102XN ADG836YRMZ* Das ist er
29 6 Maximilian Seesslen
30 5 Maximilian Seesslen
* Big EEPROM, device can store test info from DUT
31 4 Maximilian Seesslen
32
Spannungs/Strom zu umstaendlich.
33 10 Maximilian Seesslen
34
h1. RTC-Tests
35
36
Can have a region in SPI-Flash.
37 11 Maximilian Seesslen
If the Settings are not ok, just have an terminal.
38
The test can only be started from terminal.
39
rebootTest <startTime>
40
41 10 Maximilian Seesslen
Start. 
42
* Cut 2 Seconds. Time OK?
43
* Cut 4 Seconds. Time OK?
44 1 Maximilian Seesslen
* Cut 8 Seconds. Time OK?
45 11 Maximilian Seesslen
46
When it fails, "destroy" test-config in spi flash
47 12 Maximilian Seesslen
48
h1. Connectors
49
50
* CANBus-In
51
* CANBus.Out
52
* Power in
53
* Power out
54
* USB PC to MCU
55
* USB PC to DUT