Page 22 of 24

Re: Where to start STM32H7 support

Posted: Tue Jan 26, 2021 9:59 am
by andypiper
Giovanni wrote:Hi,

No need to struggle too much, in mcuconf.h there is this:

Code: Select all

/*
 * Memory attributes settings.
 */
#define STM32_NOCACHE_MPU_REGION            MPU_REGION_6
#define STM32_NOCACHE_SRAM1_SRAM2           FALSE
#define STM32_NOCACHE_SRAM3                 TRUE


The related code is in hal_lld.c, you can use that as example.

Giovanni


Giovanni, there seems to be a bug here - SRAM3 is 32k according to the reference manual but we are only locking 16k

Re: Where to start STM32H7 support

Posted: Tue Jan 26, 2021 11:01 am
by Giovanni
Hi,

Please open a topic under "bug reports" about this, it is where I look for "things to do".

Giovanni

Re: Where to start STM32H7 support

Posted: Sun Feb 14, 2021 3:40 pm
by mobyfab
Giovanni wrote:OK, it could be a wiring issue, it happened already in the past with SD cards connected using wires.

If cost is not an issue then you could get a discovery board and see if it makes a difference.

Giovanni


I'm having the same issue with an STM32H750 rev V, it's not a hardware problem as it works fine with other software
The error flag is SDMMC_STA_RXOVERR

However, hardcoding return HAL_SUCCESS doesn't fix it. (connection successful but I can't read/write anything)

Re: Where to start STM32H7 support

Posted: Thu Feb 18, 2021 1:01 am
by mobyfab
is WSPI working on H7? I can't read/write anything right now (confirmed working with ST's HAL using ChibiOS RCC/GPIO config)

Re: Where to start STM32H7 support

Posted: Thu Feb 18, 2021 6:32 am
by Giovanni
mobyfab wrote:is WSPI working on H7? I can't read/write anything right now (confirmed working with ST's HAL using ChibiOS RCC/GPIO config)


Hi,

It is untested, there would be a test application under ./testhal otherwise.

Giovanni

Re: Where to start STM32H7 support

Posted: Mon Aug 30, 2021 11:52 am
by Guillaume227
Just got my hands on a H723ZG nucleo 144.
Current H7 demo cover H743, H750, H755 but there aren't any for H72x.
Is there anything specific to that family I should know before embarking on creating a new demo project, along the lines of what's described there ?
https://www.playembedded.org/blog/port- ... -platform/
I am thinking about compatibility gotchas between the various H7 sub-families.

Re: Where to start STM32H7 support

Posted: Mon Aug 30, 2021 12:59 pm
by Giovanni
Hi,

It should be just another subfamily, usually this requires adding an entry to the registry, few changes in hal_lld.h, a new mcuconf.h template and other minor things.

I have not yet analysed it in details so cannot guarantee you wont find some unusual things in there.

Giovanni

Re: Where to start STM32H7 support

Posted: Thu Feb 17, 2022 8:33 pm
by franek.bmw
Hello,

Thank you all for your contribution to support for H7.
I would like to ask what is the status of the CAN driver? If it is not ready yet, can you somehow support the work on this topic?

Thank you,
Franek

Re: Where to start STM32H7 support

Posted: Thu Feb 17, 2022 8:38 pm
by Giovanni
Hi,

Look in the dev forum, there are various contributions for the CAN driver I never had time to get into. There is an half done thing in the repository but it is not exactly high in my priorities. An effort is required to bring all contributions and suggestions together into a single driver.

Giovanni

Re: Where to start STM32H7 support

Posted: Tue Apr 12, 2022 1:38 pm
by fvantienen
Did someone already test the SDMMCv2 for the H7 or is it still untested?