2025-09-17 5:49 AM - last edited on 2025-09-17 6:21 AM by Saket_Om
Hello
I want the STM32 to transmit data to the FPGA via the FMC. However, when I use the manufacturer's example and modify the return line in the FPGA, the LCD displays the modified value from the STM32 instead of the expected return line value. What configuration setting in the FMC_Test project am I overlooking that is preventing the correct value from appearing on the LCD?
2025-09-17 6:29 AM - edited 2025-09-17 6:29 AM
Hello @Connoe
@Connoe wrote:
Hello
However, when I use the manufacturer's example and modify the return line in the FPGA, the LCD displays the modified value from the STM32 instead of the expected return line value.
What is the example you are talking about? What do you mean by modify the return line?
Could you explain your setup with more details please?
2025-09-17 6:53 AM
The FMC_Test.7z file contains two projects: FPGA_FMC and STM32_FMC.
In the FPGA_FMC section, I modified the default return values. The section highlighted in the first image shows the values that I want the FPGA to return: 11, 22, 33, 44, 55 and 66.
In the STM32_FMC module, I configure the operation of KEY1 and KEY2. When pressed, they set a value, as shown in the second diagram. This value also serves as verification that the FMC functionality has been successfully implemented. If not, the received data values will be either [10, 20, 30, 40, 50] or [11, 21, 35, 74, 96]. If it succeeds, however, the received data values will be [11, 22, 33, 44, 55, 66].
The two images below show the actual output after pressing KEY1 and KEY2.