thanks Witztronics for the info.
I read the applications, and I would like tell you the following settings I have.
I am using only the MSCAN module and ECT and PLL and BDM. I don't use any other ones.
so only the pins for the H/L CAN lines are used here (The ECT is used only for internal timing operations).
all ATD pins are grounded.
Vrh is connected to VDD.
All unused pins are left floating with the default settings in the registers (after Reset).
the BDM is used (standart pin header and configuration is used).
IRQ is left floating (it will take the "out-of-reset" defualt settings).
my other ICs consume about 1mA (total).
currently, I get the MCU go to sleep mode and waken up by CAN activity without any problem. the only problem I have is the current consumption, and I still get high current consmuption, and don't know why!!
on functionality point of view, the MCU is working perfectly. but just the current problem.
any, any help here will be great.
thanks.