cancel
Showing results for 
Search instead for 
Did you mean: 

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?

AAAZO.1
Associate II
 
3 REPLIES 3

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
AAAZO.1
Associate II

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 ?

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 Venmo
Up vote any posts that you find helpful, it shows what's working..