PSoC™ 5, 3 & 1 Forum Discussions
I am having a weird issue with a board I designed using the 68-QFN packaged PSoC 5. Whenever I insert the mico SD card into my board, the RTC seems to stop working as in it fails to count or increment. This does not happen using the dev kit however so I am a little confused. For the layout of the PSoC chip, I followed the recommenced layout in the datasheet and am powering it though a 5V regulator. The RTC is using the internal XTAL 32 kHz clock. The micro SD card connector is routed directly to assigned PSoC 5 pins since, I believe, its logic level is 3.3V. Using a logic analyzer, I can see that whenever the SD card was removed, the RTC would count correctly and when the SD card was inserted the RTC would just remain at the time I set it to on startup. Any ideas? (The SD card does read and write correctly by the way)
Thanks
Show LessWhat is the difference between conversion rate and actual conversion rate in ADC? And what is the difference between ADC_SAR and ADC SAR Seq?
thank you.
Show LessHi,
I want to connect ro PSOC3 chip my proprietary design. From bandwidth point of view I need not less than 12 Mbps.
The architecture represent in attached file "System_architecture"
What could you recommend for me?
Thank you
Berlin Stas
Show LessHello,
I seem to be unable to build a project using the example code in the DTMF Dialer datasheet V1.5. Even after substituting #include "DTMFDialer.inc", with #include "PSoCAPI.h", I still get warnings and errors about using functions without a prototype. Any suggestions would be appreciated.
Show LessHi!
I tried to read the value from LDR and transmit that value to Bluetooth. but i cant able to read that value by using LDR_Read();
Please give the solution
Thanks in advance
Show LessHi,
I'm new to PSoC and have very limited knowledge using any MCU and such. I have a USB Webcam and a PSoC 5LP (CY8C588LTI - LP097). I was wondering if it's possible to control the shutter of the webcam with this PSoC kit. I was hoping to take a picture every few seconds and store it in my computer.
Can any one guide me how to do it. Or share some links where I can refer to. Couldn't find much info on Google and Youtube.
Thanks in advance
Show LessHello,
I saw that there were some discussions about implementing the logic for RS485 in PSoC 1 but I couldn't find any updated information (slave). I know that the logic levels are different that the ones used by the PSoC chip and external circuitry is required, but I also know the logic could be easily implemented through the UART component. I was wondering if anybody knows anything about the implementation of the protocol in PSoC 1.
Thank you,
George
Show LessHi all,
I happened to learn about CY8CKIT-059 the other day. The hardware sounded interesting and the price is a steal. So, even though the severe case of Microsoftitis in the software side I decided to give it a go and bought myself one. I figured I can always dust off the old WinXP install CD and run a VM.
Right. So far I've spent hours tinkering with the setup and I'm already regretting this. The VM and PSoc Creator in it work otherwise as one would expect, except for programming the actual device.
I've been trying to get just the basics working using the Blinking LED example. Compilation part goes without a hitch, but when trying to program it into the device (Debug->Program), I get nothing. The "Select Debug Target" window opens after a couple of seconds but is empty.
If I open the PSoC Programmer, it displays the KitProg in Port Selection, but selecting the device just produces an error: Failed Connect to KitProg/13050C2F03314400 at 08:31:18 | Timeout of Write operation!
But if I put the device in bootloader mode by pressing the switch while plugging it in, PSoC Programmer suggests updating the firmware which succeeds. After doing this, I can switch to and from the Mass Storage mode by keeping the switch depressed for 5 seconds. Trying to program the device by copying the HEX file into this storage device doesn't work either. The copy operation goes less than half way through before stopping with an error. The resulting status.txt contains these lines:
Cypress KitProg Mass Storage Programmer.
Press and hold the Reset button (SW1) for 5 seconds to exit Mass Storage mode.
NOTE: Only PSoC4 Families are supported in this version.
STATUS: Programming failed! Device Acquire was unsuccessful!
I'm currently using VirtualBox 5.1.2 but got exactly the same result with VMWare. Host OS is Linux. Curiously enough, when trying to program from PSoC Creator, my dmesg starts to fill with these messages: usbfs: usb_submit_urb returned -28"
I'm not going to get back the time I've already wasted with this, but I'd like to know if it is ever going to work? Has someone actually succeeded?
Thanks.
Show LessI tried following the video for the PSOC Voltmeter.
sprintf(tmpString,"%+1.3f Volts", adcVolts);
fails, printing " Volts" on the LCD. This is with "Use newlib-nano" and "Use newlib-nano Float Formatting"
(-mthumb -march=armv7-m -mfix-cortex-m3-ldrd -Wl,-Map,${OutputDir}/${ProjectShortName}.map -T .\Generated_Source\PSoC5\cm3gcc.ld -g -specs=nano.specs "-u _printf_float" "" -Wl,--gc-sections)
If you set Use newlib-nano to false, it prints "+"
If you set "Use newlib-nano float format" to false along with "Use newlib-nano" to false, it prints "+"
under no conditions does your sprintf() floating point library work. If you use %d with a number it prints, so sprintf() is working.
This bug has been around a long time, since 2013. Do you expect to fix it? It is not important, I agree, but it does not let me feel good about the product, knowing certain parts of the libraries don't work.
attempting to add in main.c the following line before main(){}
asm(".global_float_format")
crashes PSOC creator at the first quote ". Always.
Of course, an obvious work around is to multiply the floating point number by 1,000 and then print the %d number, and display the results in millivolts.
Show Less