As i understand, if enabled, I2S use 16bit Data Register, regardless if SPI is set to use 8bit data format.
Try to set PSIZE, MSIZE bits in DMA SCR register ( and your buffer ) as 16bit size, not as 8bit.
BlackPill F401CC is for boards with 25MHz crystal Generic F401CCUx is for boards with 8MHz crystal You must select "USB support->CDC (generic Serial supersede U(S)ART)" from menu or "Serial" will on serial port (PA9/PA10), not as recognizable USB device. Clipboard01.jpg If you st...
Until SdFat is updated, there is simple workaround: use SPI library from 2.6.0. Downgrade core to 2.6.0, copy SPI folder from "c:\Users\moi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.6.0\libraries\" to "c:\Users\moi\Documents\Arduino\libraries\", and upg...
I compiled and tested DLO-138 and it's working with my LCD. Using Rogers core, Adafruit_GFX V1.7.5. I was unable to upload with Arduino IDE (probably WIN11 and Arduino 2.2.1 IDE issue), but with exported binary i flashed it with ST-link and STM32CubeProgrammer (tricky, press and hold reset on DSO138...
Have you consider to use that one pin on separate port for address A0? So you can keep A12 on port with 12 pins. In worst case, you are reading data from address $xxx0 when A0 is 0, and from address $xxx1 when A0 is 1.
74HCT595 is good for sync timing, but if it's too slow, you could use 74HCT273.
I am not familiar with UART and DMA, but i did some experiments with SPI and DMA. Anyway, quick look in RM0008, i noticed DMAT (DMA enable transmitter) bit in CR3 register need to be set. Try USART2->CR3 |= USART_CR3_DMAT ; Also, i think DMA clock needs to be enabled: RCC->AHBENR = ( RCC->AHBENR ) |...
I am yet to find what load DAC can drive, for now i directly connected to audio input of some old radio. Slap some infrared receiver module and it was very easy to port my https://github.com/Bakisha/STM32-SID-PLAYER I replaced just the part from pwm driven pin to DAC driven pin. No more that high-pi...
Thanks for recommendation, i was looking for cheap (under 5€) board with DAC for some my old sound projects to play with. As you said, no breadboard for this one, but dupont wires between modules and having three GND, two 3.3V and two 5V pins helps. One thing that i find annoying is the user button,...