Projekt

Allgemein

Profil

Eval » Historie » Version 31

Maximilian Seesslen, 30.08.2023 15:29

1 1 Maximilian Seesslen
h1. Eval
2
3
CANDis is quite silent.
4
5
CANBuz probably will have same issues. Need to test capacitors.
6 6 Maximilian Seesslen
F=As/V
7
qalc 0,000022*3 = 0,000066 = 0,066mAs
8
Ich hab doch noch grosse 
9 12 Maximilian Seesslen
Is it the power regulator/LDO? What did i solder?
10 1 Maximilian Seesslen
11
h2. Parts
12
13 3 Maximilian Seesslen
* LM386; "DS":https://www.ti.com/lit/ds/symlink/lm386.pdf ; page 10
14 13 Maximilian Seesslen
* LM4861 M; 1,39€
15
** can be driven @5V; not sure if V+ has to be 3v/2 or 5v/2 ?
16
** Shutdown: power output off on logic high
17
18 14 Maximilian Seesslen
h2. Amp
19 2 Maximilian Seesslen
20 14 Maximilian Seesslen
"lm4871":https://www.ti.com/lit/ds/symlink/lm4871.pdf
21
22 2 Maximilian Seesslen
h2. MCU
23
24 4 Maximilian Seesslen
* STM32F042G4U6; UFQFPN28; 16KB; hab ich noch 17
25 9 Maximilian Seesslen
* Get rid of an STM32F072 in order to have DAC?
26
* STM32G431KBU6
27 14 Maximilian Seesslen
** SAI; FPU
28
** 5,87€
29 15 Maximilian Seesslen
* STM32F072CBT6
30
** LQFP-48
31
** 2,40 €
32
* STM32F103CBT6
33
** 2,12 €
34 16 Maximilian Seesslen
* STM32F303C6U6A
35 31 Maximilian Seesslen
** When name is really correct, its a  LQFP48 with 32KB flash
36
37 14 Maximilian Seesslen
38 5 Maximilian Seesslen
h2. DAC
39
40 11 Maximilian Seesslen
* Maybe later; SAI would be more interesting. DAC for testing DMA.
41 7 Maximilian Seesslen
* 44,100 Hz
42
* Would require SPI flash for recorded sound
43 8 Maximilian Seesslen
* Adjustable volume
44 1 Maximilian Seesslen
* Solderbridge for fallback
45 24 Maximilian Seesslen
46
h2. Replay
47
48
Would need 20KHz;
49
have 12 Kbytes RAM;
50
2KB plays 1/20secs
51
52 29 Maximilian Seesslen
Stereo gets tricky. There is only 1 SPI. Would need to couple DAC outputs. Maybe test this later.
53
54
55 26 Maximilian Seesslen
56 17 Maximilian Seesslen
h2. Flash
57
58
DAC-DMA already works for sinewave (copied due to speed). So FLash might be cool for sound samples.
59 18 Maximilian Seesslen
CD: 44100 samples / sec; 
60 22 Maximilian Seesslen
44100*2*2 = 176'400 Bytes / s; Flash readout has to be a little bit faster for the overhead.
61 18 Maximilian Seesslen
62 19 Maximilian Seesslen
1MB would play around 6 seconds. 2MB / 16Mbit would be ok.
63 1 Maximilian Seesslen
32Mb/4MB available for 1,94€; 100Mhz
64 28 Maximilian Seesslen
STM32F303 has max SPI rate 18Mbits/s or 2,25MB/s wide range voltage; 24Mb/s or 3MBytes/s normal range
65 25 Maximilian Seesslen
66
MX25L3233FM1I-08G is 83 cents; supports QIO
67
68
Irgendwas muesstte ich eh noch haben, hab mal groesser eingekauft.
69
70 22 Maximilian Seesslen
71 21 Maximilian Seesslen
h2. USB
72
73
USB would be nice for writing sound samples to flash. But this might be a nice candidate for writing flash images over CAN.
74
Although it might take very long time.