unicod
19bf2b0766
ADC >> AudioBuf >> DAC forwarding works (mic signal to headphone)
...
- Sound select: 7=mic (ADC right)
- producer-consumer clock skew correction via sample doubling/dropping
- keeping audio buffer between 25-75% fill level
1 week ago
unicod
a2fb4a6af8
ADC gain: PGA setting test
2 weeks ago
unicod
b521217851
AudioADC_Task: processing received ADC data
2 weeks ago
unicod
cbb32e6253
Audio_Task renamed to AudioDAC_Task
2 weeks ago
unicod
c003546d75
Wavetable: sin, organ
...
- Sound select: 0-2:sin, 3-5:organ, 6:soundfile, >6:mute
- Sine and organ wavetable signal generator with phase accumulator
2 weeks ago
unicod
98a7d09f40
I2S2 RX DMA
...
- I2S RX DMA enabled in CubeMX
- fixed CubeMX code (src+dest addr, len)
- added sound (8-bit signed samples)
- AudioTask: sound player with Fill_I2S_Buffer function
TODO: config DMA node src/dest/len after CubeMX code
2 weeks ago
unicod
f1eb62d3d4
Audio_Task (sound player)
...
- added sound (8-bit signed samples)
- AudioTask: sound player with Fill_I2S_Buffer function
2 weeks ago
unicod
3758b74acc
TLV320: basic init for ADC and audio input
...
- ADC on
- Left ch: MIC1R max gain preamp (0dB)
- Right ch: MIC2R max gain preamp (0dB)
- PGA-L: +32dB
- PGA-R: +32dB
2 weeks ago
unicod
9f60a7ecde
I2S3 full-duplex master with MCLK
...
- fs: 32 kHz
- PLL2P: 40.96 Mhz
- format: I2S 32 bit
- PC7 --> I2S3_MCK
- PA15 --> I2S3_WS
- PC10 --> I2S3_CK
- PB4 --> I2S3_SDI
- PB5 --> I2S3_SDO
2 weeks ago
unicod
fb4fd5c3bf
TLV320_AIC3204_DumpRegs: list specified codec registers
2 weeks ago
unicod
5a168fc672
Basic codec init for stereo playing on Codec-A
...
- essential audio routing configured for DAC
- out: headphone L+R
- sound: sine wave (double freq on right channel)
3 weeks ago
unicod
5f61eb0157
I2S2 MCLK out enabled
...
- PCLK doubled to 40.96 MHz
- fs: 32 kHz
3 weeks ago
unicod
1eab9b1928
USART2,3 rx processing disabled
4 weeks ago
unicod
01996cf0ab
GPIO init for codec reset pin, reset pulse on system start
4 weeks ago
unicod
e81f6126c7
I2C1 enabled via CubeMX (LL)
...
- PCLK: 32MHz (PLL3R)
- 100kHz
- no INT
- SCL: PB6
- SDA: PB7
4 weeks ago
unicod
70acda8556
GPDMA: interrupts disabled
4 weeks ago
unicod
070fc39a9a
I2S2 TX circular DMA works
...
- DMA: I2S TX (DAC)
- I2S buffer: 256 samples (L+R)
- sample width: 32 bit
- audio data: sine wave (2x freq on right ch)
4 weeks ago
unicod
483f9d4762
I2S2 full-duplex master
...
- fs: 32 kHz
- PLL2P: 20.48 Mhz
- I2S 32 bit
- PC2 --> SDI
- PB12 --> WS
- PB13 --> CK
- PB15 --> SDO
4 weeks ago
unicod
9b1029a5e1
USART2 DMA RX/TX works
...
- Rx/Tx handler in usart2_dma.*
- CubeMX: USART and DMA init
- DMA CH2: Tx
- DMA CH3: Rx
- DMA Port0 for periph transfer
- DMA Port1 for mem transfer
- Continuous Rx handling via DMA pointer (no INT, no TC flag)
- Tx: collect data into tx buf or send immediately
4 weeks ago
unicod
b8802c266f
CubeMX USART2 configured RS485
...
- PA1,2,3
- 115200 baud
- 80MHz PCLK1
4 weeks ago
unicod
336c397135
USART3 DMA RX/TX works
...
- Rx/Tx handler in usart3_dma.*
- CubeMX: USART and DMA init
- DMA CH0: Tx
- DMA CH1: Rx
- DMA Port0 for periph transfer
- DMA Port1 for mem transfer
- Continuous Rx handling via DMA pointer (no INT, no TC flag)
- Tx: collect data into tx buf or send immediately
4 weeks ago
unicod
f6ad921557
Builin printf replaced by lightweight variante
4 weeks ago
unicod
80728f171c
USART3 enabled with RS485 DE
...
- 115200 baud
- Rx: PB1
- Tx: PB10
- DE: PB14
4 weeks ago
unicod
d06c63fa5c
printf targeted to UART5
4 weeks ago
unicod
bb4098a48b
Added interrupt driven UART5
...
- 115200 baud
- TX: PC12
- RX: PD2
- clk: PLL3Q 32MHz
4 weeks ago
unicod
037f2d3b94
TIM2: time base for scheduler with [0.5ms] resolution
...
- TickChk with [1ms] resolution
- 1ms period is not possible at 80MHz with 16 bit counter, only 0.5ms
4 weeks ago
unicod
705a5221df
TIM5: free running timer with [us] resolution
...
- usTimerGetAbs
- usTimerGetRel
- Delay_us
4 weeks ago
unicod
26807a7d16
Added 7-segment display with 595 shift register
4 weeks ago
unicod
d2ff50a161
Blinking LED on PC11
...
- systick init: 1ms (no interrupt)
4 weeks ago
unicod
bf46021df1
icache updated to 2-ways
4 weeks ago
unicod
25af824727
Project generated from MX
...
- 16MHz crystal osc
- 80Mhz sys clk with PLL
- icache enabled
- using LL lib
4 weeks ago