Post Created date
ATMega16M1
An issue I did not discuss is what a stuff error is to a Tx CAN node. Since the Tx CAN node is responsible for generating the stuff bits, a Tx node stuff error would conceptually...
Monday, 4 March 2013 - 23:13
Does AVR latches External Interrupts?
External interrupts come in asynchronous and synchronous edge varieties. The asynchronous edge ones detect and latch the interrupt flag much quicker. The synchronous edge ones...
Monday, 4 March 2013 - 22:14
AT90CAN128 cannot go into CAN interrupt
The original post was about the ISR, but it did not use the ATMEL library code. You should start another new post. Your ISR code is totally wrong. First you are using slow serial...
Monday, 4 March 2013 - 21:34
AT90CAN128 using polled Rx MOBs getting corrupt data
If you ever have less pressing needs, I have a long paper on the 8 bit AVR CAN that you might find useful. If you Private Message (PM) an e-mail address I can e-mail you a copy of...
Monday, 4 March 2013 - 16:14
ATMega16M1
Another subject is ideal CAN node software would not care what MOb number is used for Rx. Since a CAN Rx will update and read the exact ID sent by the other CAN nodes (even if...
Monday, 4 March 2013 - 14:54
ATMega16M1
Using the CANHPMOB register is the point. The CANSIT register is really only to support the CANHOMOB hardware operation and not used by software when CANHPMOB is used. The read...
Monday, 4 March 2013 - 14:08
ATMega16M1
bvgvova wrote:that is the code for Slave. It gets first message from Master (gets it correctly) and answer to Master. Answer is correct too. (Both registers & data). But next...
Sunday, 3 March 2013 - 22:44
ATMega16M1
CANGCON |= BV(ABRQ); There is something called ongoing CAN communication. This is when the CAN controller is busy with actual CAN bus serial data bit traffic and you set an...
Sunday, 3 March 2013 - 21:23
ATMega16M1
bvgvova wrote:The stuff error disappeared and unfortunately I notice when. I think it was dew to my forgetting to set CANIDMs.According to the data sheet CANIDM registers should...
Sunday, 3 March 2013 - 19:25
Avr mega64C1
The CANIE register on the AT90CAN series is a 16 bit register made up with two 8 bit registers CANIE2 and CANIE1. You are only addressing an 8 bit register CANIE2 for a 16 bit...
Sunday, 3 March 2013 - 00:20
At90CAN32. How to get rid of Tx Form Error (FERR, FERG) ?
Oops, this code does not make any sense: if (FERR == 1){ printf("FERR = 1"); } else{ printf("FERR = 0"); } FERR is a bit position define for the...
Saturday, 2 March 2013 - 05:23
AT90CAN128 using polled Rx MOBs getting corrupt data
Does: Get Extended out of CANCDMOB mean check the CANCDMOB.IDE bit for a 1 value, meaning this is a 29 bit ID? If the original Rx MOb set CANCDMOB.IDE=1 and CANIDM4.IDEMSK=1 then...
Saturday, 2 March 2013 - 04:44

Pages