0

I am trying since a couple of days to implement a CAN Bus communication for my above mentioned board without success. I wish to do this using the Registers only. Can someone give some hints on how I should proceed? or a link?. Thanks in advance.

Steve Mclaren
  • 31
  • 1
  • 5

1 Answers1

3

Why don't you use the Std Lib as a starting point?

The library includes all functions and registers you need. You must simply go through one of the examples and "copy" the direct register accesses to your project.

(And perhaps you also want to use some of their defines for the bit definitions)

theSealion
  • 1,082
  • 7
  • 13
  • Good Idea. Thanks alot – Steve Mclaren Mar 15 '19 at 08:07
  • I followed the CAN example in the Std Lib and now I have a problem. The CAN Interrupt doesnot fire. Can someone give me some help? – Steve Mclaren Mar 16 '19 at 13:15
  • 1
    Without more information? No. Please use the search function as many others already had problems with not working interrupts. If you still can not find any help, ask a new question. – A.R.C. Mar 18 '19 at 14:31