Go to previous topic
Go to next topic
Last Post 22 Nov 2017 01:34 PM by  Kevin Darmasaputra
32 bit access on lh524 on external connector
 1 Replies
Author Messages
sreedhar
New Member
New Member
Posts:


--
28 Feb 2012 11:20 PM
    Hi,

    I am trying to port code from lh520 to lh524 and need to read from a 32bit io resource.
    In the lh520 board, Video_nCS was available and worked for 32 bit access at address 0x44000000

    In lh524, I could not see how to get Video to work. So, I am trying both
    fast_nmcs and slow_nmcs signals to access the same 32 bit resource
    on my application board ( custom ). The moment I switch the configuration of the SMC
    to 32 bit, the board quits getting either of the chip selects.

    Can someone clarify how I can access a 32 bit resource on custom app boards which worked
    for the lh520 boards. OS is linux.
    Kevin Darmasaputra
    New Member
    New Member
    Posts:4


    --
    22 Nov 2017 01:34 PM
    Hi Sreedhar,

    For slow nmcs, you can make the FIFO address to start from 0x4A000000 or 0x4B000000
    For fast nmcs, you can make the FIFO address to start from 0x4D000000 for 16-bit data or 0x4F000000 for 32-bit data

    Don't forget to change the bus memory width to 32-bit via changing SCONFIG:mW2 which I believe has the address of 0xFFFF1240, you can check the manual for more information

    Please let me know if you have anymore questions

    Peace :)


    ---