Hi Sascha,
Please check MCU mode (MODA=PE5, MODB=PE6 pins). The port C is used for data in expanded modes.
How did you configure PUCR register?
The pull devices at port C are disabled by default after reset. So, floating input may get any value depending on any negligible events (like enabling CAN module). You should configure all unused digital pins into one of the known states (digital input with internal/external pull up/down or digital output). The operation in the linear region near to VDDX/2 may increase power consumption.
Note: This is not valid for analog pins until we enable appropriate digital input buffers.
Note: This recommendation is valid also for MCU pads which are not routed to any MCU pins (like port C and 112 LQFP package).
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------