PSoC™ 4 Forum Discussions
Hi.All
I want to use I2C_LCD with PSoC4 CY8CKIT-049 Prototyping Kit.
In "I2C_LCD.C" or "I2C_LCD.h" of "PSoC CREATER 4.1"
"I2C_LCD_1 _ SetContrast (50);" Function not found.
I coded the following samples.
#include <device.h>
#define LCD_MODULE_ADDRESS (0x50u)
int main (void)
{
CyGlobalIntEnable;
I2C_Start ();
I2C_LCD_Start ();
I2C_LCD_SetContrast (50);
CyDelay (1000 u);
I2C_LCD_Position (0 u, 19 u);
I2C_LCD_PrintString ("s");
I2C_LCD_Position (0 u, 0 u);
I2C_LCD_PrintString ("a");
I2C_LCD_WriteControl (I2C_LCD_CURSOR_WINK);
I2C_LCD_Position (1 u, 0 u);
I2C_LCD_PrintString ("Cypress");
I2C_LCD_PrintString ("Cypress");
I2C_LCD_WriteControl (I2C_LCD_CURSOR_WINK);
I2C_LCD_PrintNumber (2015);
I2C_LCD_PrintNumber (015);
I2C_LCD_Position (3u, 10u);
I2C_LCD_PutChar ('$');
}
please tell me.
Dear all
I will design CSX slider, but can not find code example, the CSX slider have following details info:
1, 10 Row * 10 Col touchpad
2, support two fingers touch.
3, use Uart tranfer data.
would you please release the demo code? Many thanks.@
Show LessHello,
I'm looking for a random seed to throw into a simple random number generator algorithm, such as https://en.wikipedia.org/wiki/Xorshift
I was thinking of using the least significant bits of the die temperature (http://www.cypress.com/file/139101/download). Does anyone know if there's a better way to do this, or if Cypress provides some sort of random generator?
Thanks,
Alex
Show LessHi to all,
I have a BLE device using CYBLE-022001-00 device implementing a custom profile with settings and functionality very similar to Cypress Day020_BLE_UART Example (Peripheral).
My device uses a custom BLE profile to implementation a UART communication with Tablet or Android phones devices.
Many tablets and many phones are able to discover and connect to my device but now I found three different devices that are not able to discover my devices:
- Samsung J5 with android 6.01
- Sony Xperia XZ1 with Android 8.0.
- Huawei P10 with Android 7
Other devices with BT LE are working on these phones, only my devices cannot be found.
Anyone have any experience with that or have a suggestion to fix this issue?
Thanks,
Giorgio.
Show Less
Hello every one,
I like to read data from ADC via Bluetooth. I just edit one example project and can successfully read data from one channel of ADC.
I like to read two channels, but for somehow I am unable to get data from both channels at the same time.
I will look forward to your suggestions.
Best regards
Show LessHi!
Where can I find the specification for the SARMUX and analog multiplexer inside the PSOC-4M devices. I mainly want to know the input and output leakage current of the SARMUX and analog multiplexer? My signals come from a high impedance source and sample time is in order of milliseconds. The leakage current of the multiplexer will cause a drift in the signal voltage. I want to know the value of the leakage current.
Thank you.
Show LessHello all,
I have to port the Capsense functionality from CY8C2018 to CY8C4014 device, I have seen that few parameters for Capsense are not there in CY8C4014, Like settling time,factory reset, and setup mode for setting the capsense parameters, Also which one of the two IDAC's in CY8C4014 can be used for just capsense application, as in CY8C2018 had one IDAC for configuration,please can somebody help me on this queries and let me know any reference manual for refering.
Thanks & regards,
Pramod kashyap
Show LessHello community,
I'm having some issues trying to port a Capsense design to the new "CapSense P4 v4" component, and maybe some of you can help.
My design is based on 3 three simple buttons, which were ganged together for proximity sensing. I don’t have a dedicated sensor/wire for it. By using the new component I'm unable to select 0 sensing elements in the GUI.
I already tried a functional workaround by using an extra Button where i successfully selected the other 3 sensors, not having a dedicated sensing element.
What am I doing wrong? Is use case not possible with the new component/API.
Many thanks in advance,
Marco
Show Less
dear all,
i am using CY8C4245AXI-483. i want to measure frequency from 48Hz to 15000Hz.
at present i am using TCPWM_P4 AS TIMER WITH RELOAD AND CAPTURE ON RISING EDGE WITH CAPTURE AND TC INT.
THIS WORKS FINE BUT I WANT FREQUENCY MEASUREMENT FROM 4000 TO 15000 Hz WITH RESOLUTION OF ATLEAST +/-5Hz.
I WAS TRYING 32 BIT UDB COMPONENT FOR CAPTURING. BUT CONFUSED REGARDING CAPT. VAL AND ISR ROUT.
PL. HELP.
Show Less