Search found 505 matches

by stevestrong
Sun Jan 12, 2025 6:41 pm
Forum: Ideas & suggestions
Topic: DMA for SPI
Replies: 24
Views: 5020

Re: DMA for SPI

Can't you get inspiration from the libmaple implementation?
by stevestrong
Sun Jan 12, 2025 6:34 pm
Forum: STM32 USB CDC bootloader
Topic: STM32F1 USB CDC bootloader
Replies: 8
Views: 22696

Re: STM32F1 USB CDC bootloader

Do you use STM32CUBEIDE as development environment and uploading?
Well, in this case I cannot help you, I do not how this IDE works.
Did you try the upload with Arduino IDE?
by stevestrong
Tue Dec 31, 2024 9:37 am
Forum: General discussion
Topic: I want to know how to turn off 'watchdog' on STM32F103C8T6.
Replies: 1
Views: 4940

Re: I want to know how to turn off 'watchdog' on STM32F103C8T6.

According to the reference manual, once the IWDG is started it cannot be stopped except by a Reset.
by stevestrong
Tue Feb 27, 2024 3:20 pm
Forum: General discussion
Topic: Problem using I2S DMA
Replies: 3
Views: 4022

Re: Problem using I2S DMA

Man, I own you a beer, thanks a lot, that was it!

Actually, only PSIZE must be changed, because:
In direct mode, MSIZE is forced by hardware to the same value as PSIZE as soon as bit EN = '1'.
(chap. 9.5.5. of RM0383)
by stevestrong
Mon Feb 26, 2024 9:39 pm
Forum: General discussion
Topic: Problem using I2S DMA
Replies: 3
Views: 4022

Re: Problem using I2S DMA

I have analyzed the output data.

Instead of:
40 00 40 00 3F 9C 3F 9C

the bad stream is:
40 (40) 00 (00) 40 (40) 00 (00) 3F (3F) 9C (9C) 3F (3F) 9C (9C)

So it looks like the DMA sends each byte repeatedly from the buffer: x (x-repeated)

WHY ???
by stevestrong
Mon Feb 26, 2024 4:25 pm
Forum: General discussion
Topic: Problem using I2S DMA
Replies: 3
Views: 4022

Problem using I2S DMA

Hi,

I am currently struggling to get I2S working with DMA as master Tx on STM32F411E disco board.
The I2S data coming out on SD line is very strange.
I attach a good picture, and a bad picture.
The good picture is taken when I write data manually to the SPI data register.
good.jpg
The bad picture ...
by stevestrong
Mon Feb 26, 2024 3:57 pm
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 12890

Re: STM32 hangs when >100khz signal applied to input

The best way to measure high frequencies is to setup a timer to measure nr of pulses you apply within a predetermined period (for which you can also use another timer). If you need to measure duty cycle the the things get more complicated.
I think I posted such kind of example couple of years ago ...
by stevestrong
Wed Feb 14, 2024 4:20 pm
Forum: Let us know a bit about you and your projects
Topic: Just for fun, making sounds - mostly with STF32F7 DISCO
Replies: 3
Views: 13611

Re: Just for fun, making sounds - mostly with STF32F7 DISCO

@pschatzmann
I am also interested to have F411 disco with audio working.
I have found this project:
https://github.com/winfred-lu/STM32Cube ... and_record
Maybe you can find something interesting there.
by stevestrong
Wed Feb 14, 2024 1:42 pm
Forum: General discussion
Topic: AT24C32 not able to write in Test Program for STM32F103C8T6
Replies: 8
Views: 8974

Re: AT24C32 not able to write in Test Program for STM32F103C8T6


@stevestrong
This menu is part of the libmaple core:
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/boards.txt#L446


That is true, just that
STM32F1XX/GD32F1XX Boards by stm32duino.
is not known.

asking supposed it is the Libmaple core, what exactly is not working ...
by stevestrong
Wed Feb 14, 2024 12:18 pm
Forum: General discussion
Topic: AT24C32 not able to write in Test Program for STM32F103C8T6
Replies: 8
Views: 8974

Re: AT24C32 not able to write in Test Program for STM32F103C8T6

@asking which core do you use?
How did yo get this board in Arduino boards menu?

Go to advanced search