i.MX8M Plus DDR4 pin swap rules

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8M Plus DDR4 pin swap rules

766 Views
yamamo10
Contributor II

I am designing a DDR4 connection circuit for the i.MX 8M Plus
(part number: MIMX8ML8CVNKZAB) and am considering pin swapping for routing.

The IMX8MP Hardware Development Guide does not clearly specify
DDR4 pin swapping limitations (for example, bit or nibble-level constraints).

Would it be acceptable to refer to the DDR4 design checklist in AN5097
for i.MX 8M Plus DDR4 designs?

AN5097 states that “bit-swapping across two nibbles is not allowed.”
Does this restriction also apply to the i.MX 8M Plus DDR4 interface,
even if the DQS is not crossed?

Thank you.

0 Kudos
Reply
5 Replies

433 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @yamamo10 

Our document team is adding the DDR4 section to the documentation and will update it before March.

 

B.R

701 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @yamamo10 

There is no problem about "bit swapping across two nibbles within the same byte" of i.MX8MP.

AN5097 is not about i.MX series products.

 pengyong_zhang_0-1767937954466.png

B.R

0 Kudos
Reply

698 Views
yamamo10
Contributor II

Thank you for the clarification.

I understand that this DDR4 guideline document applies to Layerscape and QorIQ devices,
and that for i.MX parts we should follow i.MX-specific board layout guideline documents.

However, for the i.MX 8M Plus (MIMX8ML8CVNKZAB), we could not find a document that provides
sufficient and concrete DDR4 layout guidance, such as:

- Explicit DDR4 pin / byte / nibble swapping rules
- Detailed routing constraints for DDR4 (length matching, impedance, topology, etc.)
- Any reference designs or layout examples using DDR4 with i.MX 8M Plus

The i.MX8MP Hardware Development Guide and Reference Manual mention DDR4 support,
but do not clearly describe the allowable pin-swapping rules or detailed PCB layout constraints.

Could you please advise:
- Which specific NXP document should be considered authoritative for DDR4 layout on i.MX 8M Plus?
- Or whether it is acceptable to refer to AN5097 (DDR4 Design Checklist) as a guideline,
even though it is not explicitly stated to apply to i.MX 8M Plus?

Any clarification would be greatly appreciated.

0 Kudos
Reply

716 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @yamamo10 

There is no fix rule about your DRAM connection circuit. you only need to make sure that only in one Byte can use bit swap. Do not bit swap between different byte.

B.R

0 Kudos
Reply

711 Views
yamamo10
Contributor II

Thank you for the clarification.

Based on the IMX8MPHDG and your explanation, I understand that for i.MX 8M Plus DDR4, the DDR4 pin-swap rule is defined at the byte level, and that bit swapping is allowed within the same byte, but not across different bytes.

Since there is no explicit nibble-level restriction described for i.MX 8M Plus (unlike AN5097), we plan to allow bit swapping across two nibbles within the same byte as a design decision.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2289988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2289988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20designing%20a%20DDR4%20connection%20circuit%20for%20the%20i.MX%208M%20Plus%3CBR%20%2F%3E(part%20number%3A%20MIMX8ML8CVNKZAB)%20and%20am%20considering%20pin%20swapping%20for%20routing.%3C%2FP%3E%3CP%3EThe%20IMX8MP%20Hardware%20Development%20Guide%20does%20not%20clearly%20specify%3CBR%20%2F%3EDDR4%20pin%20swapping%20limitations%20(for%20example%2C%20bit%20or%20nibble-level%20constraints).%3C%2FP%3E%3CP%3EWould%20it%20be%20acceptable%20to%20refer%20to%20the%20DDR4%20design%20checklist%20in%20AN5097%3CBR%20%2F%3Efor%20i.MX%208M%20Plus%20DDR4%20designs%3F%3C%2FP%3E%3CP%3EAN5097%20states%20that%20%E2%80%9Cbit-swapping%20across%20two%20nibbles%20is%20not%20allowed.%E2%80%9D%3CBR%20%2F%3EDoes%20this%20restriction%20also%20apply%20to%20the%20i.MX%208M%20Plus%20DDR4%20interface%2C%3CBR%20%2F%3Eeven%20if%20the%20DQS%20is%20not%20crossed%3F%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20the%20clarification.%3C%2FP%3E%3CP%3EI%20understand%20that%20this%20DDR4%20guideline%20document%20applies%20to%20Layerscape%20and%20QorIQ%20devices%2C%3CBR%20%2F%3Eand%20that%20for%20i.MX%20parts%20we%20should%20follow%20i.MX-specific%20board%20layout%20guideline%20documents.%3C%2FP%3E%3CP%3EHowever%2C%20for%20the%20i.MX%208M%20Plus%20(MIMX8ML8CVNKZAB)%2C%20we%20could%20not%20find%20a%20document%20that%20provides%3CBR%20%2F%3Esufficient%20and%20concrete%20DDR4%20layout%20guidance%2C%20such%20as%3A%3C%2FP%3E%3CP%3E-%20Explicit%20DDR4%20pin%20%2F%20byte%20%2F%20nibble%20swapping%20rules%3CBR%20%2F%3E-%20Detailed%20routing%20constraints%20for%20DDR4%20(length%20matching%2C%20impedance%2C%20topology%2C%20etc.)%3CBR%20%2F%3E-%20Any%20reference%20designs%20or%20layout%20examples%20using%20DDR4%20with%20i.MX%208M%20Plus%3C%2FP%3E%3CP%3EThe%20i.MX8MP%20Hardware%20Development%20Guide%20and%20Reference%20Manual%20mention%20DDR4%20support%2C%3CBR%20%2F%3Ebut%20do%20not%20clearly%20describe%20the%20allowable%20pin-swapping%20rules%20or%20detailed%20PCB%20layout%20constraints.%3C%2FP%3E%3CP%3ECould%20you%20please%20advise%3A%3CBR%20%2F%3E-%20Which%20specific%20NXP%20document%20should%20be%20considered%20authoritative%20for%20DDR4%20layout%20on%20i.MX%208M%20Plus%3F%3CBR%20%2F%3E-%20Or%20whether%20it%20is%20acceptable%20to%20refer%20to%20AN5097%20(DDR4%20Design%20Checklist)%20as%20a%20guideline%2C%3CBR%20%2F%3Eeven%20though%20it%20is%20not%20explicitly%20stated%20to%20apply%20to%20i.MX%208M%20Plus%3F%3C%2FP%3E%3CP%3EAny%20clarification%20would%20be%20greatly%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257389%22%20target%3D%22_blank%22%3E%40yamamo10%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20problem%20about%20%22%3CSTRONG%3Ebit%20swapping%20across%20two%20nibbles%20within%20the%20same%20byte%3C%2FSTRONG%3E%22%20of%20i.MX8MP.%3C%2FP%3E%0A%3CP%3EAN5097%20is%20not%20about%20i.MX%20series%20products.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pengyong_zhang_0-1767937954466.png%22%20style%3D%22width%3A%20511px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pengyong_zhang_0-1767937954466.png%22%20style%3D%22width%3A%20511px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pengyong_zhang_0-1767937954466.png%22%20style%3D%22width%3A%20511px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372253iA5013FCCD7681C5C%2Fimage-dimensions%2F511x151%3Fv%3Dv2%22%20width%3D%22511%22%20height%3D%22151%22%20role%3D%22button%22%20title%3D%22pengyong_zhang_0-1767937954466.png%22%20alt%3D%22pengyong_zhang_0-1767937954466.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20the%20clarification.%3C%2FP%3E%3CP%3EBased%20on%20the%20IMX8MPHDG%20and%20your%20explanation%2C%20I%20understand%20that%20for%20i.MX%208M%20Plus%20DDR4%2C%20the%20DDR4%20pin-swap%20rule%20is%20defined%20at%20the%20byte%20level%2C%20and%20that%20bit%20swapping%20is%20allowed%20within%20the%20same%20byte%2C%20but%20not%20across%20different%20bytes.%3C%2FP%3E%3CP%3ESince%20there%20is%20no%20explicit%20nibble-level%20restriction%20described%20for%20i.MX%208M%20Plus%20(unlike%20AN5097)%2C%20we%20plan%20to%20allow%20bit%20swapping%20across%20two%20nibbles%20within%20the%20same%20byte%20as%20a%20design%20decision.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257389%22%20target%3D%22_blank%22%3E%40yamamo10%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20fix%20rule%20about%20your%20DRAM%26nbsp%3B%3CSPAN%3Econnection%20circuit.%20you%20only%20need%20to%20make%20sure%20that%20only%20in%20one%20Byte%20can%20use%20bit%20swap.%20Do%20not%20bit%20swap%20between%20different%20byte.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292082%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX8M%20Plus%20DDR4%20pin%20swap%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292082%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257389%22%20target%3D%22_blank%22%3E%40yamamo10%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20document%20team%20is%20adding%20the%20DDR4%20section%20to%20the%20documentation%20and%20will%20update%20it%20before%20March.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E