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.

IWRL1432: Wakeup through UART RX

Part Number: IWRL1432
Other Parts Discussed in Thread: IWRL6432,

Hi,

If choose wakeup through UART RX, which uart is used?Would the UART keep receiving data? Is their any guidance to describe more? Any example for reference?

My customer said in deep sleep mode the UART cannot receive data.

Thanks.

Andy

  • Hi Andy, 

    With ES1.0 silicon, UARTB can not be used for wakeup from deep sleep and hence UARTA must be used. This will be fixed with ES2.0. Regarding example/reference code, please let me check if this is available and get back to you in the next couple of days. 

    Best regards,

    Josh

  • Hi Josh,

    In page8 of the IWRL1432 errata shown below link, it mentioned UARTA cannot be used, UARTB should be used for wakeup, pls confirm.

    www.ti.com/.../swrz149.pdf

    I tried the power mode example in sdk5.3.0.2 on both IWRL6432 and IWRL1432, both show same result as below although i pressed the USER_SW(S3) with S1.6 OFF.  I read the power mode source code, cannot understand how it enter LPDS mode. In motion detection demo the Power_idleFunc is called to enter LPDS, but in power mode example i don't find any such call. Also based on my test it always stuck at below print. Pls help check.

    Reason for Reset is STC_PORZ


    *** Power Management Options : ***
    1) for LPDS.
    2) for Idle Mode.
    Please select Power Management mode : 1

    Entering LPDS....

  • Hi Andy, 

    My apologies, let me clarify my earlier statement. The errata is correct but it refers only to M4 CORE wake up from deep sleep wakeup not system LPDS. On wake-up sources from system LPDS, we can do it only via UART A by design. UART B is not supported. 

    By default, the EVM does not have a connection for UARTA. So you will need to populate a 0 Ohm resistor at R147 to be able to run the power modes example and wakeup from UARTA. Let me also check this on my end as I have an EVM which is already modified for UARTA. I will check and update you tomorrow. 

    Best Regards,

    Josh

  • Josh,

    Actually here has two questions.

    1 about UART wakeup: sorry it confused me more. i cannot understand M4 core sleep and system sleep, can u help clarify more? when should use M4 core deep sleep, and when for system deep sleep?

    In motion detection demo it calls Power_idleFunc->Power_sleepPolicy->Power_sleep to enter LPDS, which kind here is? is it MCU core or system LPDS?

    2 the other question is not about UART wakeup, it is about the power example in SDK. In sdk guide it mentions this example supports and enable GPIO, SPI CS wakeup test, but based on my test it is not same as the description in the example. Shown in my previous post it cannot enter LPDS, press the USER_SW but don't have any response. Pls check and test the power mode example for confirmation.

    Andy

  • Hi Andy, 

    I'm sorry for the delayed response. Thank you for your patience.

    1. I apologize for the confusion, I will try to clarify. Low Power Deep Sleep (LPDS) refers to the most power optimized state in the Radar Power Management Framework implemented via the power module/driver and used in the motion detection demo. In this mode, many of the power domains are shut down and peripherals clock-gated. However, the errata refers only to wakeup from the deep sleep mode of the M4 processor alone.

    2. Okay, I understand. Thank you for clarifying. For USER_SW switch (S3) to cause LDPS exit in the power modes example, switch S1.6 must be in the OFF position. Please confirm the position of S1.6. 

    Best Regards,

    Josh

  • HI.

    The 0 ohm resistor has been welded at R147, but the Rx of UARTA on 1432 cannot read the input data, and the dial is normal. The above operation on 6432, UARTA RX is able to read the input data.

  • Hi, 

    I do not understand what is meant by "the dial is normal". I'm sorry, can you please clarify?

    Please also confirm other changes have been made to allow for communication with UARTA such as below:

    1. UARTA is enabled in syscfg and the configured baud rate matches the baud rate for the data being sent

    2. Switches are configured to enable UARTA as mentioned in the EVM schematic. The relevant switches and their required position should be S1.3:ON and S1.5:ON

    I will also check on my side if there are any known issues with UARTA RX on the IWRL1432BOOST EVM and update you next week. 

    Best Regards,

    Josh

  • Josh,

    1 for the power mode example, i already set S1.6 to off position. Whatever as described above i don't find any code in the example it goes to LPDS mode. Pls confirm and test the example at your side firstly.

    2 Pls provide the LPDS wakeup through UART-A RX example. 

    thanks.

    Andy

  • Hi Andy, 

    1. I have tested this myself with the prebuilt appimage of the power modes example in SDK 5.3.0.2 and it is working for me. Can you let me know which revision your EVM board is? Rev. A or Rev B? I have this working with Rev. B board and the following switch settings: 

    S1.1-S1.6: {ON, OFF, ON, OFF, ON, OFF}

    S4.1-S4.4: {OFF, ON, ON, ON}

    S5.1-S5.2: {ON, ON}

    The correct output after pressing S3 is shown below.

    2. We do not have an example which accomplishes this at the moment but it should be possible to modify the power modes example such that wakeup through UART-A RX is possible. Please let me confirm on the required modifications and get back to you in the next couple days. 

    Best Regards,

    Josh