![]() |
Cypress Help
So yesterday we were trying to do some last minute driver station modifications. We added some switches to the drivers station and were planning to use the Cypress IO board. What we thought we had correct configuration was is obviously not after doing some additional research. I'm still kindof confused on the cypresses operation, hopefully you all can help.
Couple Questions: Should all Red LED's on the cypress board be on when there have been no changes to dashboard code? Also, how should we wire a switch & what setting should the input be on (floating, pull-up, or pull-down)? Positive to digital port or ground to digital port Thanks in advance Austin HAPPY EASTER! |
Re: Cypress Help
The Cypress shows different LEDs depending on it's setup and whether the Driver station is running or not.
Without the Driver Station running:
The Driver Station should be on Compatible mode or the input should be pulled high. |
Re: Cypress Help
So after reading your post it sounds like you would suggest re flashing the firmware since all the leds r on no matter which way u run it
|
Re: Cypress Help
Certainly doesn't sound like the Cypress is setup correctly for FRC.
Before you reflash, make sure your PC has the correct Cypress software installed.
|
Re: Cypress Help
I tried to flash the cypress board again. Still no luck. All the LED's are lit up on the front and when I plug it into the classmate the Programming software says it is using FirstTouch3 version 1.14. However I flashed it with the FRC firmware.
The programmer does say that the device is in debug mode. Any idea how to turn this off? Also i'm getting feedback from the on board button and accelerometer in the driver's station. Any more ideas? |
Re: Cypress Help
FYI, i get feedback on the accelerometer & button in the enhanced I/O tab not the compatibility one.
|
Re: Cypress Help
"FirstTouch3 version 1.14" is the hardware revision and that version is okay.
The accelerometer is only usable in the Driver Station IO Enhanced mode. The black Cypress button also only shows up as button 1 under Enhanced mode. It sounds like you have some functionality then. In the programmer look under Help ->About PSoC Programmer The version should be 3.12.0.827 Is the green "light" on the I/O tab on? In Compatibility Mode do you see the Analog Inputs vibrating slightly around 2.2? In Enhanced Mode they should move a little bit as the accelerometer readings change. You should also see the Analog Inputs thrashing about if you just touch your finger to the two pins closest to the edge of the Cypress board in either of the two rows of pins on the back. |
Re: Cypress Help
Thanks for your help mark!
Yes the green led is on Analog values are floating around at .402 in compatibility mode and do move when I run my fingers across the back pins. Programming version is the same. Here is exactly what I am trying...I plug one end of a wire to P4_4 and to gnd..and nothing happens. Is this correct setup/results. Im hoping we didn't fry it out when we had stuff miss wired yesterday. Austin |
Re: Cypress Help
P4_4 wired directly to Gnd should show up as turning off the "Digital 1" tiny green indicator in Enhanced mode, and "DI 1" in Compatibility Mode.
The Analog readings you are seeing at rest are low. Did anyone play with either of the two black jumpers on the Cypress? Both jumpers should be on the two pins closest to the USB connector, leaving the pin furthest from the USB connector bare. Is the Cypress USB connected directly to the PC, or are you using a USB hub? |
Re: Cypress Help
The jumpers were played with but have been reset before I started posting about the issue.. does the system have any reverse polarity protectors. I know at one time we did connect the positive voltage to a digital input....I still can't figure why all the leds are always lit
|
Re: Cypress Help
I don't know what protection the Cypress includes.
It's been awhile since I delved that deeply into it. We'd have to check the circuit diagram. You might test as many pinouts as you can to see what might be affected. |
Re: Cypress Help
Should there be any voltage when u connect a millimeter between the P4_4 and gnd?
|
Re: Cypress Help
One of the jumpers sets the voltage to 3.3v, so that's what you should be reading between signal and ground.
In Compatibility mode these pins should get 3.3v readings between signal and ground: P4_4/5/6/7, P6_0/1/2/3 The others will read 0 because they're either analogs without power or digital outputs. Test between voltage and ground for that matter. To make sure your supply voltage is correct. |
Re: Cypress Help
We have 3.3 volts from power to ground and 0.06 volts from P4_4 and ground
|
Re: Cypress Help
That does sound damaged.
You can try Enhanced Mode and set everything to Input Pulled High, then test every signal pin to ground just to see if you get anything. |
Re: Cypress Help
No luck. Still doesn't make much since since the accelerometer, mounted button and the touch area all give feedback.
Thanks again for your help. Austin |
Re: Cypress Help
If it's just the digital input that's been burned another possibility to try is to connect the VDDIO pin directly to one of the analog input pins, say P0_0.
That should drive all the analog to maximum. If that works then you'll have at least 8 inputs you could use with switches. They'd come in as analog inputs that's all. |
Re: Cypress Help
We had a lot of problems with our Cypress and I tracked it down to one of the kids choosing the "web update" that the cypress software wants to do when it starts on our development laptop. Teams - whatever you do, don't update the software via the web!! ALWAYS stick with the official FIRST updates!
If you make this mistake you have two choices. Do a COMPLETE uninstall (including some manual driver deletes in the windows sub-directory) and then re-install. Or find a computer where the FIRST utilities have never been installed, install them (and updates) and then flashing the Cypress from that PC. You can then try attaching it to the driver station. This might not be your specific problem, but it's based on our experience. Good luck. Stick it out. The Cypress makes a sweet addition to the operator panel. As the mentor on the stage team, I've had several complements on our operator controls. We are using every single DIO port as an input for our operator including several automated operations. |
Re: Cypress Help
As Michael said, one of the main problems that new Cypress users run into is installing the wrong version of the Cypress support code.
Updates are NOT good and the DVD that came with the Cypress is NOT good. Only the FRC version installed with the Driver Station software is correct. That's not the problem in this case, but it's something to be aware of. There is an easy way to tell if you have the right version. If you don't have it then you don't have the correct FRC version of the Cypress support software installed. Look under Start->Programs->Cypress->PSoC Programmer 3.12Start that program and look under Help->About PSoC Programmer
|
| All times are GMT -5. The time now is 04:29. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi