2023-08-29 04:10 AM
Dear all,
First of all, I would like to say that my experience con STM32 uprocessors and STMcubeIDE is limited.
I have defined a FMC on STM32CubeMX as shown in picture 1.
Then I have defined a function to test FMC. The function is: Test_DPM, shown in picture 2.
The other details needed:
#define SRAM_BANK_ADDR ((uint32_t)0x60000000) //Fig. 5, AN4891 Application Note
#define WRITE_READ_ADDR ((uint32_t)0x0800)
In picture 4 you have the initialization on main.c.
When I executed this, "HAL_SRAM_Write_16b" does not return enything and the application hangs.
I am writting to port B of Dual-Port - Memory, Renesas 70V24L15PFG
Any idea of what can be the problem?
If you need further details, please do not hesitate to ask for them. I will be happy supplying them.
Thanks in advance,
Regards,
Joaquin.
Solved! Go to Solution.
2023-08-30 12:05 AM
Hello all,
I found out the problem. On SMT32CubeMX, there is an option which I had disabled. This options in "Write Operation". I enabled it and then it works.
Thank you anyway all for time.
Joaquin.
2023-08-30 12:05 AM
Hello all,
I found out the problem. On SMT32CubeMX, there is an option which I had disabled. This options in "Write Operation". I enabled it and then it works.
Thank you anyway all for time.
Joaquin.