PSoC™ 4 Forum Discussions
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
Dear Sirs and Madams,
We are developing PSoC4S with ModusToolbox.
That device number and IDE version used are as follows :
PSoC4S : CY8C4126AXI-S445
ModusToolbox : Version 3.1.0
Device Configulator : Version 4.10
We set the ECO settings of the device configurator as shown in the image below, and when we save, an error appears.
Frequency : 24.000 MHz
Accuracy : +/- 50 ppm
Drive Level : 20 uW
Equivalent Series Resistance : 60 Ohm
Parallel Load Capacitance : 11 pF
When I tried it here, I found that changing the DL value from 20uW to 21uW could avoid the error.
Frequency : 24.000 MHz
Accuracy : +/- 50 ppm
Drive Level : 20 uW => 21 uW
Equivalent Series Resistance : 60 Ohm
Parallel Load Capacitance : 11 pF
I think 20 uW is within the usable range according to the TRM calculation formula, but do you know why the error occurs?
Frequency : 24.000 MHz
Drive Level : 20 uW
Equivalent Series Resistance : 60 Ohm
Parallel Load Capacitance : 11 pF
Vpp = 0.49V is calculated from the formula listed in Architecture TRM.
When changing DL from 20uW to 21uW, Vpp = 0.50V.
This issue can be reproduced not only with ModusToolbox, but also with PSoC Creator 4.4.
The descriptions of Architecture TRM and Register TRM are not consistent with the IDE.
Regards,
Show LessHi, I want to create a basic project for CY8CKIT-041S-MAX PSOC 4100S MAX PIONEER BOARD of changing the LED intensity using PWM to give it a breathing effect. I want to use the PDL library for this instead of HAL library. Can someone share a basic project that does this. I am very new to this board and ModusToolbox.
Show Less