H
hamed
============================================Markus Sponsel said:opencores.org has a finished CAN controller project. Though I don't
know whether it works and/or supports all modes it may be a good
starting point. But if you insist building your own code, why don't
you download the CAN specification and build your own controller
from scratch?
best regards,
Markus Sponsel
========================================
profichip GmbH
Einsteinstraße 6
91074 Herzogenaurach
Germany
Thanks for your attention Markus.The CAN code you mentioned is
written by
Mr Shehrayar Shahin and he has send it to me via emial.But it is not
tested yet and it is not so readable for me( I can't understand the
characteristics of CAN by studing this code ).I have downloaded the
CAN specification ( CANA and CANB ) and I have studied them but still
some properties of CAN are not obvious for me.( For example I have
some questions about Error handling and synchronization of nodes
).That's why I need some thing more usefull and reliable.( A correct
and reliable code or an article which describes CAN in more details )
best regards
Hamed pishvayazdi