2025-02-27 8:10 AM
Dear All,
I have created a project where I have placed the APS6408L memory on the HSPI1 peripheral of the STM32U5G9NJH6Q.
On CubeMX, I am setting this in the peripheral configuration:
And in the memory management tab I see this:
I was expecting to see 16MB there.
Using this setup my project does not work as the device hard faults when I try to access the second half of the external RAM.
Doing this in the configuration:
leads to this:
And I have tested the code allocating a buffer at the end of the external RAM, playing with it and it works, but I believe that the configuration should be the that of the first image and the result should be that of the second image.
Is this an issue of CubeMX?
Thanks in advance
2025-02-27 8:44 AM
64 Mbit = 8 MB, not 16.