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: Track2 (PLL)

Part Number: AM263P4

Hi Team

I am working on the Resolver to Digital Converter (RDC). I am developing the bare-metal code from scratch, facing the issue that the output of arctan and track2 angles are not equally coming. Is Track2 (PLL) inside the AM263P microcontroller, or can I implement it manually in Embedded C? I have attached the results as well.

image.png

image.png

  • Hi Kodari Rajkumar,

    Yes, the Track2 block is inside the MCU. Please do refer to the Figure 7-137. Block Diagram of the Resolver in AM263P Technical Reference manual which shows all the blocks inside the MCU. So, there is no need to implement the Track2 loop in code.

    For reference please do refer to the Software programming guide in Resolver Driver page in AM263Px MCU+ SDK here - https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/latest/exports/docs/api_guide_am263px/DRIVERS_RESOLVER_PAGE.html

    Also the difference between ArcTan and Track2 values seems to be rather huge and doesn't seem to be correct. There is an offset issue as described in i2486 in AM263Px Errata Document (Rev. D). But this fix is already taken care of in the AM263Px MCU+ SDK. For that i2486 correction, please refer to the atan_offset_correction() function in ...mcu_plus_sdk_am263px_26_00_00_06\examples\drivers\resolver\resolver_angle_speed\sw_track2.c of AM263Px MCU+ SDK.

    Thanks,
    Tejas Kulakarni