New Micros, Inc  

Go Back   New Micros, Inc > IsoMax™ - ServoPod™ - IsoPod™ - MinPod™ - PlugaPod™ - TiniPod™
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-08-04, 12:16 PM
Kavaipatti Kavaipatti is offline
Registered User
 
Posts: 12
Can

Hi,

I am trying to establish communication between Isopod and PlugaPod through CAN. I have connected CANL to CANL and CANH to CANH.

I downloaded the code from your webpage and followed the instructions given at the beginning of the code. I am not able to communicate between the two processors.

It would be of great help if you could suggest me how to proceed with the code.

Thanks

Last edited by Kavaipatti : 02-08-12 at 04:23 PM.
Reply With Quote
  #2  
Old 11-08-04, 12:37 PM
RMDumse RMDumse is offline
Moderator
 
Posts: 1,406
As oft as not, the CAN connections won't work without termination resistors. Have you added termination resistors to the two ends of your CAN cables?
Reply With Quote
  #3  
Old 11-08-04, 04:28 PM
Kavaipatti Kavaipatti is offline
Registered User
 
Posts: 12
CAN - Termination Resistor

Should the Termination Resistors be in between CANH and CANL. I am not sure about the value of Line Impedence. Will be it be ok to add 120 Ohm resistor.

Should it be on the receiver side or transmitter or both.

Thanks

Last edited by Kavaipatti : 02-08-12 at 04:23 PM.
Reply With Quote
  #4  
Old 11-08-04, 04:44 PM
RMDumse RMDumse is offline
Moderator
 
Posts: 1,406
Yes 120 ohms across CANH and CANL is all that is required. Do it on both ends. The concept of transmitter and receiver in CAN is inappropriate, since there are transmissions and acknowlegements. Terminate both ends.
Reply With Quote
  #5  
Old 11-08-04, 04:46 PM
Kavaipatti Kavaipatti is offline
Registered User
 
Posts: 12
Thanks !!

I will try and get back to you if there are any problems.
Reply With Quote
  #6  
Old 11-10-04, 01:10 PM
Kavaipatti Kavaipatti is offline
Registered User
 
Posts: 12
I connected 121.8 Ohm on both ends.

I typed XRX on one side and on the other terminal I typed TYPEM followed by numbers and then I checked all the CAN registers using the word “L”.

In the terminal which sends the data the CAN register has all the data but in the other end I haven’t received anything.

It would be helpful if you could give me the sequence of tasks that needs to be performed in both terminals.

Thanks

Last edited by Kavaipatti : 02-08-12 at 04:24 PM.
Reply With Quote
  #7  
Old 11-10-04, 02:52 PM
nmitech nmitech is offline
Moderator
 
Location: Big D, Texas
Posts: 1,285
1. Download the same CAN example on the download page to both of the 'Pods.

2. On the Receiving 'Pod terminal program enter XRX

3. On the Transmitting 'Pod terminal Program enter,
FILTER-0 ( or FILTER-1, etc... ), hit "return" key
then TYPEM and hit "return" key
Now enter eight numbers, 1 thru 8 on the keyboard. On the receiving terminal, It will display something like this,

XRX
-----------C4---- C5----C6---C7-----C8--C9----CA----CB
DC4: 0031 0032 0033 0034 0035 0036 0037 0038 123456788 BYTES

One important thing, If you have the TiniPod or Plug-a-Pod, make sure to turn off PE2, the CAN controls signal to activate the transceiver before you execute the command.
i.e.,
PE2 OFF
XRX
( or
FILTER-x
TYPEM
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is On
Forum Jump



All times are GMT -5. The time now is 09:43 AM.


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.