Hello
I am a newbie to OMAP, but chose it for our next project.
The project requires connecting the OMAP to a FPGA, I chose to do it through EMIFA, using CS2, a 16 bit wide data bus and the data structure on the xilinx is 32 registers of 32 bits.
Project is to use the ARM core under linux.
My questions are:
1. Physical connection: How should I treat the BA bits and address bus? I think I understood that OMAP memory space uses byte addressing so a write to address 6,0000,0000 will be translated to EMIFA address of ADDR = 000..000 and BA = 00 (this will write the lower 16 bits to my input buffer), then do a second write to address 6,0000,0002 which will be translated to EMIFA address of ADDR = 000..000 and BA = 10 (this will write the higher16 bits to my input buffer), and so on, correct?
2. LINUX addressing of the EMIFA: ARM uses MMU, so how do I make a memory write to a specific physical address?
3. Init: How should I init the EMIFA registers?
Thanks
Uri