CY8C5888. How to connect to the battery only RTC (real-time clock)?. What pin supply this device?
RTC
Variable I2C speed
I need to change the I2C speed while running my program. For example first check on low-speed which slaves are present, and if these slaves are all high-speed I would like to use high speed for the further communication.
I do this by defining 2 I2C components (I2C_Slow and I2C_Fast) and multiplexing between them as indicated in "Figure 8 : I2C Bus Sharing". This example is for slaves but it also works for masters.
For the future, I would like to use a more flexible way to change the I2C speed of the master.
I cannot find and API to change to i2c rate. Am I overlooking it ? I did find the possibility to use external clocking but this seems rather complex.
I'm using PSOC5LP and PSOC Creator 3.3SP1 with I2C Version 3.5
Thanks
Patrick
graphic lcd design problem
Hello .. i want to make a digital display meter with speed in kmph, battery level indicator, distance travel in km , trip meter. Can this be program and implemented with psoc 5LP kit? How do i start ? please suggest me with this.
How much of minimum current can measure in PSoC 5lp .
Hi
I want to measure ECG signal for my project. So i want to know about minimum acceptable current of each pin of PSoC 5lp cy8ckit-050. Can any one suggest me for my project. How can i measure this signal using PSoC 5lp.
signal delay
Hi Expert,
I want delay a reset signal some microseconds then send out. Can you teach me how to do?
Can't open CY8CKIT-059.BRD file in eagle (or any other CAD)
Hello, the subject is very clear. I've downloaded the file "CY8CKIT-059 Board Design Files (Schematic, Layout, Gerber, BOM)" from the official page http://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and?source=search&keywords=059%20brd but the .brd file its corrupted or something because I can't open it in eagle or any other CAD software.
Can anyone help me please. I need the file, I don't have time to draw the pcb from scratch.
Thank you :)
How to make a very low frequency range from 0.01Hz to 10kHz?
Hai cypress community.
Im still newbie in using psoc 5lp. i want to know is there has any ways to generate a vey low frequency waveform range from 0.01Hz to 10kHz.
TQ for your help.
How to Measure Frequency and Phase using PWM and Counter?
Hello EveryOne,
I saw some posts where i come to know that, i can detect frequency and phase with the help of PWM, counter and comparators.
Could please guide me how i can do that?
Looking forward for your suggestions.
Awais
How i can detect the phase of my input using using counter?
Hello Every one,
I want to detect phase of my input signal. Is there any possibilty to do that using counter or pwm?
Looking forward for your reply!
Regards
Awais
How to save the measurement data into usb or directly save into computer?
hai cypress community.
Im still newbie in using psoc 5lp. if i want to do a impedance meter project, how can i save the measurement data of each component that i test into a usb or direct into the computer? the data involved of every measurement result of the component testing.
Tq for your cooperation.
Setup time violation
I am getting the following warning when I compile a program for PSOC5LP
Warning-1366: Setup time violation found in a path from clock ( CyBUS_CLK ) to clock ( UART_IntClock ).
I am running a UART and a USBUART at the same time. The UARTint clock is set at 460.8 kHZ (Desired) for a 57600 baud stream. I have it set to use the internal clock.
My USBUART is communicating with a computer (COM) and the UART is communicating with a PROC chip for Bluetooth. I am also running an SPI line to a display.
I am running PLL_out at 48 MHz.
Any reason why I'm getting this error? The code seems to run fine, but I don't want any issues with long term stability.
Best-
jk
Error during build of PSoC 5 project when using .c and .h files
Hi all,
I am having a problem building a project when I try to use a .c source and .h header file in the project. When I build the project with all the code in the main.c file, everything works fine. However, when I move all the code except for int main() into a header and and c file and then add them to the project, I receive the following error:
.\CortexM3\ARM_GCC_493\Debug\main.o:(.data+0x10): multiple definition of `readPtr'
.\CortexM3\ARM_GCC_493\Debug\RMISensor.o:(.data+0x10): first defined here
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
I actually get those first two lines a bunch of times for some of the variables I defined in the header file but I just included one as an example. It seems as though the main.o file is trying to define these variables despite it being removed from main.c. I've tried everything including completely remaking the project from scratch but haven't found a solution. I am using PSoC Creator 3.3.
Thanks for the help.
Nick
How to speed up the calibration process at frequency 0.02 hz?
Dear all,
I managed to obtained a very low frequency as 0.02 hz by using frequency divider ( divide by 1000). However, the calibration process become very slow. It took almost 3 minutes to finish the calibration. can someone explained why ? and how to make the time for the calibration to be less than 15 second at the same frequency 0.02 hz?
TQ
External library file not found during linking
Hi
I am trying to use a library called ezPSocLib. I put the compiled library in the linker path but for some reason the linker does not see this file at all.
I have attached the project.
PSOC 5 using EEPROM
I using the PSOC 5 in a modbus application. I would like to configure the EEPROM to store a new modbus address and to store 7 floating point calibration values. Functionally the solution work but the EEPROM Write utilities take more time than the modbus timeouts.
Question: What is the time required to write an EEPROM byte and write an EEPROM row?
Thanks for responses
touchpad three dimensional
Hi everyone,
For my application in need more capsenses than the number of pin available on my design. I would like to use a matrix button or touchpad but i'm confused. It is write that "When more than one row or column sensor is in the TOUCH state, then the finger location cannot be resolved, and the situation is considered an invalid condition."
My question is, is there any way to measure more capsense with the 3rd dimension?
If I use a matrix 3 by 3 for example, and I measure step by step
column1 row1
column1 row2
column1 row3
column2 row1
column2 row2
column2 row3
column3 row1
column3 row2
column3 row3
I am able to measure my 9 electrodes right?
Thank you very much
psoc 5lp interface with LDR and Bluetooth HC-05
Hi!
I tried to read the value from LDR and transmit that value to Bluetooth. but i cant able to read that value by using LDR_Read();
Please give the solution
Thanks in advance
CAN protocol
Dear all
Could some one that have a good and working application for the CY8C5868 or PSOC5PL about CAN application just to send recive message give me one copy?
I am trying strong but no way. The micro start to sen message and never stop and never up grade the data. I have also open a case but nothing. ..
Best regards and many thanks in advance
Attilio Ciaccio Il Gruppo
Internal Regulator Problems
Hi,
I´m trying to power the CY8C5267-AXI-LP051 from a 5V Supply, but i have the problem, that the internal 1.8V regulator somehow does not regulate to 1.8V, when a voltage higher than 3V is applied to the VDDD-pins of the micro. If I apply 5V the internal regulator output is 3.3V or 3.4V. I looked and looked at the design of my PCB, but I was not able to find the source of the problem.
Otherwise, the chip seems to work (somehow) with the higher core voltage (at least for a few seconds), I even managed to program it.
I attached two pictures of the PCB to the post, could someone please tell me what I did wrong?
Thanks in advance
PSoC 5 SD Card Saving
Hi,
Sorry, this will be a bit of a long post. First of all, a bit of background:
I am using the PSoC 5LP Prototyping Kit (CY8C5888LTI-LP097). I am currently working on a data-logging application that logs to an SD card using the EMFile component available.
The data is in the form of accelerometer data (ADXL362) and I have got it to generate interrupts and alert the PSoC when new data measurements are available. In my code, the PSoC application enters the interrupt service routine on these interrupts, retrieves the data (8-bit x, y & z) over the SPI interface and then stores this data in a buffer (uint8 accelBuffer[BUFFER_SIZE]). An instance variable (bufferIndex) keeps track of the current position of the buffer -- it increments to the next empty position within the buffer after each successive save of data.
Within the main application, the buffer level is checked through this index variable (bufferIndex). When bufferIndex == BUFFER_SIZE, the program enters a critical section in which interrupts are disabled. Here PSoC performs SD Card saving via the EMFile interface.
When the saving is completed, the program exits the critical section (interrupts are re-enabled), and the index variable is reset to 0 (first position of accelBuffer - i.e. accelBuffer(0)).
The program continues operating in this manner.
--------------------------------------------------------------
My question is whether there are more efficient ways of handling this SD Card saving -- i.e. being able to put the PSoC into low-power mode when nothing is going on (i.e. no interrupts generated by the accelerometer and no SD Card saving taking place). The current technique is constantly evaluating if the bufferIndex == BUFFER_SIZE in the main loop.
I am not sure how I can restructure this code so that:
(1) PSoC enters low-power mode when SD Card saving is not taking place. When an interrupt occurs, PSoC wakes up and services the interrupts (i.e. retrieving accelerometer data and saving to the buffer) and enter low-power mode again.
(2) When the buffer size is full, the PSoC 'wakes' up and saves the buffer contents to the SD Card, then enters low-power mode again.
The only way I imagine doing this is checking to see if the buffer is full (i.e. if(bufferIndex == BUFFER_SIZE) ...) within the mentioned ISR immediately after the new accelerometer data has been saved to the buffer. If indeed the buffer is full (i.e. bufferIndex == BUFFER_SIZE), I think I can software trigger another interrupt which saves the buffer contents to the SD Card. At all other times, PSoC will be in low-power mode. However, what I have heard is not to do this type of thing (SD card saving) within ISRs as they are meant for short pieces of code.
So, how best can I optimize the application and make use of PSoC's low-power mode capability?
Any advice, suggestions, recommendations will be highly appreciated! Thank you in advance!