Shoaib Khan

FRDM-KEAZ128Q80 MSCAN Communication

Discussion created by Shoaib Khan on Jun 20, 2017
Latest reply on Mar 2, 2018 by kashif sagheer

Hi All,

 

I am using FRDM-KEAZ128Q80 board  for my application and i need to communicate with CAN bus.

 

i got MSCAN driver code for KEA128 and i am using

TEST_CASE_FUNC(Demo_Transmit_DataFrame);//set different parameter to choose other test case to run 

also its working fine and i am able to receive the data through CAN bus in another controller but problem is when i am calling TEST_CASE_FUNC(Demo_Transmit_DataFrame); for every 1 sec its going to sleep mode and it is working only time after that MSCAN is going into sleep mode so please anybody can help me out how to send data continuously  without going into sleep mode.

i attached my main file and MSCAN driver please find the attachment.

 

Thanks 

Shoaib Ahmed

Original Attachment has been moved to: main.c.zip

Original Attachment has been moved to: MSCAN_Driver+FRDM_KEA128-Example.zip

Outcomes