PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Please answer below.
The same question is written in English and Japanese.
・English
Is this correct?
"SID185 vRISEIPOR" is the reset release voltage.
"SID186 vFALLIPOR" is the voltage to reset.
・Japanese(日本語)
以下、正しいでしょうか?
「SID185 vRISEIPOR」は、リセット解除の電圧。
「SID186 vFALLIPOR」は、リセット状態にする電圧。
Regards,
Show LessHello,
my simple DCC decoder project gives a
"Warning-1367: Hold time violation found in a path from clock ( Clock_1(FFB) ) to clock ( \Bit_Timer:cy_m0s8_tcpwm_1\/tr_compare_match )."
which I don't understand.
My project:
The top DFF samples 80usec after a rising edge the DCC line
and the DFF below generates the according clock.
Its clk is fed by the negative cc signal, to be shure,
that DCC_Data is stable.
After 100usec, DCC_Clk is brought to LOW.
Static Timing Analysis in attachment.
Show Less
Even though most of you may be relatively familiar with the various types of mechanical controls, the same does not necessarily apply for capacitive ones. So, let’s start off by defining the most basic elements of capacitive sensing.
Capacitive buttons are the simplest touch - enabled controls out there. Buttons simply alternate between ON/OFF states when touched.
Capacitive sliders consist of groups of buttons, usually more than three. Sliders use buttons to report linear touch position.
Capacitive wheels are also groups of more than three buttons. Wheels use buttons to report angular touch position. Wheels can also be referred to as rotaries.
Capacitive controls can detect touches even if they housed under materials that cover them. Do you want an all-aluminum body for your device? No problem, you can just use capacitive controls and house them underneath it!
In fact, with proper design and capacitive touch sensor controller tuning, capacitive controls can work under a wide variety of cover materials (also called overlays) of various thicknesses.
But it’s not just the freedom regarding overlays that you can gain from using capacitive controls. You can also experiment with curved or bent designs, as capacitive sensing has evolved enough to be able to withstand bending!
In this use case, we will optimize a touch remote light switch. Traditionally, such a device would feature mechanical components. However, we'll show you how easy it is to design a capacitive- based device, if you have the proper tools.
To refine the design, we’ll use a combination of simulation and guidelines.
We proceed to draw the initial design of the model, which you can see above. This rough design has the following specs:
- Buttons with sharp edges and 2mm clearance
- 2 layer pcb with cover glass (50x70mm)
- No traces, as we’ll add them later
You can learn more and get our free technical guide here.
Show LessI designed a loop powered transmitter with XTR116, I made this application with Cy8C4025azi-S413. I used PWM block to generate DC for XTR116, but the PSOC does not work properly on supply provided by XTR116, Almost 24mA current PSOC draws which XTR unable to supply. The system clock I reduced to 6MHz. PWM clock is 12mhz.
I expect the PSOC must work on low power at 5mA in active mode
Show LessHi,
I use the capture function firstly. i don't know how to use it .
if i want to read the capture value , Does it must read it in ISR ? or read it in main loop?
Thank you !
Show LessHello everyone, i was try to do this cicuit:
My leave the circuit this way in PSOC 4:
and i'll try to build and appear a lot of the errors. Help me!
If you wanna see the paper that i take this circuit, i'll put together with the program.
Show LessHi, I'm working on a project with CY8CKIT-042-BLE and CYBLE-022001-PROG.
I did my project many times, but recently the module does not recognise the chip in side the prog.
I tried to figure the problem but I could not find any good solution for me.
One thing strange is that the chip's operating voltage is 3.3V, so I connect the system power jumper of the baseboard to 3.3V.
(I also checked the XRES pin and check it works well.)
But when I connect the module and measure the voltage output of the module with the test pin, it comes out about 1.67V.
And the PSoC Creator 4.2 does not recognise the chip.
So I change the jumper to supply 5V, and the test pin becomes about 2.2V.
Then PSoC Creator 4.2 recognize the chip, but it failed to program the chip with the Error message like
100 - FAILED! EraseAll operation failed
Is there anyone knows what the problem is? And also is the VDD pin value right??
Thank you.
Show LessHello everyone, i'm trying to run this program, i don't know why, but i can't see none number in relation the temperature sensor. Someone help me!!!
Look at the image:
I'm trying to do this exercise:
The KIT GROVE temperature sensor is a thermistor (LM358 - a semiconductor
temperature sensitive) that can be used to measure temperature. The range of
The operation of the LM358 is -40 - 125 ° C with a sensitivity of ± 1.5 ° C.
Read the signal provided by the thermistor using an ADC and use the code below to map the
value in degrees Celsius. Send the result by serial
int an_read;
int VREFplus = 4095; // Voltage value VREF + => 2 ^ n - 1
float temperature;
int B = 3975; // constant B for resistance
// do the Analog Reading here and put the result in an_read
// get the resistance of the sensor
resistance = (float) (VREFplus-an_read) * 10000 / an_read;
// convert to temperature via datasheet
temperature = 1 / (log (resistance / 10000) /B+1/298.15) -273.15;
In the above code, "an_read" is the value read from the ADC and B is a constant obtained from the datasheet of
sensor.
Show Lesswhen i read the AN85951 application note, this below question confuse me, for some use?when we use the capsense in FPC for smarthome device and the size is too small ,how can i refer the rules;
1、Hole size :The recommended value is 10mil, but on the FPC it can't design 10mil, so what should customer choose , and 10mil is for external diameter of hole size
and what about the internal diameter?
2、Liquid Tolerance with shield rules is : When the space of is not enough , how should we use , if the ensor and the shield electrode is 1 mm is necessary?
if this below rules is ok ??
ATwo-Layer PCB:
>Top layer: Hatch fill with 7-mil trace and 45-mil grid (25 percent fill). Hatch fill should be connected to the driven-shield signal.
>Bottom layer: Hatch fill with 7-mil trace and 70-mil grid (17 percent fill). Hatch fill should be connected to the driven shield signal
>The recommended air gap between the sensor and the shield electrode is 1 mm
3、if use inactive sensor connection to shield , how to Liquid Tolerance ?
4、For the power , how we use line width?
5、Sensor trace to sensor trace width , sensor trace to signal , sensor to power, signal to signal, if the sapce is not enough, should the 0.25mm is the necessray??if not what the recommended value? tks;
Show Less