PSoC™ 5, 3 & 1 Forum Discussions
Hello,
I'm french student in electrical engineering and I work on a school project of "touch keyboard" with the technology CapSense.
I work with the CY8CKIT-059 (and PSoC Creator). The purpose of my project is to realize a touch keyboard with 9 touch (1 to 9) and I fixed a code of 4 numbers (such as a password). When you type to correct code, a green led is flashing and at the contrary, when you tape a wrong code, a red led is flashing. I have written my program in C language on PSoC creator and it work really good.
Now I want to add a LCD (162B Series, by Displaytech Ltd.). I have realised some tests but it's not work... Severals pins of my kit are used.. I pluged 7 threads from my LCD to the kit. I also added the "block LCD" on PSoC Creator.
But how configure my LCD from PSoC Creator.. ?
And are there some pins reserve for the LCD ?
Thanks you very much ! 🙂
Show LessI am having an issue with PSoc Creator 4.0 Update 1 where it does not properly detect when a link is required. If I change a .c file and select build project, it compiles the c file but then said the link step is up to date and does not link in the changes. Here is an example output. As you can see I changed PIDControl.c so it compiled the file but then the linker was not called.
Does anyone know what would cause this?
--------------- Build Started: 03/19/2017 09:12:51 Project: MacanumBuggy, Configuration: ARM GCC 4.9-2015-q1-update Debug ---------------
The code generation step is up to date.
arm-none-eabi-gcc.exe -mcpu=cortex-m3 -mthumb -I. -IGenerated_Source\PSoC5 -Wa,-alh=.\CortexM3\ARM_GCC_493\Debug/PIDControl.lst -g -D DEBUG -Wall -ffunction-sections -Og -ffat-lto-objects -c PIDControl.c -o .\CortexM3\ARM_GCC_493\Debug\PIDControl.o
The link step is up to date, no work needs to be done.
cyelftool.exe -C "Z:\Programming\Cypress\RC Projects\MacanumBuggy.cydsn\CortexM3\ARM_GCC_493\Debug\MacanumBuggy.elf" --flash_row_size 256 --flash_size 262144
cyelftool.exe -S "Z:\Programming\Cypress\RC Projects\MacanumBuggy.cydsn\CortexM3\ARM_GCC_493\Debug\MacanumBuggy.elf"
Flash used: 37572 of 262144 bytes (14.3 %).
SRAM used: 3957 of 65536 bytes (6.0 %). Stack: 2048 bytes. Heap: 512 bytes.
--------------- Build Succeeded: 03/19/2017 09:12:54 ---------------
Show LessThis is probably a simple fix and a stupid question, but I am having difficulty try to get the data returned from a PlayStation controller out on the SPIM module. I am guessing maybe this has to do with the fact that the controller requires delays between bytes? (Yes I know, normally no delays between bytes, but these things are weird, they require delays between bytes, don't chew me out about it, talk to Sony)
I have tried having the array controller_Data[] update from SPIM_ReadRxData() as well as SPIM_rxBuffer[], neither work and when I try to to check controller_Data[] it is filled with 0x00000000. When i try using SPIM_rxBuffer, it too is always filled with nothing but 0x00000000. I can see on my oscilloscope correct data being returned from the controller, but the μcontroller does not seem to be recieving them or storing them anywhere.
I need those data values so I can do a bit of math with them before sending them to the PWM modules to control servo positions from the joystick positions on the controllers. Right now I just need to get the data from the controller to the PWM modules is my goal. Later on I will be doing substantially more math to control a delta bot crane game from the controller, and this will be going to a local kids museum for a robotics exhibit they are doing so the kids can interact with it and use the controller to try and move a ball from a start zone to a goal.
Show LessHello, i am trying to program PSoC5 CY8C5566AXI-061 on a custom made PCB using 5pin connector, with miniprog3 (active protocol: SWD). The CY8C5566AXI-061 is detected correctly in PSoC Creator. In PSoC programmer is detected as CY8C5586AXI-061. The board is powered from external source.
Anyways, when i try to program it from PSoC Creator i get the error (same happens from PSoC Programmer):
Error: dbg.M0023: There was an error while programming the device: PSoC Programmer reported error (100 - FAILED! SWD respond packet contains Failed status!)
(I tryed to lower the clock speed but nothing changed)
The settings from PSoC Creator are:
Active Protocol: SWD
Clock speed: 1.6MHz
Power: External
Acquire mode: Reset
Connector: 5pin
The settings from PSoC Programmer are:
Programmer: MiniProg3
Programming mode: Reset
Auto detection: OFF
Protocol: SWD
Voltage: 5V
Connector: 5p
Clock Speed: 1.5MHz
Device: CY8C5566AXI-061
The pin connectios from MiniProg3 to PSOC5 (on the custom made PCB) are:
VTARG - VDDDIO1
GND - GND
XRES - XRES (on pin 15)
SCLK - P1[1] (on pin 21)
SDAT - P1[0] (on pin 20)
Thanks in advance.
Show LessHi All,
I had custom PCB with CY8C5868AXI-LP035. I programmed CY8CKIT-50 using miniprog3 with success. When I connected miniprog3 10 pins config to custom PCB, the target is detected but the programming fails with the message "Error: dbg.M0023: There was an error while programming the device: Connection with device lost during programming. Verify the device is connected and try again". I have checked the voltage levels at all the power pins which is stable 3.3V and 1.8V on VCCA & VCCD. I had set the voltages to the power pins to 3.3V in the system page of Design wide resources. Please find the attachment containing PCB gerber, schematic, detection image, error image, and project files. Appreciate any assistance.
Show LessI mistakenly upgraded the PSoC software from1.5 to 1.8. Now i am not able to program hex files using PSoC miniProg. Is there any way to reverse the software from 1.8 to 1.5?
PSoC programmer displays following error:
MINI version expecting 1.50 got 1.80
Show LessHello,
I'm using a PSoC 5LP to communicate with another processor over UART. That other processor does in one scenario require flow control, and in another scenario is unable to use flow control.
Is there any way to enable/disable flow control from code?
Thanks, Jacob
Show LessDear all,
I am using CY8CKIT-059lp kit . I am transmitting data through UART . I want to add current time stamp along with my data in microsecond resolution. So that, at the receiver data end I can save both data and corresponding time in txt or excel format and can plot the graph using LAB View. kindly help to write the code.
Thanks
Chandan
Show LessHi,
i am trying to work with a 5Mbit/sec serial input and load it into a cyclic buffer i created in code. later in processing the data is sent over USB.
My problem is the FIFO depth. the code is just not fast enough to do something useful with the data and come back in time to prevent the over flow.
is there a way to chain fifo's ? would writing in verilog help ?
(i am using the CY8CKIT-059 PSOC5LP)
Show Less