Post Created date
AT90CAN - sending Messages without IRQ
If any CAN Data Frame Tx works the CANSTMOB.TXOK will automatically disable the Tx MOb. If the old MOb is still busy you could issue a disable command by setting CANPAGE and using...
Friday, 12 April 2013 - 17:22
AT90CAN128 can data receiving problems
Your CAN code is not working yet so your analysis of your data is not valid. This code will not work: void main(void) { ...... ...... while(1) { can_rx();...
Friday, 12 April 2013 - 16:53
AT90CAN128 can data receiving problems
Here is a link to a IAR Systems white paper PDF on the volatile declaration: http://www.iar.com/Global/Resour... IAR itself said you need to use the volatile declaration. Since...
Friday, 12 April 2013 - 02:31
AT90CAN128 can data receiving problems
Thanks John. Maybe the OP will notice this time :).can3791 wrote:Now, the Receive LED for CAN data & Transmit LED for RS232 on development board is glowing but i`m not able to...
Wednesday, 10 April 2013 - 17:20
AT90CAN128 can data receiving problems
In can_init() this is not correct: CANEN1=0X00; // Enable MOB0 CANEN2=0X01; Look in the data sheet section 19.10.5 CAN Enable MOb Registers - CANEN2 and CANEN1. The â€...
Tuesday, 9 April 2013 - 15:34
AT90CAN - sending Messages without IRQ
You are in uncharted waters here. It seems possible, but you are going to have to deal with the CANSTMOB.TXOK flag before you may re-use the MOb for anything else. It is also...
Monday, 8 April 2013 - 21:52
Cannot reset 16 bit CAN timer
As I understand it, when you set the CANGCON.ENASTB bit the CAN will perform its CAN bus synchronization and then automatically set the CANGSTA.ENFG bit. Setting the ENFG bit...
Monday, 8 April 2013 - 21:27
AT90CAN128 & CAN - strange behaviour [SOLVED]
Then I do not understand your 2) case where CANSTMOB has impossible garbage in it. If this was a freshly initialized MOb 0, then I would expect CANSTMOB to remain a zero value...
Wednesday, 20 March 2013 - 18:18
AT90CAN128 & CAN - strange behaviour [SOLVED]
Well yes, you setup the CANIDT registers including CANIDT4.RTRTAG first before you issue the CANCDMOB command Tx write. You need to write the RTRTAG value before the CANCDMOB Tx...
Wednesday, 20 March 2013 - 16:46
AT90CAN128 & CAN - strange behaviour [SOLVED]
col369 wrote:ad 1) Yes. It looks fine... - at glance. The state looks fine - but not the way we get there. Don't forget that it is result of single TX command! RXOK after a TX...
Wednesday, 20 March 2013 - 16:20
AT90CAN128 & CAN - strange behaviour [SOLVED]
About the rest of my post:Mike B wrote:1) Rx 29 bit ID with 8 bytes, RXOK/DLCW are set and MOb 0 is disabled. Looks fine. 2) Rx 11 bit ID with 5 bytes, MOb 0 is still enabled and...
Wednesday, 20 March 2013 - 15:22
AT90CAN128 & CAN - strange behaviour [SOLVED]
col369 wrote:I don't agree, result 1) Shows TXOK set!Then:col369 wrote:1) CANCDMOB = 0x98; CANSTMOB = 0xA0CANSTMOB flag values (see the data sheet 19.11.1 CAN MOb Status Register...
Wednesday, 20 March 2013 - 13:31

Pages