PSoC™ 4 Forum Discussions
I need to port the PSoC USB HID bootloader host for Windows to Macintosh. It uses cyusb.dll and I believe the source code is not available.
Is there a library for MacOS equivalent to cyusb?
If not, what other alternatives are there?
Thanks.
Show LessWe are developing a LIN 2.1 slave device using CY8C4146LQA-S433.
The LIN component datasheet states that it supports 2.2, 2.1 or 2.0.
However, there is no 2.1 choice in the component properties.
Please tell me how to use it with the LIN2.1 specifications.
Show LessDears.
Now I use CY8CKIT-042 PSoC 4 Pioneer Kit and Psoc creator 4.2 to take the test with LIN bus communication component.
Even though I completely configured whole settings in LIN component but "l_ifc_init" function returned "0" which means "Initialization of LIN conponent is failed".
I would like you guys to review my simple sample code that is attached.
Thanks
WonjinHan.
Show LessI want to achieve an Adjustable active LPF in PSoC.
I found related material here.
Is it possible to configure this circuit with PSoC (4 / 5LP / 6)?
The required specifications are as follows:
- Vin : 1~3V
- Fin : 3~4kHz Sine wave
- Cutoff frequency : 1kHz
- Resolution that I want to adjust : 10~100Hz
Thanks,
Tetsuo
Show LessHi,
I want to implement I2C communication between PSOC and ST.
I've configured PSoc as I2C Master and ST as I2C Slave. I've succesfully transferred data from PSoc to ST but I'couldn't read data from ST.
Here's the details about my implemention.
When I use I2C_Write_Data function on PSoc side, I didn't encounter a problem about the data transmission to ST from PSoC
I'didnt implement I2C Slave on ST side before. I may have used wrong APIs or made some configuration mistakes.
I've attached the images about the implementation. (Codes and Configuration). I'll be appreciated if you illuminate me about this problem. This is my second post on this web site so that please ignore my faults about this topic that I have )
Have a nice day..
1- ST I2C Slave Code
2- St CubeMx I2C Slave Configuration
3- Cypress I2C Master Functions
4- Cypress I2C Configuration
Show Less
Hi,
I'm debugging an excessive delay in BTLE GATT server read packets, and write-response packets with PSOC4 BLE Module. Here is the setup:
PSOC4 with a Gatt server (100ms connection interval).
Raspberry Pi 4 - using gatttool to issue the char-read-hnd command.
The problem if I read using the gatttool - I can see up to 800 ms of latency between the read command, and the response packet. Is there anything in the PSOC GATT configuration that can create such long delays? I'm not sure if it's the gatttool latency on the Pi, or the response time from the CYBLE-214015 module I'm using?
Show Less
Hi,
Are there ANY drawbacks having mag-sense LX+RX pins configured with the "yellow status"?
- any risks for lower performance?
- how can I see what resources are used up due to the "non optimal" pin config!?
Also,
- what's the logic behind how magsense buttons LX vs RX can be placed.
it seems to be quite strict that a LX/RX pair can't sit on a neighbouring pin
(which is usually what you want when routing)
right now, one coil always needs a wire coming from two separate sides of the part
Show LessHi,
I am trying to look at the differences between Capsense and Magsense for a robotic gripper tactile sensor.
I am mainly curious about magsense's ability to read any object applying pressure (light to high) on the sensor, and its possible resolution and sensing speed compared to capsense. I am easily able to get a frequency of a few hundred Hz with capsense readings, with a matrix of 5x5 elements.
1. Is it possible to use some sort of compressible overlay with magsense that would help capture the presence of any object? It could be a conductive fabric or something, and the object would compress it to change inductance?
I am currently trying to implement this with capsense, but a finger is always generating a much stronger signal than any other object compressing the overlay.
2. Is magsense advantageous for fast reading and small sensor elements for a high sensing resolution?
Thanks!
Show LessHello,
The Cs formula in the CapSense_GetSensorCapacitance API of the CapSense datasheet seems to be a Single IDAC formula.
Is this API determined by this formula regardless of Single or Dual IDAC?
Best regards,
Yocchi
Show LessHi,
I want to analyze and tune a CSX touchpad widget for a project. I am using the CE228931–PSoC 4 CapSense CSX Tuning example.
I turned on the capsense BIST as they mention in the example's PDF, so I can use the BIST specific API like CapSense_GetSensorCapacitance();. However, it is unclear in the capsense 7.0 datasheet (the version I am using with PSOC4100S) what are the 3 arguments to use this method. I think the 1st argument is right in my code below, but I am not sure about the rest. The main problem is that I call it for all of the sensors (15, 3rx and 5tx) in my touchpad widget, which seems like I am doing something wrong. Also, I get wierd results in my UART terminal.. not sure if that means I am using the API wrong or if my hardware is bad! (some of the elements have 0 parasitic capacitance and others have enormous amounts, make no sense).
I am calling all of this when capsense is not busy*
How am I supposed to use this API? thanks!
Show Less