PSoC™ 4 Forum Discussions
Hello,
I am currently in the planning portion for my senior project at my university and had some questions about the different PSoC products available. The project will be turn and brake signals for a bicycle, so the requirements for the microcontroller will be the ability to drive three different LED circuits (one at a time) and will need to be able to use an accelerometer in order to take in data for the signals to turn off when a turn is completed or an acceleration is registered. We have been looking at the PSoC 4 and PSoC 5LP for our microcontroller but wanted to hear from people who have experience using the products.
Any input would be greatly appreciated!
Show LessI purchased some of the PSoC4 $1 chips in the SSOP package... when received they were nicely packaged and sealed in a single moisture proof bag with probably a desicant... and a warning about using within 168 hrs after opening, etc...
My question is what kind of problems or issues arise if the chips do get exposed above the limts mentioned..??
Are they moslty related to production reflow and such?
I plan to hand solder these onto Schmartboards as need for projects, but I won't be using my entire batch at one time.. using only one or two at a time then storing the balance for future use, etc.. Will I experience solder problems down the line in time with the exposed chips?
Any tips on storing unused chips once you open the bag..??
Show LessOkay so I keep seeing all these capital letter definitions or whatever they are called and I don't know how to use them..
things like STATUS_RUNNING and ADC_WAIT_FOR_RESULT
For my project I want to check if the timer is running, I can see from the documentation that the "readStatus" function returns the following parameters.. STATUS_DOWN and STATUS_RUNNING
I was thinking I could use them like so... if(Timer_ReadStatus() == STATUS_RUNNING) but PSoC creator is not happy with that..
any ideas?
Show LessI found an SD card component to go with PSoC 4 here : http://www.element14.com/community/docs/DOC-63798/l/project-50--sd-card-example-psoc-4-pioneer-kit-community
According to the example given, there is an option to seek (set an offset) and read a character. But is there a command to seek and modify ?? uchar SDCard_fputc(uchar Data, uchar Fptr), i think appends a character. Tell me a function(s) to do something as specific as this : open a file, change the 14th character to 'A' . Thanks a lot.
Show LessHi,
has anyone got an original HD44780 display (4x20) on a PSoC4 up and running with the Cypress provided character LCD component? It seems that the initialisation is done, the LCD is blank after LCD_Char_Start(), so the bars in line 1 & 3 which are visible after power-up are removed. However, calling LCD_Char_PrintString() doesn't show anything, even with setting the display position explicitely to (0,0) by calling LCD_Char_Position().
Currently I'm digging into it by using a logic analyzer, but it would be nice to know if anyone has been able to get an HD44780 on PSoC4 working.
Regards,
Ralf
Show LessHi,
I configured a TCPWM block as PWM with the following settings:
- input clock 1Hz
- left aligned
- normal PWM mode
- switch input active
- Period 4, period buffer not used/switched
- Compare 1, compare buffer 3
- Compare output connected to switch input
From the above I'd expect a frequency of 0.2Hz (5s), and a pulse width of 1s and 4s. However, I can only see the 1s pulse with a period duration of 5s, so it seems the switch isn't recognized. Cypress confirmed that the OV/UV/CC signals are based on HFCLK, so their pulse widths are one HFCLK cycle in length. Since the TCPWM samples the trigger input with HFCLK the pulse couldn't be recognized by the TCPWM itself.
I added a SRFF with HFCLK as clock, TCPWM compare output as 'set' and TCPWM overflow as 'reset'. Now the TCPWM switches the compare values as expected, but the expected 4s pulse is only 3s. Can anyone reproduce it?
Regards,
Ralf
Show LessDear all,
I watch psoc4 specification, Seems to be no way plus 32.768KHz crystal oscillator
P0 [6] pin is an input TTL level clock?
I want to control the clock accuracy of 1% or better
Is there any suggestions?
Thanks.
Show Lesshardware connections with psoc 4 , can any one help
Hi guys.
Hey Guys I'm coming from a basic arduino Uno and was wondering how I would be able to get a analog input and display it using a Serial output (already know how to get that to work). Right now the issue is that I have a basic moisture sensor (YWROBOT moisture sensor) and any attempts are worthless on my part
Show Less