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