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.

TMS320C6722B: What Maximum Clock Frequency can we generate in GPIO pins?

Part Number: TMS320C6722B

Hi,

We are using TMS320C6722B-RFP and we are using 25MHz Oscillator for ON-Chip. Kindly confirm What is the frequency ranges we can generate in

1. SYSCLK1:

2. SYSCLK2:

3. SYSCLK3:

4. AUXCLK: 25Mhz Right?

5. What is the Clock frequency range i can generate in "Pin no.135: AXR0[13]/AXR1[0]" GPIO Pin for providing to external device?

Thanks in Advance..

Regards,

Naveen

  • Hi Naveen

    GPIO is a slow interface, in general you can achieve a couple of MHz.

    As for the on-chip oscillators, see Table 4-40. Recommended On-Chip Oscillator Components from the TMS320C6722B Datasheet.

    Best Regards,
    Yordan
  • Hello Yordan,

    Thanks for your reply.
    As par the table, If OSCIN is 25Mhz then the SYSCLK maximum Output frequency is
    1. SYSCLK1: 300Mhz
    2. SYSCLK2: 150Mhz
    3. SYSCLK3: 75Mhz
    4. AUXCLK: 25Mhz. All these correct?

    GPIO- Couple of MHz, So What is the maximum frequency?

    Regards,
    Naveen
  • Hi Naveen

    There isn't any specific data on GPIO maximum frequency. At best you can achieve 2-3MHz max depending on your code (C, assembly etc..).

    Best Regards,
    Yordan
  • Hi Yordan,

    Thanks for the information.

    I need to provide clock to FPGA, So What is the Frequency i can generate from ACLKX0  pin no.142? 

    Regards,

    Naveen K

  • Hi,

    Thanks for the information.

    I need to provide clock to FPGA, So What is the Frequency range i can generate from ACLKX0  pin no.142? 

    Kindly advice.

    Regards,

    Naveen K

  • Hi Naveen,

    Take a look at Figure 4-43. PLL Topology from the device datasheet to see how each clock is generated and calculate it.

    For ACLKX0 in particular, see the McASP user guide. It is generated directly from AUXCLK.

    Best Regards,
    Yordan
  • Dear Yordan,

    Thank you very much for your response.

    I have read all datasheet, I understand something but i had some confusions and doubts. That's why am getting confirmation with you.

    In datasheet its mentioned the pins is for Multi-channel Audio Serial Port or we can use as GPIO pins.

    But am using this pins for providing the clock for FPGA internal operation. So bit doubts.

    As par the datasheet i can provide maximum 25Mhz from AUX pins.

    My straight question is, 1. Can i provide 25Mhz continuously from AUX pin(ACLKX0) to FPGA for its internal PLL operations and even if not for data transmission  ?

    2. Including above case, Can i also use same clock source i.e from the same pin (ACLKX0) for all data transmission from the GPIO pins(AXRO) or simply call serial data pins.

     

    Kindly Provide your advice for both 2 questions individually.

     

    Regards,

    Naveen

  • Hi,

    1. The ACLKX0 pin is part of the McASP interface. You cannot use it as a continuous output, as this is the serial transmit bit clock for the McASP, that is it is active only when McASP transaction is in progress. I am not sure how you connect the FPGA to the TMS320C6722 SoC, if you use the McASP for this purpose then it could be possible to have this implemented, but note that we do not have a ready to use example.

    2. It should be possible to use the ACLKX0 as a clock for the AXRx transmissions.

    Best Regards,
    Yordan
  • Hello Yordan,

    Thank you very much for your support.


    1. Could you advice, Is there any other clock source for providing continuous clock to the FPGA? & Could you suggest How i can interface DSP and FPGA for data transmission and receiving.What maximum speed i can achieve.

    2. For ACLKX0, we can generate Clock internally and provide to the external device. As par the datasheet,
    we can also use external device clock for ACLKXO right? So ACLKXO pin is for both Transmiting or receiving CLOCK right?


    3. If i want to receive data, i need to use ACLKR0 or i can also use ACLKX0 for receiving data? I studied datasheet but confusing because different clk for RX or TX.

    Kindly Advice for these.

    Regards,
    Naveen K

  • Hi Naveen,

    1. Looking at the datasheet I can't see a pin that has a continuous clock output. Maybe it is best to think of an external clock source.
    How i can interface DSP and FPGA for data transmission and receiving.What maximum speed i can achieve.

    EMIF interface is most commonly used.

    For questions 2 and 3 sSee McASP user guide: www.ti.com/.../spru878b.pdf
    "In operation, the transmitter uses ACLKX as the serial clock, and the receiver uses ACLKR as the serial clock. Optionally, the receiver can use ACLKX as the serial clock when the transmitter and receiver of the McASP are configured to operate synchronously."

    Best Regards,
    Yordan
  • Dear Yordan,

    Thanks for the information. It's very helpfull.

    1. As par the datasheet, EMIF is only for Memory interface right? Even we can't configure as GPIO pins right?

    2. As par the datasheet diagram (page 47), i have connected FLASH and SDRAM to DSP. Now i have to interface FPGA and DSP.
    How to Interface DSP EMIF and FPGA ? Kindly advice.

    May be i can use 16bit parallel interface right? If yes, then address pins?

    3. Kindly provide any schematics and application note related to my application( DSP-FPGA-FLASH-SDRAM).

    4. Regarding to MCASP, i studied both datasheets, As par datasheet, We can use either internal(DSP) clock or external device clock source and same clock is used for either receiving or Transmitting or both.

    Appreciate your support.

    Regards,
    Naveen K
  • Hi,

    1. & 2. Correct. But you can adapt the FPGA and use EMIF16 to connect it to your SoC:
    e2e.ti.com/.../566658

    3. There are no reference boards for all use cases. You should do the design yourself referring to the Schematic Checklist:
    processors.wiki.ti.com/.../_AM1x_Schematic_Review_Checklist
    and the device Datasheet.

    You can go: DSP - via EMIF - Flash
    DSP - via SPI/I2C/HPI - FPGA
    If you need FLASH and SDRAM along with FPGA in your design. You should see which fits your requirements best.

    4. Yes, you are correct.

    Best Regards,
    Yordan