Search found 37 matches

by piers
Thu Sep 17, 2020 12:18 pm
Forum: General Support
Topic: I2C Bus Scanner
Replies: 6
Views: 218

Re: I2C Bus Scanner

Tabulous, did you find a solution for scanning the I2C bus? I'm trying something similar, and I also think an I2C scanner would be a nice ChibiOS I2C example project.
by piers
Tue Sep 15, 2020 4:36 pm
Forum: Bug Reports
Topic: Nucleo H743ZI board has wrong pin for LED 2
Replies: 3
Views: 54

Re: Nucleo H743ZI board has wrong pin for LED 2

Ok, good. I went through the schematics to see if there are other changes, but it looks like the rest is the same.

I forgot to change the board name, so here's a new version attached.
by piers
Tue Sep 15, 2020 1:30 pm
Forum: Bug Reports
Topic: Nucleo H743ZI board has wrong pin for LED 2
Replies: 3
Views: 54

Nucleo H743ZI board has wrong pin for LED 2

In the Nucleo H743ZI board files LED2 is at PB7, and is named BLUE, while my board has LED2 on PE1 and is yellow. I have the NUCLEO-H743 ZI2 board (with the Rev-V chip), so not sure if the original ZI Nucleo board with the Rev-Y chip has a blue led on PB7, or there is a mistake in the board files. S...
by piers
Wed Aug 05, 2020 10:08 am
Forum: Bug Reports
Topic: STM32H7 ADCv4 dual mode DMA issue
Replies: 3
Views: 143

Re: STM32H7 ADCv4 dual mode DMA issue

Is it possible to have the (single) DMA be triggered by the slave ADC? Good idea. I did a quick test by using dmaSetRequestSource(adcp->data.dma, STM32_DMAMUX1_ADC2); in hal_adc_lld.c, but it didn't immediately work. DMA didn't seem to trigger. I'll have another look when I've got more time.
by piers
Wed Jul 29, 2020 11:29 am
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches Topic is solved
Replies: 7
Views: 433

Re: STM32H7 ADCv4 patches Topic is solved

Great.

Note that for the BDMA of ADC3 the samples buffer needs to be in ram4. Probably that's not immediately clear for everybody.
by piers
Wed Jul 29, 2020 11:27 am
Forum: Bug Reports
Topic: STM32H7 ADCv4 dual mode DMA issue
Replies: 3
Views: 143

STM32H7 ADCv4 dual mode DMA issue

I did discover another problem with ADCv4 in dual mode, which is not really in ChibiOS but appears to be in the hardware. The readings from the slave ADC are delayed by one sample. This is because the DMA transfer seems to be triggered by the master EOC, just before the slave has put the data into t...
by piers
Fri Jul 17, 2020 3:27 am
Forum: Bug Reports
Topic: STM32H7 REV-V should be the default Topic is solved
Replies: 6
Views: 496

Re: STM32H7 REV-V should be the default Topic is solved

Hi Giovanni, there is one typo in your fix (apart from the typo that it should be bug #1110): "!defined" is replaced by "defined", the exclamation mark got missing: ------------------ os/hal/ports/STM32/LLD/BDMAv1/stm32_bdma.h ------------------ index de479a150..7461dc6b1 100644 ...
by piers
Fri Jul 17, 2020 1:23 am
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches Topic is solved
Replies: 7
Views: 433

Re: STM32H7 ADCv4 patches Topic is solved

Hi Giovanni, Finally got around to separate the patches even more cleanly and use STM32_ENFORCE_H7_REV_XY. There's 10 patches now in the attached zip file: - ADCv4 dual mode DMA transfer size fix - ADCv4 add dual mode ADC_CCR_DUAL_ defines - ADCv4 REV-V ADC_CFGR_RES fixes - ADCv4 fix ADC clock calcu...
by piers
Sat Jul 04, 2020 2:06 pm
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches Topic is solved
Replies: 7
Views: 433

Re: STM32H7 ADCv4 patches Topic is solved

Hi Giovanni, It is separated as different commits, I tried to keep the different things separated that way. Since a lot of them patch the same file and are very connected it was much easier to make them build on top of each other. Also I've used STM32_ENFORCE_H7_REV_Y instead of STM32_ENFORCE_H7_REV...
by piers
Sat Jul 04, 2020 9:37 am
Forum: ChibiOS/HAL
Topic: testhal ADC STM32H743 example improvement
Replies: 7
Views: 721

Re: testhal ADC STM32H743 example improvement

Hi, I posted my progress on the STM32H7 ADC in a separate thread: http://www.chibios.com/forum/viewtopic.php?f=35&t=5576 For using ADC3 you do need those patches, as the bdma implementation was not finished. I can add these defines there too to keep things together. I only have a STM32H743 Rev V...

Go to advanced search