Author |
Message |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed Jun 12, 2013 1:11 pm Subject: CAN word sending |
Hi.
I notice now that after a reset - the first 2 messages sent are 2 bytes long - and then the rest are all single byte ?
I wonder why ?
Cheers |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed Jun 12, 2013 12:56 pm Subject: Can WORD sending |
Hi
Thanks for the reply.
I tried that - still same - also only one byte receive on CANHACKER monitor pgm .
The rx CAN AVR PCB interface side is working fine - tested by sending a ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed Jun 12, 2013 10:57 am Subject: CAN Multibyte tx /rx |
Hi
My CAN bus is working - it means I can rx and tx both ways .
I do have a problem to send / receive more than one byte .
I want to send 2 bytes packed in a word - in order to make o ... |
Topic: I2C slave / TWI |
nicofer
Replies: 7
Views: 505
|
Forum: BASCOM-AVR Archive Posted: Mon May 20, 2013 12:59 pm Subject: I2C slave / TWI |
Hi
That is an option but in my case it will lead to disaster - I prefer the experts to modify LIB's .
Cheers |
Topic: I2C slave / TWI |
nicofer
Replies: 7
Views: 505
|
Forum: BASCOM-AVR Archive Posted: Mon May 20, 2013 12:22 pm Subject: I2C slave / TWI |
Hi
Yes is notice the Tiny1232 is fine but in my case I need / prever to sense the 2 encoder lines by interrupt inputs and in this case it is the new software i2c lines .
So back to the dr ... |
Topic: I2C slave / TWI |
nicofer
Replies: 7
Views: 505
|
Forum: BASCOM-AVR Archive Posted: Mon May 20, 2013 11:23 am Subject: I2C slave / TWI |
Hi MAK3
Cool , will check the asm code part - I would like to at least try to get it running in a tiny45 - else will have to use propper ( UP SIZED ) chip .
cheers
Nico |
Topic: I2C slave / TWI |
nicofer
Replies: 7
Views: 505
|
Forum: BASCOM-AVR Archive Posted: Mon May 20, 2013 9:11 am Subject: I2C slave / TWI |
Hi
I need / want to use a Tiny 45 as a i2c slave .
It does have all the hardware inside to do that.
I have the Bascom i2c slave add-on library .
I tried to compile the sample i2c slave ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed May 08, 2013 5:45 am Subject: AVR CAN BUS |
Hi
CAN AVR now running smooth - but only on 2.0.7.5 . 's programmer .
for some reason 2.0.7.6 does not detect the chip - reply is does not detect chip with id 00000 or FFFFF but ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Mon May 06, 2013 9:33 am Subject: AVR CAN BUS |
Hi
Pgm to chip - with 2nd node in listen mode - no filters setup.
BASCOM Program does read and respond to my key press - info sent on serial port " OK : 16 " so the pgm does run in cpu
... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Mon May 06, 2013 9:07 am Subject: AVR CAN BUS |
Hi Mark
Yes loaded sample code - this one does compile without errors ( modified can128 and xtal on 16 MHz)
Will pgm soon to test.
Cheers |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Mon May 06, 2013 8:28 am Subject: AVR CAN BUS |
Hi Snow
Yes for a start I just use the sample code - just to get a byte sent .
Latest compiler update .
I use a 90can128 at 16MHz so I need change that in the code and I check portA ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Mon May 06, 2013 5:59 am Subject: AVR CAN BUS |
Hi
Still problems with CAN interface.
To make sure I have the correct compiler I updated again yesterday.
The sample code in the CANCONFIG help file is still not working.
On Canit Can ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed May 01, 2013 9:04 pm Subject: AVR CAN BUS |
HI
Ok - cool - I understand .
I changed the line in the m32can.dat file
from :
INTname18=CANIT,$024,CANGIE.ENIT,CANGIT.CANIT
to :
INTname18=CAN_INT,$024,CANGIE.ENIT,CANGI ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed May 01, 2013 8:48 pm Subject: AVR CAN |
Hi
Sorry for posting in wrong topic. I had problems to log in and never noticed I was in wrong section.
Thanks for info and help but still do not understand why the same wrong - old - code is th ... |
Topic: AVR CAN BUS |
nicofer
Replies: 29
Views: 1394
|
Forum: BASCOM-AVR Archive Posted: Wed May 01, 2013 3:51 pm Subject: AVR CAN BUS |
I am new to the CAN BUS and tried the BASCOM CAN bus test program for a start .
I get the following compile error :
Error : 117 Line : 23 Unknown interrupt [CANIT] , in File : C:\co ... |
|