Search found 14059 matches

by Giovanni
Tue Jun 28, 2022 12:33 pm
Forum: ChibiOS/HAL
Topic: PWM signal not accurate
Replies: 1
Views: 19

Re: PWM signal not accurate

Hi, You need to consider that the PWM driver is mapped over a real TIM unit, the values you specify need to be compatible with the current TIM settings like: - Clock frequency. - ARR register value (the ARR value is your 100%). If your clock/period causes ARR to be something like "17" then...
by Giovanni
Fri Jun 24, 2022 1:20 pm
Forum: ChibiStudio
Topic: Global cpp object creation issue || __dso_handle
Replies: 1
Views: 88

Re: Global cpp object creation issue || __dso_handle

Hi,

Try googling "__dso_handle undefined", several hits pop up.

It is not something that is part of ChibiOS.

Giovanni
by Giovanni
Fri Jun 24, 2022 1:17 pm
Forum: STM32 Support
Topic: I2C CRC checksum
Replies: 1
Views: 112

Re: I2C CRC checksum

Hi,

It is not supported, the driver transfers raw data.

Giovanni
by Giovanni
Fri Jun 24, 2022 5:01 am
Forum: ChibiOS/HAL
Topic: Evaluating ChibiOS/HAL
Replies: 3
Views: 144

Re: Evaluating ChibiOS/HAL

When you launch OpenOCD it prompts you for an OpenOCD configuration file (not the .launch file just generated), files are under ./tools/openocd/scripts/board or ./tools/openocd/scripts/boards/target. If I remember well you should use ./tools/openocd/scripts/boards/target/stm32h7x.cfg This kind of th...
by Giovanni
Thu Jun 23, 2022 5:15 pm
Forum: ChibiOS/HAL
Topic: Evaluating ChibiOS/HAL
Replies: 3
Views: 144

Re: Evaluating ChibiOS/HAL

Hi, Lots of questions :-) About OO, HAL (and all the rest too) are written in an OO way just using C. Classes are structures, methods are functions that take the object as 1st parameter, virtual methods have a VMT (in classes with virtual methods), there are interfaces, inheritance (simple and multi...
by Giovanni
Wed Jun 22, 2022 1:34 pm
Forum: General Support
Topic: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free
Replies: 5
Views: 242

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Hi, So it is: CH_CFG_ST_FREQUENCY set to 1000 that prevents your application from working. Is there anything in your application that requires 10000? Post your mcuconf.h, it could be that 1000 cannot be obtained because your other settings. Anyway, I will make CH_CFG_ST_FREQUENCY unconstrained in 21...
by Giovanni
Wed Jun 22, 2022 11:34 am
Forum: General Support
Topic: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free
Replies: 5
Views: 242

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Hi,

You should try those parameters on the GPL version and see if it shows the same problem, those parameters are already enforced on the "free" version.

21.11.2 free is not yet available, I could do that over weekend.

Giovanni
by Giovanni
Wed Jun 22, 2022 11:32 am
Forum: ChibiStudio
Topic: New project creation from scratch
Replies: 1
Views: 71

Re: New project creation from scratch

Hi,

You should check the guides on http://www.playembedded.org most things are explained there.

Giovanni
by Giovanni
Wed Jun 22, 2022 11:24 am
Forum: STM32 Support
Topic: SPI in STM32F4029 Disc Board
Replies: 1
Views: 75

Re: SPI in STM32F4029 Disc Board

Hi,

You need to configure GPIO with appropriate alternate functions or nothing gets out, the table is in the STM32 data sheet.

Giovanni
by Giovanni
Tue Jun 21, 2022 5:09 pm
Forum: General Support
Topic: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free
Replies: 5
Views: 242

Re: Differences between ChibiOS 21.11.1 and ChibiOS 21.11.1 free

Hi, The code is exactly the same, note that the commercial "free" version has some restrictions, it enforces: #define CH_CFG_ST_FREQUENCY 1000 #define CH_DBG_STATISTICS FALSE #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED Make sure to keep those options the same. The only thing that ...

Go to advanced search