Search found 10824 matches

by Giovanni
Wed May 23, 2018 2:34 pm
Forum: Development and Feedback
Topic: v16 --> v17 --> v18 migration guide
Replies: 7
Views: 378

Re: v16 --> v17 --> v18 migration guide

Hi,

It is the offset between the VMT address and the base of the containing object, it is required by a new multiple inheritance mechanism that allows objects to present multiple interfaces.

When there is a single interface then the offset is always zero.

Giovanni
by Giovanni
Wed May 23, 2018 8:31 am
Forum: STM32 Support
Topic: MMC SPI on the STM32L476RG not working...
Replies: 7
Views: 92

Re: MMC SPI on the STM32L476RG not working...

Hi,

Apparently your detection code does not work and does not trigger the FS mount. The debugger is on your side, there isn't much we can do from here.

Giovanni
by Giovanni
Tue May 22, 2018 9:49 pm
Forum: STM32 Support
Topic: Thread parameter - struct
Replies: 4
Views: 68

Re: Thread parameter - struct

Correct, it is there to suppress a warning, if you use the argument then there is no need for it.

Giovanni
by Giovanni
Tue May 22, 2018 5:25 pm
Forum: ChibiOS/HAL
Topic: STM32F3 : ADC => limitation on DEPTH
Replies: 5
Views: 357

Re: STM32F3 : ADC => limitation on DEPTH

Hi,

There are already HW triggered demos under testhal using a GPT as trigger for an ADC.

Giovanni
by Giovanni
Tue May 22, 2018 9:39 am
Forum: Small Change Requests
Topic: Support for RCC_DKCFGR.TIMPRE in newer STM32
Replies: 22
Views: 966

Re: Support for RCC_DKCFGR.TIMPRE in newer STM32

Note that type1 and type2 is not just TIMPRE, there is a mess with I2S-related settings and register fields overlapping, reassigning... not sure if it is a good idea. F413 is the real oddball there.

Let's just add conditionals for the TIMPRE part in hal_lld.h.

Giovanni
by Giovanni
Tue May 22, 2018 7:21 am
Forum: STM32 Support
Topic: MMC SPI on the STM32L476RG not working...
Replies: 7
Views: 92

Re: MMC SPI on the STM32L476RG not working...

Is the card insertion detected? put breakpoints. There is detection code to be added to board.c.

Giovanni
by Giovanni
Mon May 21, 2018 2:23 pm
Forum: STM32 Support
Topic: Help asked -- PAL-GPIO PWM and Interrupts
Replies: 4
Views: 137

Re: Help asked -- PAL-GPIO PWM and Interrupts

Hi, Have you seen this article? http://chibios.org/dokuwiki/doku.php?id=chibios:howtos:interrupts Note that in all device drivers you can find plenty examples of "real" ISRs and the enable code. In general, if you use HAL, there should not be the need to write ISRs, the drivers give you ca...
by Giovanni
Sat May 19, 2018 6:03 am
Forum: STM32 Support
Topic: Adding I2C memory address to write.
Replies: 4
Views: 82

Re: Adding I2C memory address to write.

Hi, i2cMasterTransmitTimeout () is the function you need, however the send buffer is monolithic, you cannot split it. The transfer is done using DMA and it is not possible to have non-contiguous buffers. http://chibios.sourceforge.net/docs3/hal/group___i2_c.html#ga78fa5ef397d9742603a246ac4f4f4132 Gi...
by Giovanni
Sat May 19, 2018 5:56 am
Forum: STM32 Support
Topic: Help asked -- PAL-GPIO PWM and Interrupts
Replies: 4
Views: 137

Re: Help asked -- PAL-GPIO PWM and Interrupts

Hi,

You should look into the ICU driver, it measures a PWM signal using a timer returning period and duty cycle.

There are several PWM-ICU demos under ./testhal/stm32.

Moving this topic in the correct forum: STM32 support.

Giovanni
by Giovanni
Thu May 17, 2018 3:24 pm
Forum: Small Change Requests
Topic: Support for RCC_DKCFGR.TIMPRE in newer STM32
Replies: 22
Views: 966

Re: Support for RCC_DKCFGR.TIMPRE in newer STM32

Hi,

If you have time add a conditional to hal_lld.h but we need to consider all F4s do the condition should be on the "exceptions".

Giovanni

Go to advanced search