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.

[C672x] Some Questions related to power and GPIO interrupt functionality.

Hello,

One of my customer is considering to use C672x for their system.
They have some questions about power and GPIO interrupt functionality.

1. Power related question.
    They are asking us whether the systems among the DSP, such like uC and FPGA, could drive DSP's IO pins without power on DSP.
    I believe the answer is no because IO state would be unstable when core/IO powers are off completely or provided but not in stable state. Correct, right ?

2. GPIO interrupt.
    From my understanding, GPIOs are supported, but there is no dedicated GPIO peripheral module on C672x. The peripherals such like UHPI/McASP/SPI can be
    configured as GPIO by configuring its dedicated registers. But if user would want to have GPI as a CPU interrupt source, only UHPI_HAS pin could be
    available with dMAX configuration. Any other GPI pins would not be available as a interrupt source. Correct, right ?

    For your information, I read the following documents:

  

    - 3.7 General Purpose I/O Interrupt Control Register (GPIOINT) (0x4300 0008)

    - 1.10 dMAX Interrupt Generation
    - Table 1-2. dMAX Channel Synchronization Events
    - 2.1.1.3 Event Entry for Interrupt from dMAX Controller to the CPU

    UHPI_HAS input seems to be routed to UHPIINT event. And UHPI user guide says it would be routed to CPU INT6.
    On the other hand, dMAX user guide state user can configure event entry (such like UHPINT) for interrupts and the event could be routed to INT9-15.

    UHPI user guide state the interrupt line is fixed , but it looks configurable via dMAX event entry. Which is correct description ?

Best Regards,
Naoki Kawada 


 

  • Hi Naoki,
    A1) Yes. You are right. We can't use IOs without powering ON the DSP (proper power ON sequence).
    A2) Yes.
    Also I think, we can use McASP AMUTIN as GPIO interrupt.
    Please refer to the C6727 data sheet, chapter "4.10 External Interrupts" page no 44.

    Also please refer to the following C672x example code.
    processors.wiki.ti.com/.../Chip_support_library
  • Hello Naoki,

    1. Power related question.
        They are asking us whether the systems among the DSP, such like uC and FPGA, could drive DSP's IO pins without power on DSP.

    No, you should not drive DSP's IO pins without power on DSP. It may affect the device operation like leakage to other rails, unexpected behavior of peripherals and degrade the reliability.

     I believe the answer is no because IO state would be unstable when core/IO powers are off completely or provided but not in stable state. Correct, right ?

    Yes, the answer is No and your understanding is correct.

    Regards,
    Senthil

  • HI Titus S. and Senthil,

    Thank you for your quick replies.

    I understood the restrictions about the power. As for GPI interrupt source, I agree with Titus, I also think AMUTEIN can be available.

    The interrupt line number related to UHPI_HAS. I read the documents carefully and now I understood it would generate INT6 and dMAX event #12 simultaneously in order to trigger dMAX transfer. So the more generic use case of dMAX event entry #12 should be using with transfer entry. No need to configure dMMAX event entry #12 for interrupt.

    I close the thread. Thanks so much for your helps.
    Naoki Kawada
  • Hello Naoki,

    Thanks for the update.

    Regards,
    Senthil