S32K116 CAN RX for FIFO mode----data coverage

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K116 CAN RX for FIFO mode----data coverage

983 次查看
jia_zw
Contributor I

Why is there still data coverage  , use  CAN RX  for FIFO mode ??

The phenomenon is as follows:

         send can a message  every 100 ms微信截图_20190408103600.png

标记 (1)
0 项奖励
4 回复数

761 次查看
jia_zw
Contributor I

hi Petr Stancik

      As follows:i want to develop CAN bootloader for update;

                 1.   data_temp array    is used for update  PFlash data;

                               is from CAN interrupt         

                 2.  CAN FIFO mode config:

                      a. CAN init  & CAN Filter config

                                微信截图_20190415092534.png

                  

                             I close CAN FD

                          微信截图_20190415093206.png

   

                      b. start CAN recevie

                    微信截图_20190415092701.png

                    

                     c.intterupt

                     微信截图_20190415092747.png

                     

                  3. send  CAN message

                  I send  one CAN mesage  every 100 ms  through  CAN tools,

                  but  the  data_temp array  for recevie data   is  different form   the data   i  send

           Can you help  me  analyze  the question ?    thanks

0 项奖励

761 次查看
jia_zw
Contributor I

hi,

     for example: 

 微信截图_20190415145033.png

0 项奖励

761 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it seems the received yellow marked bytes are the one from address 50h of the srec file.

This may point you lost some frames. Do you call CanStartRecv() fast enough so RXFIFO can be read out? Should be called each time callback is executed.

BR, Petr  

0 项奖励

761 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

could you please describe the issue in more detail? How is the CAN used in your case?

What is data_temp array used for? Do you use any kind of demo example? 

BR, Petr

0 项奖励