Hi All,
I'm developing on S9KEAZ128 and meeting a proble about MSCAN.
When the system voltage is higher than the work voltage, I want MSCAN to stop working. Then I set bit 7(CANE) of MSCAN_CANCTL1 as 0 (MSCAN module is disabled), but I still can receive message on CAN bus. Code as following.
MSCAN_MemMapPtr p = (MSCAN_MemMapPtr) MSCAN_BASE_PTR;
p->CANCTL1 &= ~MSCAN_CANCTL1_CANE_MASK;
Please also try to disable the clock gate of MSCAN.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------