Search found 16 matches

by fractal
Mon Nov 15, 2021 10:09 am
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

Confirmed working (with my hardware and windows). Thank you!
by fractal
Sat Nov 13, 2021 1:01 am
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

Hi Giovanni,

I had a look at the register differences between G0 and old usb (e.g. F3), and while I don't really understand all the code, I tried making the obvious name changes that were partially already done in the new USBv2 files. I didnt understand the changes to the buffer, so I left that ...
by fractal
Thu Nov 11, 2021 5:33 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

Great, thank you. How the hell did you figure that out?

Two more things for the port I noticed when changing the systick timer:
- the debug register name has changed, DBG instead of DBGMCU
- for SYSTICKv1/hal_st_lld.c, this requires an additional elif
#elif defined(STM32G0XX)
#define ST_ENABLE ...
by fractal
Wed Nov 10, 2021 3:25 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

I did bike there, very nice landscape

The board.h was the first thing I checked, both two months ago with my own "port" and now, cant find a mistake, or any difference in SWD from the other G0s. I also replicated it on another computer with another nucleo, because I felt it might be something with ...
by fractal
Tue Nov 09, 2021 1:33 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

Hi Giovanni,

Sorry for disappearing without posting the files I modified - I couldn't get it working properly and then had to switch to STMcube stuff before going on holiday.
I now downloaded the latest code and the latest openOCD to match (seems to flash properly now) and I still have a major ...
by fractal
Wed Sep 08, 2021 5:01 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 43
Views: 56549

Re: Support for STM32G0B1

I was just about to create a post with the same title, allow me to hijack this one. I have some STM32G0B1KC and NUCLEO-G0B1R and am torn between getting used to STM32cube-things and freeRTOS or getting the B1 subfamily working with chibios/chibistudio.

I have already started adapting the existing ...
by fractal
Fri Sep 22, 2017 9:56 am
Forum: STM32 Support
Topic: Fast Interrupt Jitter
Replies: 4
Views: 4488

Re: Fast Interrupt Jitter

Hi Giovanni,

thank you for your input.

You are right, the ClearPending was just in there for debugging, it is not necessary. We are measuring the delay with a decent oscilloscope, I don't think its an analog issue.
Relocating the ISR to ram is a good idea, but from the available documentation (ARM ...
by fractal
Wed Sep 20, 2017 12:32 pm
Forum: STM32 Support
Topic: Fast Interrupt Jitter
Replies: 4
Views: 4488

Fast Interrupt Jitter

Hi everyone,

we have a problem with fast interrupts which we have not been able to solve for a while. It may not be directly related to chibios, but I still think this is the best place to ask.

We are using the internal comparator (COMP1) on the F3-series to generate a fast interrupt. These ...
by fractal
Mon Dec 14, 2015 2:08 pm
Forum: STM32 Support
Topic: USB on F303xE
Replies: 7
Views: 4806

Re: USB on F303xE

Hi Giovanni,

of course, when I added the device I left the USB_ACCESS_SCHEME the same as for the xC... Where do you even find this info?
I built against trunk this morning and it works perfectly, thank you very much

Just one cosmetic edit: the hal_lld.h is missing the xE:

#elif defined ...
by fractal
Fri Dec 11, 2015 9:07 pm
Forum: STM32 Support
Topic: USB on F303xE
Replies: 7
Views: 4806

Re: USB on F303xE

Debug options are on, nothing. So far I didn't investigate the exception further as I assumed there is some obvious (for someone else ) misconfiguration.
The L1 is similar in some respects, but not quite the same as it seems to have a switchable pullup. Anyway, I looked at the config for the L1 and ...