Search found 77 matches

by electronic_eel
Sun Mar 14, 2021 4:46 pm
Forum: Bug Reports
Topic: Using TIM15 PWM [STM32F072] Topic is solved
Replies: 10
Views: 6258

Re: Using TIM15 PWM [STM32F072] Topic is solved

I just faced the same problem, I wanted to output a PWM signal on TIM15 on a STM32F072. I didn't need any IRQs/callback. To make it compile (current ChibiOS git master branch) I configured it like this in mcuconf.h: #define STM32_PWM_USE_TIM15 TRUE #define STM32_TIM15_SUPPRESS_ISR Then it compiled, ...
by electronic_eel
Tue Mar 09, 2021 8:24 pm
Forum: STM32 Support
Topic: Jump to bootloader.
Replies: 11
Views: 6062

Re: Jump to bootloader.

I now implemented it using the weak symbol before crt0.S, as Giovanni suggested. I think this is the more clean method as I don't have to change anything in generated board-code and also don't have to reset anything like cpsid, but just keep the original settings from the reset of the MCU. This is t...
by electronic_eel
Sat Nov 07, 2020 6:52 pm
Forum: STM32 Support
Topic: STM32F103C8T6 USB CDC
Replies: 5
Views: 2767

Re: STM32F103C8T6 USB CDC

I have STM32F103C8T6 eval board "Blue Pill". I don't know if you are aware of this, but recently a lot of the boards sold as "Blue Pill" do not contain true STM32F103 from ST anymore, but MCUs that are more or less compatible from other manufacturers. Sometimes they carry their ...
by electronic_eel
Thu Oct 29, 2020 10:29 pm
Forum: STM32 Support
Topic: Jump to bootloader.
Replies: 11
Views: 6062

Re: Jump to bootloader.

I want to do exactly the same thing in my next project. Which exact STM32 model were you using? I guess the bootloader code is quite different between the series, as they have a wide variety of different features. Were you able to implement Giovannis suggestion, a module after vector.S and before cr...
by electronic_eel
Fri May 22, 2020 9:34 pm
Forum: User Projects
Topic: RISC-V Port of ChibiOS
Replies: 3
Views: 4348

Re: RISC-V Port of ChibiOS

I don't know if you are aware of it, but Gigadevice has the GD32VF103 available. This is interesting for ChibiOS I think, because it is a RISC-V mcu which contains the well-known peripherals from the STM32F103. So a port would "just" need to take care of the processor core, the peripherals...
by electronic_eel
Fri Mar 27, 2020 2:21 am
Forum: STM32 Support
Topic: board files, tools/ftl reorganized ?
Replies: 7
Views: 2850

Re: board files, tools/ftl reorganized ?

I had the exact same issue before, see http://www.chibios.com/forum/viewtopic.php?f=38&t=4589#p33624 for a detailed analysis of the problem and a suggestion how to fix it.
by electronic_eel
Sun Mar 01, 2020 6:37 pm
Forum: STM32 Support
Topic: USB HS on STM32F730Z
Replies: 6
Views: 3232

Re: USB HS on STM32F730Z

But wouldn't it be better to just fill in a few other AF positions in the matrix to give you a few more options to move things around instead of requiring the much larger package? I don't know why they did it like that. I guess there are technical reasons. Maybe the HS PHY IP they licensed allows o...
by electronic_eel
Mon Feb 24, 2020 9:40 pm
Forum: STM32 Support
Topic: USB HS on STM32F730Z
Replies: 6
Views: 3232

Re: USB HS on STM32F730Z

(*) The fact that only the physically larger versions have this hints to me that they might be adding an ULPI chip inside the package. On the other hand, this is the "value line", so not a chip where you expect a multi-chip-package. The first thing I look at when trying to figure out such...
by electronic_eel
Wed Feb 12, 2020 8:36 pm
Forum: STM32 Support
Topic: UART DMA receive in circular mode
Replies: 3
Views: 2892

Re: UART DMA receive in circular mode

I concur that the circular buffer implementation won't be easy to implement in a correct way. You would have to suspend DMA operations, do your read/write then resume DMA operations, I am not even sure it is possible to suspend/resume DMA channels. How about using two buffers instead of the circular...
by electronic_eel
Sun Nov 03, 2019 4:59 pm
Forum: Development and Feedback
Topic: [INFO] Functional Safety Elements
Replies: 4
Views: 2815

Re: [INFO] Functional Safety Elements

I'm not working in an industry with specific functional safety requirements, so I'm not that experienced with such requirements and norms. But I still like to improve the reliability of the stuff I build if it doesn't take too long to implement. Here are some more ideas in this area from me: - Flash...

Go to advanced search