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.

AM263P4-Q1: Resolver Excitation PWM Dependencies

Part Number: AM263P4-Q1

Tool/software:

Hello,

The description of the RDC in the TRM (7.5.3.2.2.1.2 Excitation Signal and PWM) gives the impression that the PWM excitation output is completely independent.

However, the diagram suggests that it is dependent on an external signals called Master_en, Sync_armed and Sync_in.

I cannot find further explanation of these signals in the TRM.

<Q1> Where do the signals (Master_en, Sync_armed and Sync_in) signals come from and are they mandatory?

<Q2> In the example 'resolver_angle_speed_am263px-cc_r5fss0-0_nortos_ti-arm-clang' I see the following configuration:

If I disable Sync IN, there is still an excitation PWM output. This give the impression, again, that RDC excitation is independent of any other peripheral.

Why do I still get an excitation output when this is disabled?

Thank you.

  • Hi Kier,

    The diagram is a little redundant in conveying the Sync event for the PWM generation. The Sync is used to align the PWM output generation to any sync events. From the occurrence of this sync event, the start of the PWM generation can be delayed(or even zero delay) so that the PWM generation can occur at a particular time after the event. Refer to below register from AM263P Register Addendum for more details.

    ...

    With respect to your questions

    Where do the signals (Master_en, Sync_armed and Sync_in) signals come from and are they mandatory?

    Master_en and Sync_armed almost represent the same thing from my understanding wherein they indicate whether the PWM output will wait(or get synchronized to) for sync event or not.

    Sync_in basically represents the sync event itself. A sync event would cause a pulse on Sync_in.

    This sync event can be anything that is routed from pwmxbar2(PWM Cross Bar 2).

    If I disable Sync IN, there is still an excitation PWM output. This give the impression, again, that RDC excitation is independent of any other peripheral.

    Yes the PWM output would still be there, but it just does not wait for any sync event to start or align to.

    Hope these answer your queries.

    Thanks,

    Tejas Kulakarni

  • Hi Tejas,

    Thank you for the reply.

    I conclude then that once the RDC is configured (with Sync In = 0) and the RDC is enabled then nothing should prevent the PWM output, is that correct?

    If so, I don't understand why I don't get any output which is ultimately my problem. Pls can you consider this question too? (+) AM263P4-Q1: How To Debug Missing Resolver Excitation Output? - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

  • Hi Kier,

    Yes, I just replied on the other thread.

    Since there are no open questions here, I will be closing this. Please do feel free to open another thread, if there are any further topics.

    Thanks,

    Tejas Kulakarni