Projekt

Allgemein

Profil

Eval » Historie » Version 32

Maximilian Seesslen, 30.08.2023 15:32

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 32 Maximilian Seesslen
** FPU; Cortex M4; 72MHz
36 31 Maximilian Seesslen
** When name is really correct, its a  LQFP48 with 32KB flash
37
38 14 Maximilian Seesslen
39 5 Maximilian Seesslen
h2. DAC
40
41 11 Maximilian Seesslen
* Maybe later; SAI would be more interesting. DAC for testing DMA.
42 7 Maximilian Seesslen
* 44,100 Hz
43
* Would require SPI flash for recorded sound
44 8 Maximilian Seesslen
* Adjustable volume
45 1 Maximilian Seesslen
* Solderbridge for fallback
46 24 Maximilian Seesslen
47
h2. Replay
48
49
Would need 20KHz;
50
have 12 Kbytes RAM;
51
2KB plays 1/20secs
52
53 29 Maximilian Seesslen
Stereo gets tricky. There is only 1 SPI. Would need to couple DAC outputs. Maybe test this later.
54
55
56 26 Maximilian Seesslen
57 17 Maximilian Seesslen
h2. Flash
58
59
DAC-DMA already works for sinewave (copied due to speed). So FLash might be cool for sound samples.
60 18 Maximilian Seesslen
CD: 44100 samples / sec; 
61 22 Maximilian Seesslen
44100*2*2 = 176'400 Bytes / s; Flash readout has to be a little bit faster for the overhead.
62 18 Maximilian Seesslen
63 19 Maximilian Seesslen
1MB would play around 6 seconds. 2MB / 16Mbit would be ok.
64 1 Maximilian Seesslen
32Mb/4MB available for 1,94€; 100Mhz
65 28 Maximilian Seesslen
STM32F303 has max SPI rate 18Mbits/s or 2,25MB/s wide range voltage; 24Mb/s or 3MBytes/s normal range
66 25 Maximilian Seesslen
67
MX25L3233FM1I-08G is 83 cents; supports QIO
68
69
Irgendwas muesstte ich eh noch haben, hab mal groesser eingekauft.
70
71 22 Maximilian Seesslen
72 21 Maximilian Seesslen
h2. USB
73
74
USB would be nice for writing sound samples to flash. But this might be a nice candidate for writing flash images over CAN.
75
Although it might take very long time.