PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
dear sir
There are many items for the customer psoc4 to debug the sensitivity of touch keys. Using manual debugging options, the process is very troublesome. Is there a debugging method similar to 21234, only adjusting the peripheral resistance, so that the customer can debug himself.Or is there a simpler way to reduce work steps.
Thanks.
Show LessI am using a PSOC 4100S Pioneer kit and i want to implement a slider example on it. I have successfully build the CE210289 capsense P4 Linear slider code and programmed it into the device (i have selected the right device) but when i am launching the capacitance tuner gui i am not able to connect and rea the data from the device. One of the messages i am getting is KitProg2 version Expecting 1.05, but found 1.02. Please use PSoC Programmer GUI to upgrade firmware. Will it affect the connection if yes please let me know how to solve it
Show LessHi i am using PSOC 4100S PIONEER KIT to implement and test a linear slider example. Please let me know if you know of any example that is developed for this particular kit. At present i am programming the device with linear slider example developed for 042 kit and i am changing the device from device selector in projects menu to my device i.e cy8c4146azis433 still it is not working. Please tell if i am doing any mistake.
Show LessI am planning to design Multi Channel Audio Mixer + Summing unit which will take audio tracks/signals from different sources/instruments and mix/sum/block some or all the signals to outputs with PSoC Amux (into 2 Channel mixed audio outputs)
I would appreciate if someone can share some additional electrical characteristics of Amux, what I am looking for is not available on this datasheet
https://www.cypress.com/file/127201/download
It says only this :
DC and AC Electrical Characteristics The AMux operates at all valid supply voltages.
Here are my queries -
1. How much current can Amux paths carry ?
2. Can Amux route isolated signals ? ( signal sharing no common ground with PSoC Chip, kind of like EM relay )
3. What is the trace resistance from input to output through Amux ?
4. Does Amux switching cause audio level noise ?
5. What is the Parasitic Capacitance of Amux circuits ? (to avoid unwanted RC filters)
6. Can Amux carry AC audio signal below PSoC Vss Voltage (Gnd) ?
I have been trying this with two different audio sources (laptop and phone) playing two songs
It somewhat worked with few issues as follows :
1. Signal bleeding/cross-talk from some of the channels
2. Signal Attenuation/Loss of gain
Otherwise, the audio mixing and blocking did worked
Analog pins are set as Strong Drive
Amux is set with Maximum Isolation
Opamp is set for High BW/Power, Medium Cap Compensation
SW is an Input switch for enabling/disabling one or all input audio lines
LED blinks to indicate input combinations
#include <project.h>
int main()
{
AMux_Init();
Pre_Amp_Init();
CyDelay(200);
for(;;)
{
while(SW_Read()){LED_Write(1);}
AMux_DisconnectAll();
while(!SW_Read())
{LED_Write(1); CyDelay(50);LED_Write(0);CyDelay(50);}
if(SW_Read()==0)
{
for(int j=0;j<2;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_Disconnect(1);AMux_Connect(0);
}
while(SW_Read()){LED_Write(1);}
if(SW_Read()==0)
{
for(int j=0;j<4;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_Disconnect(0);AMux_Connect(1);
}
while(SW_Read()){LED_Write(1);}
if(SW_Read()==0)
{
for(int j=0;j<6;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_Connect(0);AMux_Connect(1);
}
while(SW_Read()){LED_Write(1);}
if(SW_Read()==0)
{
for(int j=0;j<10;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_Connect(2);AMux_Disconnect(1);AMux_Disconnect(3);
}
while(SW_Read()){LED_Write(1);}
if(SW_Read()==0)
{
for(int j=0;j<12;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_Connect(3);AMux_Disconnect(0);AMux_Disconnect(2);
}
while(SW_Read()){LED_Write(1);}
if(!SW_Read())
{
for(int j=0;j<8;j++)
{
LED_Write(1); CyDelay(200);LED_Write(0);CyDelay(200);
}
AMux_DisconnectAll();
}
while(SW_Read()){LED_Write(1);}
}
}
Message was edited by: ShHo PSoC Sch added and some of the experimental finding are listed.
Show LessI would prefer to integrate with lithium ion battery. Is there some application note around this kind of integration?
I am currently evaluating MCP73171 from microchip to power lithium ion battery. Needs to be lithium ion so as to demonstrate some specific IOT projects we are working on. In PSOC 4 documentation there is reference to coin cell (LiPO4) but I cannot use this approach. There is also reference to not operating PSOC4 using 5V. So I am curious if LIthium Ion is compatible (can range between 3.3V and 5V). I did find this Lithium Ion battery but not sure if it is compatible with MCP yet (waiting to hear from microchip.
- http://ww1.microchip.com/downloads/en/DeviceDoc/MCP73871-Data-Sheet-20002090E.pdf
- https://www.mouser.com/ProductDetail/TinyCircuits/ASR00035?qs=sGAEpiMZZMuXcNZ31nzYhRfWkipPMnn048o78HUJZXY%3D
So basic questions:
- Is there application note i can reference for PSOC4 rechargeable battery integration
- Is Lithium Ion Battery compatible with PSOC4
- Is there recommended maximum voltage for PSOC4 battery
- Is there recommended recharging chip for Lithium Ion battery for PSOC4.
Appreciate any answers to any of these questions.
Thanks
Show Less我在使用贵司芯片CY8C4125AZI-483
在使用LIN通信和EzIIC的时候,我的引脚配置如图所示,但是在编译的时候显示引脚冲突,这是什么原因造成的呢?应该如何解决?
另外,我在使用ADC和capsense的时候也遇到过类似的问题,如下图所示,最后不得不调整PCB借口解决。麻烦能够解释一下原因,在设计初始阶段应该注意什么?如何避免类似的问题发生呢?
Show Less
Hi,
New board featured PSOC4 and LoRa module available
$10 HelTec CubeCell LoRa Board Features Cypress PSoC 4 MCU
Show Less
Hello, I am using the PSoc4 CY8C4244PVI-442 device and looking over the large datasheet for power consumption and need some help. I have chosen to power the device only on a 5V input. Can anyone give me some guidance on power supply current consumption?
Thank you,
Joe
Show LessI am not getting good die temperature measurements.
I have the voltage reference set to vda/2 and as a negative reference. This gives me a 12 bit voltage range from vda of ground. The values being 2048 to -2048.
Can the die temperature measurement be used in such a configuration?
If so, then is the following equation to correct for voltage references that are not 1024 is to multiply the a/d counts by vref/1.024v?
Also what is vref. Is it vda or vda/2.
Thanks
Glenn
Show LessHello,
I am entirely new to programming in any language and have purchased a CY8CKIT-042 Pioneer Kit. I have went through PSoC 101 lessons 1-9.
I have some questions from each lesson that may seem trivial but please humour me.
Lesson 1- Question 1
Parallel programming, after the lesson was finished Alan said you should try something new, for me I flashed different LED's, red then green, then blue. I had the idea to make this sequence.
Each LED would be flashing on off at a different rate, using the firmware, to do this I would need parallel programming where it would, execute all programs at the same time. I am pretty sure this is possible but cannot find anywhere that shows how it is done. Could you please assist?
Show Less