Search found 13439 matches

by Giovanni
Thu Apr 15, 2021 5:04 am
Forum: STM32 Support
Topic: Programmatic use of CH_DBG_STATISTICS
Replies: 7
Views: 279

Re: Programmatic use of CH_DBG_STATISTICS

Is it possible that tp->stats.best is equal 0xffffffff in such cases? The "best" field is initialized to 0xffffffff initially so it is a very big number until the 1st measurement is performed. Giovanni Ok so I should check for that before doing the conversion. Yes, the initial values are ...
by Giovanni
Wed Apr 14, 2021 8:01 pm
Forum: STM32 Support
Topic: Programmatic use of CH_DBG_STATISTICS
Replies: 7
Views: 279

Re: Programmatic use of CH_DBG_STATISTICS

Is it possible that tp->stats.best is equal 0xffffffff in such cases? The "best" field is initialized to 0xffffffff initially so it is a very big number until the 1st measurement is performed.

Giovanni
by Giovanni
Wed Apr 14, 2021 7:16 pm
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 31
Views: 7842

Re: [NOTES] Multi Core support

Small update. Now the registry is unified in SMP mode, it shows threads from both cores, in decoupled/single mode each instance has its own registry for its own threads. The shell has been updated to show the core where the thread is associated. Other small changes: - Now core_id_t is an "offic...
by Giovanni
Wed Apr 14, 2021 8:49 am
Forum: Small Change Requests
Topic: proposal for stm32l422 support
Replies: 2
Views: 41

Re: proposal for stm32l422 support

Hi,

20.x will not receive enhancements because it is a stable release, bug fixes only, any new addition should be made on trunk.

Giovanni
by Giovanni
Tue Apr 13, 2021 12:36 pm
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches
Replies: 14
Views: 1233

Re: STM32H7 ADCv4 patches

Hi,

Each driver should only touch its own peripheral so setting up PWR MONEN has to be done in mcuconf.h, putting an assertion could be a good idea.

Giovanni
by Giovanni
Mon Apr 12, 2021 6:57 pm
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches
Replies: 14
Views: 1233

Re: STM32H7 ADCv4 patches

The interrupt should come from DMA, is the ADC actually reading samples in memory?

Anyway, please use the support forum for this kind of things, it is not yet a bug report.

Giovanni
by Giovanni
Mon Apr 12, 2021 6:59 am
Forum: Bug Reports
Topic: STM32L432, STM32L433 and STM32L443 HAL port issues
Replies: 7
Views: 988

Re: STM32L432, STM32L433 and STM32L443 HAL port issues

Hi,

This has been reported among other problems: viewtopic.php?f=35&t=5823

Giovanni
by Giovanni
Sun Apr 11, 2021 3:57 pm
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 31
Views: 7842

Re: [NOTES] Multi Core support

Hi, Just sharing some ideas about SMP/multicore support: Critical Sections Currently there is a single spinlock used for all kernel structures, it is encapsulated in chSysLock()/Unlock(). This means that using a critical zone always takes the spinlock affecting the other core. This is less than opti...
by Giovanni
Sun Apr 11, 2021 2:34 pm
Forum: Bug Reports
Topic: Checking validity of DMA channels in I2S LLD on devices with DMAMUX peripheral
Replies: 2
Views: 76

Re: Checking validity of DMA channels in I2S LLD on devices with DMAMUX peripheral

Hi,

Thanks for finding, could you post the modified file or a patch? (zipped or the forum would reject it)

Giovanni
by Giovanni
Sun Apr 11, 2021 10:57 am
Forum: Bug Reports
Topic: STM32L433 GPIOH pins disabled
Replies: 3
Views: 165

Re: STM32L433 GPIOH pins disabled

Xelus wrote:Should STM32L433 and STM32L432 potentially be split?

L433 has one extra i2c and also one extra spi peripheral compared to L432.


Probably yes.

Giovanni

Go to advanced search