PSoC™ 4 Forum Discussions
If I need to debug CYBT-343026-01, which pad should I use?
The HCI UART will be connected to the MCU.
Is it possible to debug CYBT-343026-01 using PUART?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/How-to-debug-CYBT-343026-01/td-p/682368
Show LessHi Infineon.
Device is CY8C4045AZI-S413.
I think that it is OK to leave PSoC4 unused pins floating.
However, is there any possibility that changing this floating connection process to GND connection will contribute to lower power consumption?
Or does the current consumption remain the same even if leaving unused pins floating or connect them to GND?
Best Regards.
YuMa
Show LessHi all,
experimenting with my PSoC 4100s plus prototyping kit I built and programmed
- CE229521_PSoC4_CapSense_CSD_Slider_Tuning
launched the CapSense Tuner Application and could connect without problems.
Output from Bridge Control:
Opening Port
Successfully Connected to KitProg3 (Bridge/0418078800121400)
KitProg3 Bridge. Firmware Version 2.40.1241. Hardware Id 03.
Devices list: 8bit 7bit
address: 10 08
After separating the KitProg from the PSoC and reconnecting it point-to-point with wires (~1in) Tuner Application won't connect to the PsoC any more via I2C (Error message: "CapSense_P4_v5_0 Tuner: There was an error reading data from the device.")
Output from Bridge Control:
Opening Port
Successfully Connected to KitProg3 (Bridge/0717078800121400)
KitProg3 Bridge. Firmware Version 2.40.1241. Hardware Id 03.
No devices found
What have I missed?
Thanks in advance. Best regards
-joe
Show Less
Hi, Community,
Just a quick question, what is the standard name for the so-called "PG-VQFN-24(Infineon Package name)" in Automotive psoc 4000S?
I would like to know the correct information since the drawing is different from that of PSoC 4000.
I attached two figures, one is PSoC4000S and the other is PSoC4000.
Their difference is whether there is a vertical line in the side view or not.
Regarding to PSoC4000S :
Regarding to PSoC4000:
Best Regards,
Chihiro Tatebayashi / NEXTY
I use cy8c4245AXI-483.
I have set up ADC SAR with 5 channels. 5 prototype boards have been assembled industrially.
I read the channels one by one. Among other things, a voltage between (-5V) and (0V) should be read out (channel 1). An inverter has been used directly on chip (see picture). The pins are connected accordingly.
Furthermore, a resistance setting (0-5V; channel 2) must be read out.
2 boards work as they should. 1 board returns wrong value from channel 2 (resistance). 2 boards deliver non-existent dips from e.g. 3V to 0V. And just after changing input voltage from 0V to -3V.
That is very critical for this control system.
I am now sure that it is somehow due to chip configuration or programming. Because I replaced a chip manually (another pin broke off during the test). It worked properly before. After the MC exchange, I noticed wrong values effect with the new chip.
I've already looked through all the chats and examples, but unfortunately couldn't find anything that can help me.
Can someone help me or give me a tip what could be wrong?
A snippet of the source code here where I read the values.
void adc_read_sw(struct swdata *ptrData)
{
int16 adc_value_0 = 0u; // ADC-CHANNEL 0 PIN 2[7]
int16 adc_value_1 = 0u; // ADC-CHANNEL 1 PIN 2[6]
int16 adc_value_2 = 0u; // ADC-CHANNEL 2 PIN 2[5]
int16 adc_value_3 = 0u; // ADC-CHANNEL 3 PIN 2[4]
....
//----------------------PT1 PIN 2[7]----------------------------------------------
// ADC-CHANNEL 0 read
ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_0 = ADC_READ_GetResult16(0);
adc_value_0 = ADC_READ_CountsTo_mVolts(0, adc_value_0);
ptrData->p_adc_value_channel_0 = adc_value_0; // pass value
}
// ADC_READ_StopConvert();
CyDelayUs(50);
//--------------------------------------------------------------------
//---------------------- - 5V IN PIN 2[6]----------------------------------------------
//ADC-CHANNEL 1 read
// ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_1 = ADC_READ_GetResult16(1);
adc_value_1 = ADC_READ_CountsTo_mVolts(1, adc_value_1);
}
ptrData->p_adc_value_channel_1 = adc_value_1; // pass value
// ADC_READ_StopConvert();
CyDelayUs(50);
//--------------------------------------------------------------------
//---------------------- R PIN 2[5]----------------------------------------------
// ADC-CHANNEL 2 read
ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_2 = ADC_READ_GetResult16(2);
adc_value_2 = ADC_READ_CountsTo_mVolts(2, adc_value_2);
}
ptrData->p_adc_value_channel_2 = adc_value_2; // pass value
// ADC_READ_StopConvert();
CyDelayUs(50);
....... etc .....
ADC_READ_StopConvert();
}
Show Less
Dear Sirs and Madams,
We are evaluating the proximity sensor of PSoC4S MAX.
I have an additional question regarding the thread below that I consulted.
(1)
Regarding the CIC2 filter, when I set the parameters using the information you provided and started the Tuner, the raw data was not displayed correctly.
After adjusting the parameters and reducing the number of samples to 2, the raw data is now displayed as shown in the image below.
(2)
Assuming that the evaluation environment has a strong ground plane nearby, we connected copper foil tape to GND as shown below.
When we conducted an evaluation by disabling the CIC2 filter and setting other parameters to those suggested by Infineon, we obtained the following results.
frequency divider |
48 |
64 |
Use SmartSense |
Parameter |
|
|
|
Waveform |
|
|
|
SN |
SN=0.23(S:14 N:64) |
SN=0.05(S:5 N:110) |
SN=4.88(S:98 N:20) |
SNR is when the distance between the sensor and the conductor is 15cm.
The evaluation results showed that using the frequency divider parameters recommended by you resulted in a dull waveform and an inability to secure S/N.
We would like to secure a detection distance of 15cm and a sufficient SNR, and would appreciate any feedback regarding this evaluation result.
Am I correct in my understanding that it is difficult to achieve this even with CapSense GEN5 in PSoC4S MAX if there is a strong ground plane near the sensor?
Regards,
Show LessIn debug mode, serial communication can run normally. But in release mode, it seems that serial communication can't run, I can't receive anything from uart.
Show LessDear supporter,
I would like to translate the following KBA. Could you confirm?
Best regards,
JUTA_2823561