Search found 107 matches

by Pito
Wed Jan 22, 2025 12:37 pm
Forum: Projects
Topic: Simultaneous regular mode with two ADCs (F303)
Replies: 10
Views: 1367

Re: Simultaneous regular mode with two ADCs (F303)

BTW how can I install the json cmsis package

https://github.com/stm32duino/ArduinoMo ... index.json

I put it into the Additional boards manager urls, but I do not see it there, or ?
by Pito
Tue Jan 21, 2025 11:16 am
Forum: Projects
Topic: Simultaneous regular mode with two ADCs (F303)
Replies: 10
Views: 1367

Re: Simultaneous regular mode with two ADCs (F303)

I've installed the MX and IDE again, configured the ADC12 and TIM8 best I could, and got a source. I will try to embed it into the above duino..
by Pito
Mon Jan 20, 2025 1:53 pm
Forum: Projects
Topic: Simultaneous regular mode with two ADCs (F303)
Replies: 10
Views: 1367

Re: Simultaneous regular mode with two ADCs (F303)

Thanks!

I've tried the Cube, looked for an F303 ADC example which would build/flash/run here, but after perhaps 6 hours of messing with it (and downloading aprox 6GB of some packages etc) I've uninstalled it.
What is left is the CubeProgrammer as it makes DFU working in Arduino with your STM32 ...
by Pito
Sun Jan 19, 2025 8:23 pm
Forum: Projects
Topic: Simultaneous regular mode with two ADCs (F303)
Replies: 10
Views: 1367

Simultaneous regular mode with two ADCs (F303)

Hi, my HAL skills have got pretty rusty, so out of curiosity I asked AI to help with a simple code which will print out two ADC
channels conversions triggered simultaneously by TIM8 with a 100mS period.
After a couple of discussions with AI :D it suggested to me following code, which looks complete ...
by Pito
Sun Jan 19, 2025 8:13 pm
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

I do not target to go 5Msa/s today, my goal for today is to get the simultaneous regular mode working..
I worked with HAL last time in 2016..
The high speed transfer is the next step..
I am going to start a new thread on that..
by Pito
Sun Jan 19, 2025 11:30 am
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

Yep, there are much faster and better equipped chips available today..

Btw. - the first thing I want to try is the "simultaneous operation of two ADCs" in that F303.
DS/RM say it is possible, but I have not found an example.

When you perhaps know about a chunk of example code how to make it ...
by Pito
Sun Jan 19, 2025 7:49 am
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

You may remember my quite long thread in the "old stm32duino" forum (perhaps around 2016-17) where I installed 512kB of external sram on my two boards - F103Z and F407Z (they had pads for an external sram). I published several variants of using it - ie. as an executable sram, or as the Heap - with ...
by Pito
Sat Jan 18, 2025 6:16 pm
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

Yup, the standard way works (win10, arduino, Cube programmer)..
Generated a 230kB binary (~15000 lines of code :o ), compiled for the F303CC (the chip with 256kB flash), and flashed into my F303CB (still set as the F303CC) with the standard STM DFU programmer (from Arduino after the compilation ...
by Pito
Sat Jan 18, 2025 10:59 am
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

It works fine with original Bluepill board, no changes required.
The crystal is 8MHz, that is ok with the F303CB too.
I had to install the 4k7 R10 for proper USB operation (was not installed on that board).

The flashing via DFU works fine - you have to set the Boot0 header switch to "1", and power ...
by Pito
Fri Jan 17, 2025 11:06 pm
Forum: General discussion
Topic: 32F303 support
Replies: 19
Views: 1934

Re: 32F303 support

I' started step by step - hardware first - I removed the F103 from a BluePill board and soldered the F303 in.
Then I spent a day with trying to flash something in. Finally I managed to get it working, first flashing via SWD something in, then the DFU started working as well.. Grrrh.. :roll:

Next ...

Go to advanced search