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.

TDA4VM: TDA4VL wakeup domain GPIO usage

Part Number: TDA4VM
Other Parts Discussed in Thread: TDA4VL,

Hi, fellow TI experts
I have the following questions about the use of wakeup domain gpio, please help to answer:
1. Whether the pin of the wakeup domain can be used as a normal gpio on the rtos side.
2. If the pin of the wakeup domain can be used as a normal gpio on the rtos side, is there any difference between the control and the gpio control of the main domain? What do we need to pay attention to?
3. Can the pin of the wakeup domain be used as a normal interrupt pin on the rtos side? Do we need to pay attention to the operation?

Note: Since there is no TDA4VL part number, so the part number chooses TDA4VM.

  • Hi,

    Yes, the WKUP GPIO can be used as a normal GPIO, you can refer to the GPIO driver example available at <PDK>/packages/ti/drv/gpio/test/led_blink/src. This example used wkup gpio. 

    If the pin of the wakeup domain can be used as a normal gpio on the rtos side, is there any difference between the control and the gpio control of the main domain? What do we need to pay attention to?

    No, functionality wise it's same, you just need to use the corresponding base address.

    Can the pin of the wakeup domain be used as a normal interrupt pin on the rtos side? Do we need to pay attention to the operation?

    Just make sure that the interrupt is routed properly and that should be enough. Please refer to the example I mentioned that should help you.

    Regards,
    Parth

  • hi,
    First of all thanks for your reply
    Another question is: If we control the main domain GPIO and wakeup GPIO at the same time in the same module code (such as camera), will there be a control conflict in this situation?

  • Hi, TI experts

    Our hardware is in the process of tda4vl schematic design, so we need to know the answer to this question, please help ti experts to answer, thank you.

  • HI Jia,

    Another question is: If we control the main domain GPIO and wakeup GPIO at the same time in the same module code (such as camera), will there be a control conflict in this situation?

    I don't think there will be any conflict here, can you please elaborate your use case here?

    Regards,
    Parth