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.

AM62A7: example program Usage

Part Number: AM62A7


When debugging with the ecap example program, there was a situation where there was no serial port log output. The difference between it and the MCAN routine is the clock instance. Will this difference affect the normal use of UART's clock source, leading to log printing failure.

  • Hello,

    Actually, in the ECAP example, if the log is not printing, then see your application properly executed or not or your code got  stuck in somewhere .

    If the example is executing properly, then it is not printing uart log check the WAKUP_UART is enabled in your example or not.

    By default, wakeup, uart is enabled, for, DM R5F examples. Make sure that UART is enabled in your application and check the correct WAKU UP port for log , since there is a Multi USB to UART driver on the HW and whatever above showed clock that is RTOS base timer and which is different for MCU R5F and DM R5F and for printing uart log is not depended on this timer .

    Regards,

    S. Anil. 

  • My log uses UART as a resource in the Domain area, but in the ECAP routine, the clock source is a wakeup area resource (and not optional). Will this not affect the normal output of the log?

    Regards,

    Ding

  • Hello Ding,

    My log uses UART as a resource in the Domain area, but in the ECAP routine, the clock source is a wakeup area resource (and not optional). Will this not affect the normal output of the log?

    I am reframing the above point as below.

    You are using the MCU UART in your WKUP R5F ECAP Application to print the log and the ECAP application uses the clocks from WKUP R5F sources.

    So, will this create any issues with printing log on the console ?

    Please correct me if my understanding is wrong.

    So, based on my above assumption and there are no issues, you can use the MCU UART in your WKUP R5F ECAP application and there are issues.

    Regards,

    S.Anil.