Search found 502 matches

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

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: 310

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: 310

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 sh...
by stevestrong
Mon Feb 26, 2024 3:57 pm
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 894

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, w...
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: 4427

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: 615

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? Please s...
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: 615

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?
by stevestrong
Wed Feb 14, 2024 10:40 am
Forum: General discussion
Topic: AT24C32 not able to write in Test Program for STM32F103C8T6
Replies: 8
Views: 615

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

OK, @fpiSTM should be able to give you more support.
by stevestrong
Tue Feb 13, 2024 2:40 pm
Forum: General discussion
Topic: Happy new year 2k24
Replies: 5
Views: 1142

Re: Happy new year 2k24

A little bit late .... but I also wish everybody all the best in this year! I will try to be more active here this year 8-) , although I see there is no much activity lately. Anyway, I am still using my bluepills and F4 boards in some projects (still using my libmaple cores ;) ), combined with ESPs....
by stevestrong
Tue Feb 13, 2024 2:22 pm
Forum: General discussion
Topic: AT24C32 not able to write in Test Program for STM32F103C8T6
Replies: 8
Views: 615

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

Which core do you use?
Which board have you selected in the Arduino IDE?

Go to advanced search