PSoC™ 5, 3 & 1 Forum Discussions
Hello @MotooTanaka san,
Thank you for your guidance in my previous thread.
That helped me a lot in my application code.
Now, i have another question/query based on the previous thread...
How is it possible to detect a long keypress and do a certain action?
And let's say i want to use BUTTON_D for two instances: a short keypress (go to the previous menu) and a long keypress (go to the top menu), how can I differentiate between the two and how to detect both of the instances in a single program?
Thanks in advance for the help.
Regards,
Yash
I have been working to prototype a control system using a PSoC 4000S development board. In theory the device has 1 ADC block and two DAC blocks. However, when I try to instantiate two IDAC7 blocks and one ADC block I get an error stating the "maximum number of DACs exceeded (max=2, needed=3)". I can delete the ADC block and the project will build, or I can delete one of the DAC blocks and the project will build. Does this mean the ADC block requires one of the DAC blocks to function, or is this a bug?
Show LessProblem Statement: I would like to sample an analog pin on the CY8CKIT-059 PSoC 5LP Prototyping kit using the DelSig component with a sample rate of 46875 Hz and a resolution of 16-bit and stream this data out without any loss through USB to a computer host continuously.
What I have tried that Works: I can chain 14 TDs, each having a 4094 byte DMA transfer (i.e. 4094/2=2047 16-bit samples), disable the DMA at the end of all 14 TDs and then transfer using USB max packet size of 64 bytes at a time and receive it using the USB Control Center application. The 100Hz square wave from the function generator looks perfect.
What I have tried that does not work (Goal): Ping Pong DMA with 64 byte transfers for two DMA TDs and USB transfers.
OS: Windows 10 x64
USB Driver: cyusb3.sys (unmodified from EZ-USB FX3 SDK)
Using 24MHz PLL setting in Clocks.
USB Transfer Type: Bulk Transfers
USB Buffer: DMA with Manual Buffer Management (Static Allocation)
DelSig Conversion Mode: 2- Continuous
DelSig Alignment: Left, 16 bits (Not OVF Protected)
DelSig using internal sampling clock with auto calculated 3072 Hz frequency
I have used the ping-pong DMA approach from this example. I replaced the WaveDac8 in the Data Acquisition project with a real signal from a function generator producing 1V 100 Hz Square Wave. The resulting samples from using the "USB Control Center" utility part of the latest EZ-USB FX3 SDK (requesting say 8192 samples) look completely distorted and look like they are missing samples.
Show LessHi,
I have been working on a project using PSoC 5 LP. I am currently using EEPROM to store a few variables. Does any one have any idea as to how to store a variable at a particular address in flash on PSoC 5LP? We are trying to do this for a particular reason. Any pointers are appreciated.
Thanks in advance!
Show LessHello
Please help me with CY8C5467LTI-007. I have CY8CKIT-059 and it works with CY8C5467LTI-LP003 perfect for downloading firmware via PSOC Programmer 3.29. However nowdays it is difficult to find the IC, so I have to look into obsolete IC avalable in stock. CY8C5467LTI-007 one of them which almost pin-to-pin compatable. I try to find CY8C5467LTI-007 in PSOC Programmer list and there is no such IC.
Question is : What programmer-debugger tool may I use with the CY8C5467LTI-007?
Thanks,
Oleg
Show LessThe Datasheet for the CY8CPLC10 mentions reference designs - especially concerning the coupling circuits for common carrier circuits - but does not provide any coupling circuit reference designs or show where to find them.
Where is this information available?
Thanks,
Paul
Show LessDear Sirs and Madams,
We are considering the SPI master component of PSoC5LP.
In the SPI Master component, we would like to keep the last state that MOSI sent 1 Byte.
Specifically,
After sending xxxx xxx0, the output of mosi is fixed to 'L'
After sending xxxx xxx1, the output of mosi is fixed to 'H'
The model number of PSoC5LP is CY8C5468AXI-LP106.
I think there is a way to use a latch circuit and a way to use a custom component by UDB.
What do you think is the optimal solution?
Regards,
Show LessHi,
I am using existing libraries and I am getting this error Plus.h (in my main file) No such file or directory exist. Then I moved the main file to the same folder as Plus.h file, then the issue goes to the project.h file.
How do I ensure that all files have access to each other.
Show Less
Good luck !
My chip is C Y P D 3174-24 pin with Mini P r o g 3 Programmer.
Before programming,Target Power(red)is lighting,and Status(green)is twinkling.
When programming,red light is twinkling either.
then it turns to failed.
What's more, what should we do when using Cypress Programmer , to connect P SOC and PC and make computer recognize the device, as was shown in Page 11, Cypress Programmer GUI User Guide ?
Show Less
Hello,
In my design I need to change on the fly the position of SDA Pin (SCL pin is left unchanged).
Can you please show me the instructions to write?
Thanks,
Alfonso
Show Less