Skip to main content
AAAZO.1
Associate
May 10, 2022
Question

Hello, I want to use FMC with an adc AD7606. I don't know yet how FMC works; so my question is how i can read fmc_data ? can i consider fmc data bus as simple gpios and read them with Gpio_ReadPin?

  • May 10, 2022
  • 2 replies
  • 1624 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
May 10, 2022

FMC would be like a memory read.

So perhaps as a pointer​ or structure pointer.

uint32_t *ptr = ​(uint32_t *)0x60000000;

printf ("%08X %08X\n", ptr[0], ptr[1]);​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
AAAZO.1
AAAZO.1Author
Associate
May 10, 2022

Well.. what i am trying to do is that i use the fmc with LCD TFT and i want to use the same fmc to interface with the adc7606. do you think is a good idea ?

Tesla DeLorean
Guru
May 10, 2022

Should be workable if you sub-decode the address space. Or use different chip select signals, the STM32 should subdivide into 64MB regions.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..