Go to Post Bumper quality is an "attention to detail" measure. Teams that get little things right tend to do better on the big things. - vhcook [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-03-2010, 12:36
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
v89 Jag used for CAN, trouble going back to PWM?

We have several Black and gray jags that we've been using over CAN for a few weeks during build season. All of them are loaded with v89 firmware. Each Jag has its own non-default (not 1) CAN id assigned using bdc-comm.

We decided during competition to move one of our Black jags back to PWM by removing all connections from the CAN ports and making appropriate adjustments to the other CAN-connected Jags to properly terminate their CAN bus, etc, then hooking up a PWM cable to the Jag and digital sidecar.

We changed our user program to use the PWM-based Jag driver with appropriate PWM port number.

However, the PWM Jag does not seem to want to respond to PWM commands at all. It does get a valid pwm signal as the Jag LED goes to solid orange, but no matter what PWM value we send, it sits at neutral.
Plugging the same PWM line into a gray Jag we'd never used for CAN and never updated firmware on results in normal, expected operation so we do know that our user program is driving the PWM signal properly for non-neutral operation.

Unfortunately, as competitions go a lot of time for debugging was not available. We went back to CAN, changed the code, and everything was fine.


Looking for some feedback from other teams here:

Is anyone using a v89 Jag successfully with PWM connection?
If so, have you ever used that Jag with CAN prior?
I know some of the TI guys are lurking -- does the firmware require any settings changed to go back to PWM? Particularly, does it require resetting the id back to 1 or anything along those lines?
Reply With Quote
 


Thread Tools
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: cRIO CAN Jag Andrew Schuetze Extra Discussion 63 25-07-2009 01:48
Can one PWM control 2 Victors for Tandem Motors ericsundbergva Control System 1 18-02-2008 04:55
Trouble Generaing PWM output RaiderRev Programming 3 22-01-2008 18:59
How much of our wheel used for the shooter can be exposed? waialua359 Technical Discussion 4 14-02-2006 13:27
Trouble with pwm outputs misterikkit Programming 16 17-01-2004 10:56


All times are GMT -5. The time now is 02:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi