CAN J1939 library for MC9S12XHZ512

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

CAN J1939 library for MC9S12XHZ512

4,281 次查看
SARY
Contributor III

hi

   Is there any library available for CAN j1939 for MC9S12XHZ512 controller.Th library should contain all the CAN J1939 protcol stack including DM1,DM2 and BAM message handling.

   Actually ,I am working on MC9S12XHZ512 controller and implementing CAN on it. But I am facing some problem in DM1 and BAM(Broadcast Announce message)   implemntation.

Can anyone tell me if there is some CAN library available or not?

Also,transmission of data on CAN should be on interrupt basis or not?

 

Thnaks in advance

SARY 

标签 (1)
0 项奖励
回复
5 回复数

1,685 次查看
jrsimma
Contributor I

 For others that might find this post, here is our J1939 Software Protocol Stack.

 

egoodii, I know who you are and thanks for the reference.  Very kind.

0 项奖励
回复

1,685 次查看
egoodii
Senior Contributor III

I highly recommend getting a full stack from Simma Software.

 

Very cost effective and efficient.

0 项奖励
回复

1,685 次查看
SARY
Contributor III

Thanks for reply.

   Can you please tell me have you used it? I mean is it easy to interafce  with freescale 16- bit controller and does this stack perform all CAN functionality.

 

SARY

0 项奖励
回复

1,685 次查看
egoodii
Senior Contributor III

Yes, I am a user, on a DZ60, which also contains MSCAN hardware.  He has ports to many platforms.  The J1939 stack is very sufficient.  After you call  j1939_init( void ) the stack will call j1939app_process( j1939_t *msg ) with every non-network-management packet received.  Network management (-81 stuff) is handled by the stack by your periodic calls to j1939_update( void ).  Overhead is very low.

 

 

 

 

 

 

0 项奖励
回复

1,685 次查看
SARY
Contributor III
hi Thanks for the valuable information. I will check out the protocol stack suggested by you. Regards SARY
0 项奖励
回复