PSoC™ 5, 3 & 1 Forum Discussions
The result of PGA amplifier (internal) was much more than gain setting when input voltage was small.
Is there any problem with my kit or something wrong?
Show LessAfter few years of programming psoc1 I've downloaded ver.3.19 and latest PD
After regenerating the code, i'm not able to programm the chip.
Below is an error:
Verification of "Protect Area" is FAILED!
I've never seen this message before
What may happened?
Bob
Hello..
Can any one tell me configuration of gpio ports.I am using CY7C63456 controller.In parameters window they had given some predefined states like PULL UP,STRONG,OPEN DRAIN LOW,HIGH ANALOG.
What does it mean and which to use when..?
Show LessHi all,
I'm new to the world of PSoC and would like to use the PSoC5 as a system monitor for a complex motherboard. It needs to monitor a lot of variables (such as voltage, current and temperature) and if something goes wrong, then store them somehow so it can be read back by a PC.
My idea is to create a file and store it on the internal flash on the PSoC whenever an error occurs, but the part I'm going to have trouble with is the file system and interfacing to the PC.
Do you think that it is possible to use the emFILE component to format a section of the internal flash / deal with the file I/O, and set up a USB component to mount this as mass storage? I'm sure this will involve an amount of bodging, but I'm not sure if it is even technically possible.
Thoughts?
Thanks,
Tom
Show LessHi,
I'm trying to upgrade the firmware of the PSoC™ Automotive Multi-Touch CY8CTMA140 without using the SOC programmer but through I2C interface. I have got the firmware files "ZXXL7C.hex" and "CT5138V01.hex" (each of 70.8Kb size) from Truly vendor.
Following are the issues when I try to upgrade the Firmware,
Reading the Firmware version:
1. I’m following the below mentioned sequence
W 24 00 00 FF A5 00 01 02 03 04 05 06 07
W 24 11
Then when I read, I got 0x85 0x00 as firmware version, after programming the new firmware ("ZXXL7C.hex" and "CT5138V01.hex" ) I’m getting same firmware version.
Updating the firmware with “CT5138V01.hex” / “ZXXL7C.hex”
1. I’m following the below mentioned sequence
W 24 01
Read back BL_STATUS bit4 – Not set, Retry for 10times with delay of 30ms
W 24 00 00 FF A5 00 01 02 03 04 05 06 07 – Flash command initiate record – Passed
Check_record
Prepare_record
Flash_record
Note: During Flash record I2C write passed only when we set the I2C speed in 100khz and it fails when we set the speed as 400khz
After flashing when I test the multi touch the second PSoC™ Automotive multitouch coordinate comes in junk values (Eg: x – 1900 y – 1000) also this values is not consistent. Is this “CT5138V01.hex” / “ZXXL7C.hex” the correct firmware that I have programmed in the device?
2. After Programmed the new firmware, restart the device, PCT went back to old state Second touch coordinate always remains (x – 0x00 y – 0x00) and no junk values. Is it need to program the new firmware each time after booting or it is one time programmable?
Show Less
Hello
I have some doubts about how use the smp pin, for example how calculate the components used to create the boost and if is posibble use the voltage generated to feed the rest of the circuitry and components.
Thanks
I noticed in the starter kit's user guide that the FTPC firmware would be available in future projects, has that happened yet?
Here's the paragraph:
"There are no other active components inside of the FTPC bridge. All of these interfaces run on a single
PSoC device. Future projects for the FirstTouch kit allow you to modify the FTPC firmware and
try some USB Interface designs of your own."
Thanks.
Show LessDid peak detector on the component subject. We must remember the amplitude of the square pulse duration > 10us.
The component has configured as follows.
- "Sample & Hold"
- "Internal"
- "Falling edge"
Synchronized pulse from the Pulse Converter component, 2us, who was started by digital sygnal under investigation immediately.
On output of Sample & Hold I was see clear 0!
P.S. In main.c component was started, not forgot to do this...
Hello...
I am new to this cyppress controllers,I have just started to working on CY7C6435648LTXC controller.I was doing ADC LCD coding.
Here my problem is I am getting the ADC output,that again i am converting to voltage and displayiingbon LCD.That output voltage if i am measureing with the multimeter that is not matching with the output voltage of ADC.
I am using external voltage divider circuit (potentiometer).
Can any one help me to sort out this.
And this is my code.
-=======================================================================================
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
#include "stdlib.h"
void main(void)
{
int val = 0, flag = 0;
float Scaling_factor,voltage;
//int Result;
char *Result;
int status;
LCD_Start(); //Initializing LCD
flag = (PRT0DR & 0x01);
MUX_CR1 = flag; //Connecting Output of ADC to P0.0
ADCINC_Start(ADCINC_INPUT_ANALOG_BUS);//Start conversion
LCD_Position(0,0);
LCD_PrCString("ADC_OUTPUT = ");
LCD_PrHexInt(flag);
LCD_Position(1,0);
LCD_PrCString("ADC_Vin=");
while(1)
{
//val = ADCINC_GetSample(); //get the ADC value
//while(ADCINC_fIsDataAvailable())
{
val = ADCINC_GetSample();
LCD_Position(0,12);
LCD_PrHexInt(val);
voltage= (val /(float)1023);
voltage *= (3.3);
//voltage = (val * Scaling_factor);
Result = ftoa(voltage , &status);
LCD_Position(1,8);
LCD_PrString(Result);
//LCD_PrCString("v");
}
}
}
Starting MAKE...
creating project.mk
name translation failed on C:/Program\ Files\ (x86)/Cypress/PSOCDE~1/5.4/Common/CY110F~1 - 3
name translation failed on C:\Program - 2
name translation failed on Files - 2
name translation failed on (x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\include\CY8C29~1 - 3
CAUTION there are no library files
extra file name "-D_M8C" encountered
!E: cannot open output file "(x86)\Cypress\PSOCDE~1\5.4\Common\CY110F~1\tools\icppw.exe"
!E: cannot load source file "Files"; file not found
make: *** [obj/main.o] Error 1
Show Less