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.

TMS320F28379D: EMIF Interface to two 512Mbits SDRAM chips

Part Number: TMS320F28379D

Hi,

I would like to interface TWO 512Mbits Synchronous SDRAM chips (for a total memory size of 128Mbytes) to the TMS320F28379D using a 32 bit data bus width and a 16 bit address bus width…however I am unsure on how about to connect the two memory chips with the microcontroller since on the technical reference manual this is nowhere indicated.

I found this diagram on the C55x EMIF Application Report:

Link: www.ti.com/.../spra719.pdf 

I am wondering if the connection to the TMS320F28379D is similar to the above and would like to know why in the case for the C55x the address lines are started from A2 and not from A0. Is this necessary and is this also the case for the TMS320F28379D? I am asking this because this would be a problem then since the pinouts for the SDRAS and SDCAS are multiplexed with A14 and A13 and not multiplexed anywhere else.

Appreciate all your help

Johann

  • Hi Johann,

    I don't think the EMIF interface has 32 data lines for a 32 bit data interface to your part. I am also working to understand this interface so I can use it to interface a register based part that has a parallel bus option.

    Is it possible with the memory parts you have selected to access the same data in two 16 bit operations (EMIF will support that)? I don't think you are going to be successful in getting the Delfino to do a single 32 bit data transfer.

    Hope that helps,
    Kevin

  • Hi Kevin,

    Thanks for your reply however on the  TMS320F28379D datasheet there is stated that EMIF 1 can have a maximum data width of 32... This is stated on page 2401...so are you sure that a 32 bit data transfer cannot occur?

    My main concern right now is how about to physically connect the two 512Mbit SDRAMs to the Delfino. The SDRAMs have a 16 bit data width and I was thinking of connecting one of the SDRAMs to the lower 16 bits and the other one to the upper 16 bits data bus and both SDRAMs sharing the same address bus...In other words very similar to the C55x case as shown in previous post..

    Would this be possible?

    Thanks again

    Johann 

  • That was of absolutely no help, was it? Sorry about that, I have been focused on a different EMIF problem and didn't bother to look.

    Okay, so yes, it does support 32 bits.

    The diagram you found is close, but you don't need to pull up CKE and the address lines are more straightforward with the EMIF on the Delfino.

    The EMIF has its own Bank Address bits. There is a chart/table on page 2417 (Table 25-15) for 16 bit parts (even if you are using two 16 bit parts, you still want to use this table). Use Table 25-15 in conjunction with Table 25-7 (page 2408) to select the number of address lines to use.

    For example, I am correlating all this with a IS42S16400J from ISSI (www.issi.com/.../42-45S16400J.pdf), which is a 64Mx16x4Bank part.

    I would connect (to both parts):
    EM1CLK to CLK
    EM1SDCKE to CKE
    EM1RAS/CAS to RAS/CAS
    EM1CS0 to CS
    EM1WE to WE
    EM1A0:11 to A0:11
    EM1BA0:1 to BA0:1

    These next set of pins (EM1DQM0:3) I could not find confirmation. If narrow mode is off (page 2409, table 25-8), I would suspect that EM1DQM2:3 pins control bytes 3 and 4 of the 32 bit word, but we should get confirmation from TI on this. Table 25-14 suggests the EM1DQM pins are used as part of the address for 32 bit parts. However, the 32 bit parts I looked at call for EM1DQM0:3 to be connected to DQM0:3. So I am not 100% sure what 25-14 is trying to say and gives me pause as to how the EM1DQM2:3 pins behave when EMIF is using a 32 bit data interface.

    Putting my fear aside, and if my assumption is correct the following is needed
    EM1DQM0:1 to the low part LDQM and UDQM (0 to LDQM, 1 to UDQM
    EM1DQM2:3 to the upper part LDQM and UDQM (2 to LDQM, 3 to UDQM)

    If the above is not correct, then that would probably affect how the data lines are connected to the high and low parts as the EM1DQM0:1 pins would be masking words instead of bytes? The EMIF section is eerily quiet about a 32 bit data interface....

    For the data pins, 0:15 connect to the low DQ pins and 16:31 connect to the high DQ pins.

    Well, hopefully this is more helpful than my first response. I think the only question that we need to answer here is how EM1DM2 and 3 are utilized with NM == 0.

    Good luck :)

    Kevin

    EDIT:  I am starting to second guess myself on this.  25-14 is non-verbally suggesting the EMIF behaves differently when NM == 0.  There is no direct reference to 32 bit data interfaces and that has me concerned.  I can't seem to find the check box to uncheck this as a suggested answer.  We really need to hear from TI on this. 

  • Kevin has provided detailed response. Let us know if you have any further queries on this.

    Vivek Singh