Can Frame not recieved/ too stale Cancoder error message

We recently acquired and put together a swerve drive using MK4i modules with Neos and CANCoders. I have begun programming it and ran into my first big issue. When the getAbsolutePosition function is used on the CANCoder object I receive a repeated error of: “CTR: CAN frame not received/too-stale.” The CanCoders are working based on the blinking green lights and when PhoenixTunerX is used I can get the CANCoders position without issue.

Image of the error message on the top right
Image of the Code used to access the CANCoders on the top left
Image of CANCoder Self Test in PhoenixTunerX on bottom

You’re using v5 API and v6 firmware.

You can either firmware-upgrade the CANcoder to the v5 firmware (you can select the Phoenix 5 option in the device details) or you can change the API to use the v6 API: Installing Phoenix 6

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.