CANGIT versus CANSTMOB

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am having issues with my CAN driver on the AT90CAN128. I'm having an issue where my SW reads the wrong data for a specific message. The instances where this occurred always followed an error frame. I'm curious what the difference is between the CANGIT and the CANSTMOB. The data sheet does not do a great job on explaining the CANGIT interrupt. Is there a chance the error bits could be set in the CANGIT register and not in the CANSTMOB register? My software only handles reading the error bits in the CANSTMOB register and if an error is present, the message is thrown out. Any help would be useful. I've tried contacting Mike B who is supposedly the CAN guru on this processor but he has not yet replied and it looks like he hasn't replied on any forum in nearly a year.

admin's test signature