PSoC™ 4 Forum Discussions
Hi,
We have plan to create a circular trackpad using PSoC4.
Can Cypress provide us a recommended sensor pattern as single layer?
A typical trackpad sensor uses diamond pattern, but we cannot configure vias because we plan to use PC (polycarbonate) for the substrate.
Therefore, we cannot use diamond pattern due to bridge and the sensor pattern and layer must be a single layer.
Requirement of trackpad is as follows;
- HW;
- Overlay : 1mm (material is PC)
- Sensor A/A : Φ 67mm
- Sensor pattern : TBD Ask to Cypress as the above
- Substrate : PC (Film)
- Device : PSoC4000S series
- FW;
- # of finger : 1
- Finger size : Φ 8mm
- Support gesture (Tap, Double tap, Swipe)
- Accuracy : TBD (expectation is < 2mm)
- Linearity : TBD (expectation is < 2mm)
- Sensing method : Mutual or Self or Hybrid
Let me know if you need more information.
Best regards,
Show LessI am unable to communicate to CY8KIT-148 using the MagSense tuner. I am using example code CE222867 MagSense with Feedback LEDs and have the EZI2C component in my project. However, when I attempt to communicate to the device using MagSense, I can only select UART and not EZI2C. How can I fix this?
Show LessHello,
I have miniProg3 debugger. when i connect it to PSoC4 device it shows all LED indications as per user guide mentioned.
It means it connects to Laptop provides power on Vtarg pin. I am unable to program the device as it doesn't find device.
while solving this problem i got to know that GND and SClock pins are shorted.
How do i resolve this problem?
which component is fried?
please help me.
Ragards,
Jagdish
Show LessHi all,
I have a few questions about Vusb_5(4.5 to 5.5V) and VBUS description(4.35 to 5.5V).
[Q1]
In Fig.1 below, Vusb_5 spec of VBUS pin is 4.5V(Min) to 5.5V(max).
In Fig.2 below, It is described as "ideally be 5V(4.35 to 5.5V is range)".
If 4.35V is input to the VBUS pin, will PSoC4200L work properly?
[Q2]
In Fig.2 below, It is described as "ideally be 5V(4.35 to 5.5V is range)".
In Fig.3 below, It is described as "5-V range(4.35 to 5.25V)".
Is the max value of the 5V range 5.5V or 5.25V?
Best regards.
Yaku
Show LessHello,
Is it possible to do manual tuning of the CY8C4024LQI-S411 using CY8CKIT-043 PSoC?
I am currently using the programmer on this kit to program the chip above however is it possible to use the programmer's I2C for manual tuning the capsense on the CY8C4024LQI-S411?
If I right click on the Capsense and select launch tuner do I still need to right a code for the manual tuner?
Once I pick the correct tuning parameters for the capsense, are they automatically saved or do I need to hardcode the various parameters in the code editor?
If you can please let me know how this process works in details. The many write ups I saw about manual tuning are not detailed enough.
Thank you!
Show LessI have a custom board that has PSOC4 CYBLE 222014-01, LIS3DH accelerometer, push button and an RGB LED.
I've created a simple push button interrupt project that changes the LED from red to blue, and it works!
I also have a project that checks the WHO_AM_I register of the LIS3DH, and it works -- it writes to the register to send a response, and responds with the correct value.
What I am having trouble with is setting the LIS3DH to send an interrupt on movement.
The LIS3DH datasheet: https://www.st.com/resource/en/datasheet/lis3dh.pdf [PDF]
I am not certain on how to set the registers, per the datasheet.
The code I have:
void int2_handler ()
{
//Disconnect_LED_Write( ~ Disconnect_LED_Read() ); //BLUE
//LowPower_LED_Write( ~ Disconnect_LED_Read() ); //RED
Disconnect_LED_Write(LED_ON); //BLUE
LowPower_LED_Write(LED_OFF); //RED
Pin_PB_SW_ClearInterrupt();
}
int main()
{
I2C_1_Start();
CyGlobalIntEnable;
LowPower_LED_Write(LED_ON); //RED
uint32 LIS3DH_ADDRESS = 0x18 ;
uint8 WriteBuffer[10];
WriteBuffer[0] = 0x34; //INT2_CFG -- 0,1,0,0,0,0,0,0 (???)
WriteBuffer[1] = 1;
WriteBuffer[2] = 1;
WriteBuffer[3] = 1;
WriteBuffer[4] = 1;
WriteBuffer[5] = 1;
WriteBuffer[6] = 1;
WriteBuffer[7] = 1;
WriteBuffer[8] = 1;
uint8 WriteBuffer_THS[4]; //INT2_THS
WriteBuffer_THS[0] = 0x36;
WriteBuffer_THS[1] = 1;
WriteBuffer_THS[2] = 1;
uint8 WriteBuffer_DUR[4]; //INT2_DURATION
WriteBuffer_DUR[0] = 0x37;
WriteBuffer_DUR[1] = 1;
WriteBuffer_DUR[2] = 1;
I2C_1_I2CMasterSendStart(LIS3DH_ADDRESS, 1, I2C_1_I2C_MODE_COMPLETE_XFER);
I2C_1_I2CMasterWriteBuf(LIS3DH_ADDRESS, WriteBuffer, 10, I2C_1_I2C_MODE_COMPLETE_XFER);
I2C_1_I2CMasterWriteBuf(LIS3DH_ADDRESS, WriteBuffer_THS, 4, I2C_1_I2C_MODE_COMPLETE_XFER);
I2C_1_I2CMasterWriteBuf(LIS3DH_ADDRESS, WriteBuffer_DUR, 4, I2C_1_I2C_MODE_COMPLETE_XFER);
I2C_1_I2CMasterSendStop(I2C_1_I2C_MODE_COMPLETE_XFER);
Pin_PB_SW_Int_StartEx( int2_handler );
for(;;){
}
}
/* END OF FILE */
Thank you for any help,
Steve
Show LessI'm trying to be build SimpleLedCapsense bleapp for IOS from GitHub - cypresssemiconductorco/bleapp for my lab project. It gave back a lot error. I was trying to fix the error but it's not work well. Any help will be appreciated!
Show LessHi everybody,
I'm using CY8CKIT-145 for my project, connecting the Cypress board to a PCB sensor with a back shield.
I have found a mismatch in the assignment of Cmod and Shield ports. When I activate the shield, it is automatically assigned to P4[0] with Cmod to P4[1]:
I find confirmation of this also in the schematic of the board available online:
But if I look into the port options I see that Cmod should be connected to P4[2], shield to P4[1] and that P4[0] should be connected to an external Vref:
The result is that the automatic assignment seems to be wrong:
So is the error in the code (and so the automatic assignment is correct) or in the schematic of the board? What are the correct ports to connect Cmod, Shield and Sensor?
Show LessWhere is it stored? I am using the BLE 4200 with 256 KB of flash.
Cheers,
I am using a bipolar stepper motor (1528-1062-ND) and controlling it by an H-bridge (296-36156-5-ND). I was wondering if anybody used a stepper motor and H-bridge combination and had some code or a diagram block. I am using this for class and if anyone has any links or anything to help thank you in advance!
Show Less