Projekt

Allgemein

Profil

Eval » Historie » Version 13

Maximilian Seesslen, 09.10.2024 17:40

1 1 Maximilian Seesslen
h1. Eval
2
3 13 Maximilian Seesslen
CANDis already provides most of the periphery. Missing: ADC, 16Bit-Address-Flash.
4
5 1 Maximilian Seesslen
Relatively big MCU; Standard periphery can be tested within a single bringup run. Protocol can be added to biwak/arena release.
6 5 Maximilian Seesslen
7
Current use-case:
8 12 Maximilian Seesslen
* -I2C has an issue that some times the board has to wait at bootup quite long time till i2c eeprom is functional.-
9
* -SPI has an issue that some times the board has to wait at bootup quite long time till spi flash is functional.
10 5 Maximilian Seesslen
* Code cleanup; does the code still work; e.g. Timers. Complete disfunctionality would not be seen some times.
11
* Want to develop something with nice debug output. Bootloader was a little bit nasty.
12 9 Maximilian Seesslen
* Perform an complete bringup test for releasing libraries
13 5 Maximilian Seesslen
14 1 Maximilian Seesslen
No further use?
15
16 2 Maximilian Seesslen
* Alarm clock
17
* CANBuzzer
18
* Reference RTC clock
19
** CANSwitches have PWM output but no RTC. For light switches this compination makes sense. CANDis could do this. At least in combination with buzzers nice.
20 1 Maximilian Seesslen
21 2 Maximilian Seesslen
STM32L433CCU6; 48pins; 256KB Flash;  "DS":https://www.st.com/resource/en/datasheet/stm32l433cc.pdf
22
23 1 Maximilian Seesslen
* CAN
24
* USB
25 9 Maximilian Seesslen
* Uart, 2x
26 1 Maximilian Seesslen
* SPI-Flash
27 4 Maximilian Seesslen
* I2C-EEPROM; 80Bytes + ?KB
28 9 Maximilian Seesslen
* I2C-Connector for sensors
29 1 Maximilian Seesslen
* Buzzer
30
* LEDs
31
* Small LCD? waste of pins?
32 2 Maximilian Seesslen
* RTC
33 3 Maximilian Seesslen
* PWM-LED; Golden Dragon?
34 1 Maximilian Seesslen
* ADC (fixed resistors; 1/4 VDD)
35 3 Maximilian Seesslen
* Button
36 5 Maximilian Seesslen
37
PA11 - CAN1_RX USB_DM
38
PA12 - CAN1_TX USB_DP
39 6 Maximilian Seesslen
40
PB8 - CAN1_RX
41
PB9 - CAN1_TX
42 7 Maximilian Seesslen
43 8 Maximilian Seesslen
Power-Cut would be a killer feature. But without companion? 
44 1 Maximilian Seesslen
Einfach "nur" einen CAN-bus stromfrei schalten.
45
Einzelnes Target antwortet dann "Gut" oder "Schlecht" und Parameter. Normale Applikation kann weiter laufen mit kleiner Erweiterung.
46
Evtl. sogar einfacher als das total isolierte Geraet am PC.
47 9 Maximilian Seesslen
UART umschaltbar, naja, eher verwirrend. Noch eher multiplexen. Ohne DUT-Uart schon schwer. Schaltbares SWD waer schon nice.
48
Usecase: Geraet haengt sich nach 100ten boot auf.
49 11 Maximilian Seesslen
Nicht fix verdrahtete Reset Leitungen aber auch ein Mist.
50 9 Maximilian Seesslen
51
h1. Usecase I2C Problem
52
53
DUT versucht ein Byte vom EEPROM zu lesen.
54
Klappt dies nicht, wird Event code "Boot-Error" geliefert. Ansonsten "Booted Successfull".
55
Oder besser ein Bootresult Object:
56
0: Ok
57
-1: Problem
58 10 Maximilian Seesslen
.>0: Anzahl der notwendigen loops des readouts
59
60
h1. Bauteile von Awaria
61
62
Debug von DUT; 
63
PI5C3257QE