PSoC™ 5, 3 & 1 Forum Discussions
Hello All,
We are using CY8C24423A controller PDIP package and trying to program hex file. I am not able to program it and getting error.
What is part should select for PDIP package, as I am not able to get exact part no - CY8C24423A-24PXI in programming tool ?
Show Less
Imagine I had some very simple code, like:
int main(void)
{
CyGlobalIntEnable;
for(;;)
{
LED_Write(1);
LED_Write(0);
}
}
Is there anything external I could do to the PSoC to make that code hang? Could I make the chip fail some way where it stopped executing code, and just hung?
What if I heated the chip, or injected glitches into any of the power lines? What if I briefly disconnected one or more of the GND pins?
If I wanted to deliberately cause the CPU to jump to CyHalt or CY_ISR(IntDefaultHandler) , what external thing could I do to the chip?
(I know that I can crash the code by calling a null function pointer for example. I am not looking for software ways to make the chip crash. I am looking for hardware actions that make the chip fail).
Show Less
I recently asked about a readily available alternative for the CY8C5888LTI-LP097-68-QFN
The answer I received was regarding alternatives for the CYC5288LTI-P090, which is quite different.
The CY85888LTI-LP097-68-QFN is active status but almost impossible to find. I'm looking for recommendations for alternatives to the CY85888LTI-LP097-68-QFN that can be purchased on a reliable basis.
Thanks,
Show LessIt seems to me that my timer interrupt does not work correctly. Problem is that counter inside interrupt function increments only once. Here is my code from main and timer settings.
#include <m8c.h>
#include "PSoCAPI.h"
#include <stdio.h>
#include <stdlib.h>
char theStr[] = "PSoC LCD";
static char tmp[3];
static int counter = 0;
void main(void){
LCD_Start();
LCD_Position(0,5);
LCD_PrString(theStr);
M8C_EnableGInt;
Timer8_EnableInt();
Timer8_Start();
while (1);
}
#pragma interrupt_handler myTimerInt
void myTimerInt(void){
counter ++;
LCD_Position(1,0);
itoa(tmp, counter, 10);
LCD_PrString(tmp);
}
Show Less
Due to the supply problem of chips on the market, we could not get the CY8C5488LTI-LP093 chips which are on the original design, but found, bought and used the CY8C5468LTI-037 (I can't find the Peripheral set spec for 037 on the datasheet so have no idea what it means). The boards with the new chips cannot be programmed by the MiniProg3 with the message "This device was recognized but does not support using it at this time". The original circuit did not have the 10K pull up to 3.3v for /XRES but I had add the 10K resistor but still having the same problem.
I believe the old and the new chips are pin-compatible, but the new chip runs at 67Mhz max vs 80Mhz for the original chip. These boards are from the newly made patch, and I have tested 2 boards with same problem.
I really hope someone here can help point me to the cause of the problem.
Thanks you,
Brian
I'm attaching the schematic
Show LessHi,
i'm working on an old project developed for PSoC1 device [CY8C21234] which configures and scans 4 touch buttons with the use of the active shield.
To enable the shield, in this project, the "RDI0LT1" register is written, at the beginning, with the value of "0x33". Which is the value to write to disable the "active shield" and to use the ground as reference for the touch button? I've not found docs where this register is described.
P.S.: I'd like to disable the shield as reference for the button in the software because i'm trying to use a new keyboard without the shield.
Many thanks and regards
Andrea
Show LessI was trying to debug why my MiniProg3 not recognize by my Windows 10 pc and want to see this article:
http://www.cypress.com/?id=4&rID=45812
But the link breaks up with anything cypress.com after Infineon took over, I think. How to work around this?
Brian
Show LessHello,
I am developing an application that measures an unknown resistance on the PSoC 5lp Cy8CKIT-059. The problem I am encountering is accuracy. The requirement needed for this application is to measure a resistance within 0-100 Ohms and have it be within an Ohm of error. for example, if the unknown resistance is 70 Ohms and the readings are 69 Ohms or 71 Ohms then it is considered an inaccurate reading for my application.
the method I have implemented is a 4 wire Kelvin connection using an IDAC for the known current source and an ADC Delsig for measuring the voltage across the unknown resistor.
The results I am getting is still about 1.5 to 2 Ohms off from the desired resistance (77 ohms when it should be 75). I have configured the ADC to the high resolution low speed configuration and have the IDAC to the max current of 2.04 mA. I have also implemented an averaging function in the firmware to filter the ADC counts. I have attached my project for more details on the configuration and firmware.
Any help/advice in order to achieve the desired accuracy would be greatly appreciated!
Show Less
Downloaded PSOC DESIGNERsetup1-software-v01.00.
During install cyinstaller opens for installing Designer 5.1 and tries to connect to the internet and fails with "An error occurred while trying to download package information"
The PC I use has EDGE and also has the IE.app.
I don't know if cyinstaller is getting on the internet or is going to a non-working Cypress page ?
I do have PSOC Creator loaded and working and getting updates. I wanted to use Psoc Designer again since I still have PSoc1 hardware (Cy3209 and Cy3210)
Show LessHi,
We are using PSoC 5LP and for its ADC SAR component, there is a bypass pin that need to be assigned. What is the power on reset state of this pin? What is the pin's state after PSoC bootup? Seems there is no such things like Drive mode and Initial value for this pin.
Regards,
Yan
Show Less