Search found 8 matches

by nr4ps
Fri Apr 05, 2024 5:20 pm
Forum: IDE's
Topic: Using DMA to vary PWM duty cycle
Replies: 2
Views: 1052

Re: Using DMA to vary PWM duty cycle

Thank you! I must've misread which line was producing the error!
by nr4ps
Thu Apr 04, 2024 9:12 pm
Forum: IDE's
Topic: Using DMA to vary PWM duty cycle
Replies: 2
Views: 1052

Using DMA to vary PWM duty cycle

Hello, I am trying to understand how to use DMA to vary PWM duty cycle so that I could put it through a low-pass filter to create a sine wave. I am using the rogerclarkmelbourne core. I tried doing it with dma_setup_transfer (commented out) and with dma_tube_config (which is evidently the preferred ...
by nr4ps
Wed Nov 02, 2022 2:45 pm
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

Re: how to get started with stm32f103

Oh my gosh. After all that, using a different USB cable fixed the problem. Thanks for the suggestions, everyone.
by nr4ps
Tue Nov 01, 2022 8:22 pm
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

Re: how to get started with stm32f103

Oh dear... Seems someone else (see below) couldn't get USB to work on boards purchased from a similar-named store. That doesn't bode well. I'll try contacting the seller. In the mean time, if anyone has any thoughts on narrowing down the root of the issue please let me know. I don't have a proper os...
by nr4ps
Tue Nov 01, 2022 6:09 pm
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

Re: how to get started with stm32f103

Thanks. I've gone back and forth enough times that I get mixed up. But using the STM core and enabling USB CDC as shown I still cannot get a COM port to show up after I program it via STLink, switch the boot0 jumper back to 0, disconnect STLink, and connect USB cable. It's looking for a COM7 port th...
by nr4ps
Tue Nov 01, 2022 1:03 am
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

Re: how to get started with stm32f103

Thank you for the suggestions. I have switched to Arduino IDE 1.8 and set the upload method to STLink. I am able to upload a sketch to make the LED flash. I have to move the boot jumper back and forth for the sketch to persist across resets, but that is progress! But Arduino 1.8 does not have any op...
by nr4ps
Mon Oct 31, 2022 2:49 am
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

Re: how to get started with stm32f103

If LED blinks fast, it means that board is in bootloader mode and it's ready to flash sketch. There won't be a COM port. You'll see COM port only if you flash sketch with USB CDC enabled. Thank you for your response. USB is set to CDC. I do not understand hopw to flash the sketch. Capture3.JPG Capt...
by nr4ps
Sun Oct 30, 2022 7:35 pm
Forum: General discussion
Topic: how to get started with stm32f103
Replies: 12
Views: 3341

how to get started with stm32f103

Hello, I have STM32F103C8T6 board and ST-Link v2 device from https://www.aliexpress.us/item/2251832606198485.html?gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US I am very confused on how to get started programming it. I would like to be able to use the Arduino IDE and program it over USB like I...

Go to advanced search