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.

EMIF Asynchronous Interface - RM48 HDK

Hi,

I want to interface an asynchronous device with RM48 HDK.

The device has 64 KB of on-chip static memory, 16 data lines, and 16 address lines, address line A0 gives the byte address, A1-A15 give the word address. It can be configured in both the 8-bit and 16-bit modes. In the 16-bit mode, the address line A0 is not used.

I want to interface this device with RM48 HDK such that I am able to access this device in both 8-bit mode and 16-bit modes.

Please tell me how to use EMIF_A[x:0] and EMIF_BA[1:0] of EMIF for this to work.

Regards

Anila

  • Anila,

    For interfacing 8-bit Async memory:
    EMIF_A[x:0] to memory A[x+2, 2]
    EMIF_BA[1:0] to memory A[1:0]

    For interfacing 16-bit Async memory:
    EMIF_A[x:0] to memory A[x+1, 1]
    EMIF_BA[1] to memory A[0]

    Regards,
    QJ
  • Thanks QJ.

    I have seen this in RM48 TRM. However I want to know how to interface my device in both 8 and 16 bit modes with RM48, that is if RM48 is configured in 8 bit mode, and the device is also configured in 8 bit mode, access is possible. Same for 16 bit.

    I want to know the  EMIF configuration for this.

    Regards

    Anila

  • Hi,

    Also the device that I am using is word oriented, it uses A15-A1 for accessing a word whereas A15 is the most significant bit. A0 is only used when device is accessed in the 8-bit mode.

    Please tell me how to interface this device to the EMIF of RM48.

    Should I connect (for 16-bit operation)

     EMIF_BA[1]  to A1 (of device).

    Also, how to decode a 32-bit address, e.g, 0x6000_0001, which bit is which in 8-bit and 16-bit modes.

    Any help would be highly appreciated.

    Thanks

    Anila