Search found 140 matches
- Thu Apr 27, 2023 7:38 pm
- Forum: General discussion
- Topic: HardwareTimer fast PWM Interrupt crashing
- Replies: 2
- Views: 1036
Re: HardwareTimer fast PWM Interrupt crashing
IMHO, you reached maximum of what interrupt with timer can do. Interrupt latency can be a killer. You still have few options: - try to compile with O3 (without or with LTO) - try precalculated code for uint32_t GPIOE->BSSR = uint32_t value[xx] where value is not just CLK and MOSI bits, but also nSS1...
- Mon Feb 27, 2023 6:42 pm
- Forum: USB bootloader
- Topic: bootloader seems to get overwritten
- Replies: 10
- Views: 10243
Re: bootloader seems to get overwritten
That parts reads a bit confusing. Why does the port change? Does it change on every update? Or are you saying there is one port for the flashing and another for the serial monitor? No, it will do only once, when you upload your first sketch on just flashed bootloader. Every upload after that is don...
- Mon Feb 27, 2023 4:12 pm
- Forum: USB bootloader
- Topic: bootloader seems to get overwritten
- Replies: 10
- Views: 10243
Re: bootloader seems to get overwritten
I don't know how to deal with PIO, but with Arduino IDE, once you flashed "generic_boot20_pc13.bin" via serial or st-link, you'll get COM port (and it will be named "COM10 Maple Mini"). Port number may be different in your case. At this point use you must use USB to upload sketch...
- Mon Feb 06, 2023 1:10 am
- Forum: General discussion
- Topic: DMA Code not working on STM32F401 blackpill
- Replies: 4
- Views: 1142
Re: DMA Code not working on STM32F401 blackpill
Few errors here: First, you used Stream6, channel0 , which is used for (timer1) ch1 or ch2 or ch3 but later you try to call it with "TIM_DMA_UPDATE" (which use Stream5, channel6). Second, your "data" is 8 bit, and GPIO port is 16bit wide (register is 32bit, but 16 is used). If yo...
- Sat Dec 17, 2022 10:00 pm
- Forum: General discussion
- Topic: STM32 TVout Upgrade to Work with Video Overlay - Help Needed
- Replies: 7
- Views: 1489
Re: STM32 TVout Upgrade to Work with Video Overlay - Help Needed
I did some experiments with TV/VGA and stm32f401/411 few years back, so i'm kind of familiar with NTSC/PAL timings. I did quick look at lm1881 datasheet, i would say that what are you trying to do is doable, but timing critical. In short, all you need to do is to send your line data from scanline 23...
- Tue Dec 13, 2022 8:34 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1851
Re: STM32 TVOUT
...\Arduino\libraries\TNTSC\src\TNTSC.h ...\Arduino\libraries\TTVout\src\TTVout.h ...\Arduino\libraries\misakiUTF16\misakiUTF16.h ...\Arduino\libraries\TVoutfonts\fontALL.h TTVout is for stm32. TVout is for arduino (yes, i have that installed too), plus "fontALL.h" in TVoutfonts folder... ...
- Tue Dec 13, 2022 7:50 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1851
Re: STM32 TVOUT
At this point, i don't know why are you getting those errors.
My first guess is that core is not properly installed or selected.
Try to compile blink sketch from File->>examples->basics->blink
My first guess is that core is not properly installed or selected.
Try to compile blink sketch from File->>examples->basics->blink
- Tue Dec 13, 2022 3:43 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1851
Re: STM32 TVOUT
I tried TNTSC libray with MisakiFontOut.ino and stm32_DemoNTSC.ino from TTVout library and it compiled without errors on my PC.
Arduino IDE 1.8.19 and Generic STM32F103C board...
Are you using Arduino 2.0 IDE ?
Arduino IDE 1.8.19 and Generic STM32F103C board...
Are you using Arduino 2.0 IDE ?
- Sat Dec 10, 2022 5:01 pm
- Forum: General discussion
- Topic: STM32 TVOUT
- Replies: 16
- Views: 1851
Re: STM32 TVOUT
Place TNTSC library in library folder, so full path will be: C:\Users\15183\Documents\Arduino\libraries\TNTSC
NOT in core library folder ( C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC )
NOT in core library folder ( C:\Users\15183\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\TNTSC )
- Mon Nov 21, 2022 9:12 pm
- Forum: General discussion
- Topic: possible to direct access RNG registers of 32F411 via arduino-ide?
- Replies: 11
- Views: 1787
Re: possible to direct access RNG registers of 32F411 via arduino-ide?
I don't think F411 have that feature.
Quick search for "RNG" in CMSIS:
19 out of 24 do have it, but F411 is not one of them.
Either use noise from analog input, as ag123 suggested, or implement some LFSR in timer interrupt.
Quick search for "RNG" in CMSIS:
19 out of 24 do have it, but F411 is not one of them.
Either use noise from analog input, as ag123 suggested, or implement some LFSR in timer interrupt.