This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: GPMC AAD mode addressing

Part Number: AM3352

Champs

On the AM335 GPMC i notice in the TRM it only shows 16 bit address for the synch mode figure 7-23. It does not show the 32 bit address which should be MSB address then LSB address?

1) The question is in the synch AAD mode on the GPMC does it only supports 16 bit address only?

2) if 1 is true then which address is going out on the AD(16:1) the LSB or the MSB?

3) i assume that the other high address lines are not valid in this mode.

Do you have a register setup that you can send me to make for the case of GPMC AAD mode and be able to have the 32 bit lines in Synch mode. 

Thanks

regards

Mohsen

  • Hi,

    AM335x TRM Rev. P page 642:

    "When the GPMC generates a write access to an AAD-multiplexed device, all address bits are driven onto the address/data bus in two separate phases. The first phase is used for the MSB address and is qualified with OEn driven low. The second phase for LSB address is qualified with OEn driven high. The address phase ends at WEn assertion time."
  • Hi Biser

    Thanks for the reply but if you look at the figure 7-22 it does not show MSB and LSB address for the AAD synch mode? i am just trying to make sure which statement is correct. For teh cas eof the Async AAD it does show the MSB and LSB address on the AD(16:1)..

    The reason we are asking is that it looks like the MSB address does not come out when in Synch mode but once we switch to Asynch mode the MSB and the LSB address does come out.

    Also can you send me a register setup that i can use to put the GPMC in the synch AAD mode so that the MSB and the LSB address are coming out.

    Thanks

    Mohsen

  • Thanks for the reply

    i got the correct values to make it work. The values that you refer to in the e2e crash the system using uboot to setup the registers.

    The below assumes running the GPMC at 50mhz adn the mode is Synch (AAD) address/address/data so multiplex address and data.


    mw 0x44e10800 0x00000020 1
    mw 0x44e10804 0x00000020 1
    mw 0x44e10808 0x00000020 1
    mw 0x44e1080c 0x00000020 1
    mw 0x44e10810 0x00000020 1
    mw 0x44e10814 0x00000020 1
    mw 0x44e10818 0x00000020 1
    mw 0x44e1081c 0x00000020 1
    mw 0x44e10820 0x00000000 1
    mw 0x44e10824 0x00000000 1
    mw 0x44e10828 0x00000000 1
    mw 0x44e1082c 0x00000000 1
    mw 0x44e10830 0x00000000 1
    mw 0x44e10834 0x00000000 1
    mw 0x44e10838 0x00000000 1
    mw 0x44e1083c 0x00000000 1
    mw 0x44e10878 0x00000030 1
    mw 0x44e10880 0x00000030 1
    mw 0x44e1088c 0x00000020 1
    mw 0x44e10890 0x00000030 1
    mw 0x44e10894 0x00000030 1
    mw 0x44e10898 0x00000030 1
    mw 0x44e1089c 0x00000030 1

    mw 0x50000090 0x28001101 1
    mw 0x50000094 0x000b0d80 1
    mw 0x50000098 0x440808a6 1
    mw 0x5000009c 0x0b898e05 1
    mw 0x500000a0 0x010e0d10 1
    mw 0x500000a4 0x8b090000 1
    mw 0x500000a8 0x00000f5f 1