Search found 139 matches

by Bakisha
Tue Feb 27, 2024 1:15 pm
Forum: General discussion
Topic: Problem using I2S DMA
Replies: 3
Views: 310

Re: Problem using I2S DMA

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.
by Bakisha
Thu Nov 23, 2023 2:23 pm
Forum: General discussion
Topic: STM32F401CCU Black Pill not detected by Win 7
Replies: 9
Views: 8581

Re: STM32F401CCU Black Pill not detected by Win 7

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...
by Bakisha
Mon Nov 20, 2023 6:12 pm
Forum: STM32F4 based boards
Topic: 2.7.0
Replies: 3
Views: 9167

Re: 2.7.0

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...
by Bakisha
Tue Nov 14, 2023 5:19 pm
Forum: General discussion
Topic: STM32F103C8 and 9325 unusual display
Replies: 5
Views: 2451

Re: STM32F103C8 and 9325 unusual display

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...
by Bakisha
Thu Sep 21, 2023 7:41 am
Forum: General discussion
Topic: Writing to GPIOs on two different ports at the same time?
Replies: 10
Views: 1598

Re: Writing to GPIOs on two different ports at the same time?

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.
by Bakisha
Wed Sep 20, 2023 1:20 pm
Forum: General discussion
Topic: Bluepill Uart DMA W/Callback
Replies: 2
Views: 755

Re: Bluepill Uart DMA W/Callback

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 ) |...
by Bakisha
Wed Aug 23, 2023 6:11 pm
Forum: General discussion
Topic: new Blackpill STM32G431CBU6
Replies: 22
Views: 11363

Re: new Blackpill STM32G431CBU6

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...
by Bakisha
Tue Aug 22, 2023 7:19 pm
Forum: General discussion
Topic: new Blackpill STM32G431CBU6
Replies: 22
Views: 11363

Re: new Blackpill STM32G431CBU6

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,...
by Bakisha
Tue Aug 08, 2023 5:58 pm
Forum: General discussion
Topic: How? help...
Replies: 4
Views: 821

Re: How? help...

Most of LED panels are like multiple 74HC595 in series. Even signal names are similar (clock, strobe and output enable). Output of one color can be connected to an input of next color. If there is A,B,C,D or similar letters on a input/output connector, it means they are multiplexed. Most probably P-...

Go to advanced search