49 Commits (master)
 

Author SHA1 Message Date
unicod e412c71ec2 DAC objects for playing on both codec
- TODO replace static variables
- TODO fix: codec-B louder, noise even if muted
1 day ago
unicod 9833c9c17c DDS sine generator with interpolation to reduce spurs drastically 1 day ago
unicod f1a2591515 TLV320_AIC3204_Init: init Codec-B too with the same config
- Sound output works (sine wave)
4 days ago
unicod 72b8446e9d I2C3 enabled via CubeMX (LL)
- PCLK: 32MHz (PLL3R)
- 100kHz
- no INT
- SCL: PA8
- SDA: PC9
4 days ago
unicod 4928e529f6 I2S3 DMA RX+TX
- I2S RX DMA enabled in CubeMX
- fixed CubeMX code (src+dest addr, len)
- Added I2S3RxDmaBuf/I2S3TxDmaBuf
- Tx buffer initialized by sine wave
4 days ago
unicod 8e9183c9f3 RS485 5MBps ping-pong test, if Bus1 and Bus2 connected
- baudrate: 5Mbps
- UART2 sends 0..127
- UART3 sends 128..255
- 127 triggers sending 128..255
- 255 triggers sending 0..127
1 week ago
unicod 57dab2bb0f Sine wave, mic 1+2 tests, audio buf size reduced
- sine wave with freq modulation
- Sound select 7,8: mic 1,2
- audio buf size reduced to reduce delay from mic to headphone
1 week ago
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 d66fdf10fe Added README 2 weeks ago
unicod 28715e19a5 Doc: audio node simple block diagram 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 7ca66e3e91 Added tlv320aic3104_ctrl.* with codec select
- TlvReadReg
- TlvWriteReg
- TlvPageSelect
3 weeks ago
unicod 5f61eb0157 I2S2 MCLK out enabled
- PCLK doubled to 40.96 MHz
- fs: 32 kHz
3 weeks ago
unicod 8e27f8818e Added i2c_master.*
- I2C_Write
- I2C_Read
- I2C_ReadReg
3 weeks ago
unicod 61a5785908 UART5 fix, big TX buffer for large listing 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 53be2a6730 CubeMX version migrated to 6.16.1 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 2e7c0f82a6 UART5 TX INT handler fix 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 f5a3c501d0 Prj post build: make hex file 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
unicod d4cf7f7506 New Cube H533 project 4 weeks ago
unicod e04e41858c License: Apache 2.0 4 weeks ago
unicod 5682290677 Added gitignore 1 month ago