Page 6 of 24
Re: Where to start STM32H7 support
Posted: Fri Dec 14, 2018 6:11 pm
by alex31
Hi,
The peripheral is the same in F3 so it should be similar, the exact values have to be calculated, details are in the STM32 Reference Manual.
The STM32CubeMX application can compute the TIMINGR value for you. Within STM32CubeMX, create a H7 project, configure the clock tree, then the I2C port you want to use, and you can generate pdf and text rapport where TIMINGR is calculated as a 32 bits constant.
The tool can even generate init code, but alas, not for ChibiOS :-/
Alexandre
Re: Where to start STM32H7 support
Posted: Tue Dec 18, 2018 5:03 pm
by maciek
Hi,
thanks for the answers, I've generated the project in STM32CubeMX, and the resulting "Timing" constant I got is 0x10707DBC. Does it make sense? I'll check if it works in my ChibiOS I2C project.
As far as could I determine, ADCs and SDIO/SDC seem to be not supported yet?
Re: Where to start STM32H7 support
Posted: Tue Dec 18, 2018 8:15 pm
by Giovanni
Correct, H7 support is not complete yet.
Giovanni
Re: Where to start STM32H7 support
Posted: Sun Dec 30, 2018 12:27 pm
by Giovanni
Small update.
I added a demo for the H7 ADC, the code compiles and runs but the result is not what I expect, the buffer contains zeros even if the DMA started and wrote data.
There must still be some stupid error in the driver.
Giovanni
Re: Where to start STM32H7 support
Posted: Sun Dec 30, 2018 4:06 pm
by Giovanni
The driver is working now, tested one-shot and continuous circular modes.
Giovanni
Re: Where to start STM32H7 support
Posted: Sun Dec 30, 2018 9:30 pm
by bluuu
Thanks for update. Good job.
Any plans for SDMMC driver ?
Re: Where to start STM32H7 support
Posted: Sun Jan 20, 2019 9:44 pm
by bluuu
bump
Re: Where to start STM32H7 support
Posted: Sun Jan 20, 2019 9:46 pm
by Giovanni
No immediate plans, partly because lack of HW.
Giovanni
Re: Where to start STM32H7 support
Posted: Wed Jan 23, 2019 9:50 am
by maciek
Hi Giovanni,
which HW do you need? Would Nucleo H743ZI do the job?
https://os.mbed.com/platforms/ST-Nucleo-H743ZI/and also an SD card board with SDIO interface, connected to Nucleo?
I think some of us would be happy to fund such a board as our contribution to Chibios on H7 controllers. Do you prefer a donation or a real board, already wired to the SD shield?
Re: Where to start STM32H7 support
Posted: Wed Jan 23, 2019 5:28 pm
by Giovanni
Hi,
I have already that board, it doesn't have the SDMMC connector and I think that attaching one with floating wires would not work as expected. Some tried, should search topics in the forum about this.
Giovanni