![]() |
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. |
| All times are GMT -5. The time now is 19:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi