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.

AM572x Manual Functions Mapping

Other Parts Discussed in Thread: AM5728

Hi,

I have two questions regarding AM5728. Please see the below.

1) What is A_DELAY and G_DELAY?  The Table 7-20 and 7-21 Manual Functions Mapping for DSS VOUT2 IOSET1/IOSET2 shows its values. But I don't know what "A" and "G" express.

 2) According to the TRM 18.4.6.1.6 Manual IO Timing Modes,  there are some formulas for the "CPDE" and "FDPE". For "CPDE" and "FDPE" calculations, the below register's value is needed. What is the default values of these register?

 

・CONFIG_REG_2[15:0] REFCLK_PERIOD

・CONFIG_REG_3[31:16] COARSE_DELAY_COUNT

・CONFIG_REG_3[15:0] COARSE_REF_COUNT

・CONFIG_REG_4[31:16] FINE_DELAY_COUNT

・CONFIG_REG_4[15:0] FINE_REF_COUNT     

My customer checked the real value by using two AM5728 system. The below are results.

CONFIG_REG_2[15:0] REFCLK_PERIOD is  0x2EF for both system.

 No1. system :

CONFIG_REG_3[31:16] COARSE_DELAY_COUNT  0x1847

CONFIG_REG_3[15:0] COARSE_REF_COUNT     0xFF00

CONFIG_REG_4[31:16] FINE_DELAY_COUNT    0x6EF6

CONFIG_REG_4[15:0] FINE_REF_COUNT       0xFF00

No2 system :

CONFIG_REG_3[31:16] COARSE_DELAY_COUNT  0x1537

CONFIG_REG_3[15:0] COARSE_REF_COUNT     0xFF00

CONFIG_REG_4[31:16] FINE_DELAY_COUNT    0x5FB2

CONFIG_REG_4[15:0] FINE_REF_COUNT       0xFF00

 
Are the above register's values are stored in registers at shipping test? What is minimum and maximum value?

Customer would like to know the VOUT2 output timing (min/max). How do they check it?

Please advise me.

I appreciate your quick reply.

 

Best regards,

Michi

 

  • 1. See section 18.4.6.1.6 from the AM572x TRM Rev. G. A_DELAY and G_DELAY from the Datasheet tables are required values that should be used to calculate the correct values to be set in the CFG_x_IN, CFG_x_OEN, and CFG_x_OUT registers associated with the pad.

    2. Reset values for these registers are given in the corresponding tables in section 18.6.2.1 from the AM572x TRM Rev. G.

    About these two systems - are they identical boards, running identical software? I doubt it.

    I don't understand your last question about VOUT2 output timing (min/max). Video Output Ports timings are given in section 7.7 from the AM572x Datasheet SR2.0 Rev. A.
  • Dear Biser-san,

    Thank you for your quick reply.

    According to the TRM rev.G, the default value of registers are below.

    ・CONFIG_REG_2[15:0] REFCLK_PERIOD ---------------------- 0x21D2
    ・CONFIG_REG_3[31:16] COARSE_DELAY_COUNT----------- 0x0
    ・CONFIG_REG_3[15:0] COARSE_REF_COUNT ---------------- 0x0
    ・CONFIG_REG_4[31:16] FINE_DELAY_COUNT----------------- 0x0
    ・CONFIG_REG_4[15:0] FINE_REF_COUNT---------------------- 0x0

    When these value is used for CDPE and FDPE calculation, what are the CDPE and FDPE default value?

    CDPE = 10*(CONFIG_REG_3[15:0] COARSE_REF_COUNT*CONFIG_REG_2[15:0] REFCLK_PERIOD)/(2*(CONFIG_REG_3[31:16] COARSE_DELAY_COUNT*88))
    = 10 * ( 0 * 0x21D2) / ( 2 * ( 0 * 88 ))
    = ?

    FDPE = 10*(CONFIG_REG_4[15:0] FINE_REF_COUNT*CONFIG_REG_2[15:0] REFCLK_PERIOD) / (2*(CONFIG_REG_4[31:16] FINE_DELAY_COUNT*264))
    = 10 * ( 0 * 0x21D2) / ( 2 * ( 0 * 264 ))
    = ?

    Also, regarding my question2, you said as the below.
    Video Output Ports timings are given in section 7.7 from the AM572x Datasheet SR2.0 Rev. A.

    According to the datasheet, Table 7-15 shows DPI Video Output i Default switching Characteristics, and Table 7-16 shows Alternate Switching Characteristics. What is the meaning "Alternate"? How situation is Alternate? Does it means all situation except for default?

    Please advise me again.

    Best regards,
    Michi
  • I have asked the AM57x team for clarification. They will respond here.
  • Hi Michi,

    According to the datasheet, Table 7-15 shows DPI Video Output i Default switching Characteristics, and Table 7-16 shows Alternate Switching Characteristics. What is the meaning "Alternate"?


    You have two choices, depending on the MANUAL_MODE you select, see 7.5 Virtual and Manual I/O Timing Modes & Table 7-2. Modes Summary.
    In the case of VOUT1, if you select VOUT1_MANUAL1 mode, you will get the DPI1 Video Output Alternate Timings, and the Alternate switching characteristics. If you select VOUT1_MANUAL2, the result will be DPI1 Video Output Default Timings - Rising-edge Clock Reference & the corresponding default switching characteristics. There are NO other options.

    As for your other question, it is obvious that leaving zeroes in the mentioned registers will result in error in the calculation of the IO delays. Read carefully Section 18.4.6.1.6 Manual IO Timing Modes. In order to do manual io timing, you need to set the MODESELECT bit to 0x1, and after that you should ensure to set the following mentioned registers in Section 18.4.6.1.6 Manual IO Timing Modes. I strongly advise using the PINMUX tool when calculating this, in order to avoid errors.

    Best Regards,
    Yordan
  • Dear Yordan-san,

    Thank you for your support.

    I am still confused.

    VIRTUAL IO Mode does not need the calculation for timing.
    But Manual IO mode need the calculation for timing.

    Regarding VOUTx, it is manual IO mode. But it does not need the calculation because timing data is showed in data manual.
    But some of modules, they have both IO mode. For example, eMMC/SD/SDIO module has Both VIRTUSL and MANUAL IO mode.

    For MMC1 DDR50(Internal Loopback)timing, it is MMC1_VIRTUAL7 IO mode.
    For MMC1 DDR50(Pad Loopback) timing, it is MMC1_DDR_MANUAL1 IO mode.

    What is the difference of both IO mode? How do I select it?

    Please advise me again.

    I appreciate your quick reply.

    Best regards,
    Michi
  • Michi, perhaps this AN may help you....
    www.ti.com/.../sprac44.pdf