PSoC™ 5, 3 & 1 Forum Discussions
Hello, now I'm trying to use freesoc device in Linux.
But I got always error about unable to open device.
This program was developed by the predecessor.
So I didn't added any changes to my program.
After I've programmed the PSoC_EMG on my freesoc board,I changed OS from Windows to Linux.
But always after running lsusb and udev test command on terminal, I got below messages.
>home/username lsusb
...
Bus 003 Device 002: ID 04b4:f131 Cypress Semiconductor
...
From this message, I know that PC can recognize my freesoc board.
>home/username udevadm test /sys/bus/usb/devices/usb/3-2
...(many lines of reading rules.d )
Unable to open device
Unload module index
Unloaded link configuration context.
And I also run Test.cpp code. It stops at the function of
r = libusb_claim_interface(handle, INTF_NUM);
maybe I cannot claim the interface of freesoc.
How can I open this device from Linux??
I'm very worrying.
Please help...
My setup environment is...
>Windows 10
>Ubuntu 16.04
>PSC Creator 4.2
>freesoc explorer (CY8C5868AXI - LP035)
Thanks in advance.
Show LessHello, I'm looking for the part number for the JTAG connector that is on the MiniProg3 Programmer/Debugger. I want to use the same connector on the PCB that I am designing. I know that it is a FTS Samtec connector but not sure on the pin length. I got a sample from Samtec FTS-105-02-L-D.
If anyone knows the part number of J3 on the MiniProg3 please share that with me.
Thanks,
Joe
Show LessHello,
I'm making a color sensor (TCS3200), and i have a issue trying to make a function that works the same way as pulsin() from arduino.
In a code i take my output value like this on arduino: PulsIn() function definition from arduino
// Reading the output frequency
greenFrequency = pulseIn(sensorOut, LOW);
and i have to do somthing like that on PSoC creator.
Right now i only get 0 and 1 as output (the value of what i set my pins to).
in the attached code you can see what im trying to do.
Thanks
Show LessIs the Windows 7 device driver CYUSB3.sys replacing KitProg.sys for CY8CKIT-059 PSOC 5LP ?
Hello,
I have problems, getting the Quadrature encoder to work on the PSoC 5lp.
Using the 050 Kit, I can get only random numbers on the display. Sometimes it updates, sometimes not. It does not behave as I expect it.
I want actually only to display the counting values on the display in decimal form. Count up and down to the Maxima of the encoder, and then reset with the index pulse.
Attached is my minimal design.
If someone please can have a look and pint me in the right direction?
Thanks in advance...
Show LessHi @ll,
I am pleased to announce that from now the free FORTH Mecrisp-Stellaris in the latest version 2.4.5 for the Eva-Kit-044 with the PSoC cy8c4247azi is available for download.
See: https://sourceforge.net/projects/mecrisp/files/Cypress/ >>> mecrisp-stellaris-2.4.5 for cy8c4247azi-044.zip
Mecrisp-Stellaris-FORTH is available for following Eva-Kits / PSoC`s :
Board: / PSoC:
CY8CKIT-043 -> cy8c4247azi
CY8CKIT-044 -> cy8c4247azi
CY8CKIT-046 -> cy8c4248bzi
CY8CKIT-049 -> cy8c4245axi
CY8CKIT-050 -> cy8c5868axi
CY8CKIT-059 -> cy8c5888lti
FreeSoC2 -> cy8c5888axi
The porting for the PSoC 6 is also planned. With this FORTH-pagage it is possible to test all C-applications interactively without debugger. The Kernel have integrated an interpreter and compiler. The Compiler is extendabel in FORTH itself (generic and generative programming).
If you would like to know more about FORTH, you will find the classic Starting-FORTH and Thinking-FORTH by Leo Brodie:
http://thinking-forth.sourceforge.net/
The Definition of ANS FORTH you can find here: http://lars.nocrew.org/dpans/dpans.htm
If you want to know more about Mecrisp-Stellaris you are right here:
https://www.forth-ev.de/filemgmt_data/files/4d2015-arm.pdf
Have fun
Klaus
Show LessI am having trouble with the GraphLCDIntrf and the emFile components. I created a project with the LCD interface and got it working. I then added the emFile component and added all the necessary links to the additional directories. Then when I build the project I get a build error "prj.M0120:Build error: unknown type name 'PTR_ADDR' ". I've created another project using the last version of the GraphLCDIntrf with the emFile component and didn't have this trouble. I don't know where to look or what to do in order to fix this build error. Attached is the project I'm working on so that you can see what's happening. It's not pretty because I was just testing different functions of emWin.
Thanks,
Matt
Show LessHello, I'm doing a design with a PSoC5 CY8C5888AXQ-LP096 microcontroller on my board with a JTAG interface for debug/programming.
I am powering the device with 3.3V. I'm using a TVS Diode on pin 1 of the JTAG connector. The TVS I have chosen has the following specs:
Voltage Reverse Standoff 3.3V
Voltage Breakdown 5V
Voltage Clamping max 14.1V
Current Peak Pulse 11.2A (8/20µs)
Does this TVS Diode (part# CPDQ3V3-HF) sound like a good fit for the design?
Thanks,
Joe
Show LessHi,
I am working on a design which has about 30 capacitive buttons. Each button needs an LED for backlight.
I know that recommended approach in this scenario is to use back-firing LEDs but there are many other components in the design that need to be placed on the bottom side of PCB.
So I was wondering, Can I place surface mount LEDs (e.g., 0603 size) at the center of sensor electrodes?
My other question is: What layer stack up should I choose?
There will be sensor electrodes and LEDs only on the top most layer. The second layer can be used for sensor traces. Plus I need at least two layers for digital signals. From what I have read so far, I need a hatched ground plane between sensor signal layers and digital signal layers.
so should I select a six-layer stack up? and what signal-plane configuration?
Regards
Show LessHi,
Hi,
I doing a very simple ADC read - but I am getting random values. The codes is below. The ADC is configured as a 10-bit single-ended.
#include "project.h"
uint16 output;
int main(void)
{
ADC_DelSig_1_Start();
ADC_DelSig_1_StartConvert();
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
for(;;)
{
output = ADC_DelSig_1_Read16();
}
}
Show Less