PSoC™ 4 Forum Discussions
Please answer below.
The same question is written in English and Japanese.
・English
When the Slew rate is set to "slow" or "fast",
is it correct that the rise time specification are as follows?
・Japanese(日本語)
Slew rateが"slow"・"fast"設定の場合のそれぞれの
立ち上がり傾き規格は以下で間違いないでしょうか?
Regard,
Show LessWe are using the CYBLE-214015-01 microcontroller, in one of its pins we configure it as "High Impediance" or "Open Drain" and connect it to an LED, the power of the microcontroller is 2.5V, and for the LED it is 5V Then according to the configuration that we have adjusted when a 1 or 0 is sent to the pin output, it should be floating, that is, the LED should be completely off or on depending on the configured mode, but it happens that when we want to turn off the LED (with any of the settings), it remains illuminated. Could someone explain to me why this happens?
And how to fix it?
We already know that there will be two protection diodes in each GPIO that connect to VDDIO and connect to ground. But we believe that this is not the problem, if not you could not say Open Drain or High Impediance.
Show LessHi everyone
I am using the PSoc 4 pioneer kit CY8CKIT-042 to read from ADC.
I need to get the exact time of each acquisition in useconds.
can anyone give me a hint??
Thank you
Show LessI have tried two programs i have ran previously on a 4000S part number CY8C4024LQI-S402 and then i switched to CY8C4025LQI-S412. I can program it fine and even set intial state of pins properly but my main routine does not seem to run. I did notice that the parts I received from Digi-key are labeled on the actual part CY8C4025LQI-S411, .... Is this possible cause of my issue? I did notice on the community someone else possibly having a similar issue.
Scott
Show LessHello together,
do you know a way, how i can Set my Temperature Sensor more accurate? I get changes in 1°C steps. Is it possible with an 12-bit ADC to make it more accurate?
Thanks
Show LessDear Cypress:
we choose CYBLE212020-01 for BLE passthorough , we just need the transmission the command with BLE, But we find CYBLE212020-01 is not the best module
for this application, and we can't fing AT command, file of BLE,Please help to advice it.
Show LessHi
I made a repeatability test on cypress CY8CKIT-040 KIT with cap-sense version 6.0.
In repeatability test what i found is the raw-count vary from one test to other test when there is nothing to sense at fixed ambient conditions and i have a PCB with copper trace connected to the cypress.
Can please help me with why the raw count vary for same test when we repeat it?
Does parameters I fixed in cypress make this happen?
I expected to have same raw count at beginning when there is nothing to sense if i repeat test.
I have attached a word file that it would be clear about my question.
Show LessHello.
I measured RawCount, IDAC and CP at each resolution setting by using CY8CKIT-145-40XX.
Attached excel file is test result and attached zip file is test FW.
Please confirm and answer below questions.
Q1)
I calculated Cs value by using equation 3-6 of capsense design guide(001-85951).
Cp value(resolution is 12 to 16bit) became about 3pF.
Cp value(resolution is 7 to 11bit) became about 12pF.
Please confirm “Used Equ” cell of excel file.
“Used API” cell value is Cp value acquired by using API(CapSense_GetSensorCapacitance ).
This value is 12 pF in resolution range from 6bit to 12bit.
Why does Cp value change significantly when resolution is 12bit? (12pF => 3pF)
And why does modulator IDAC change significantly when resolution is 12bit? (25 => 6)
Which value is correct? 3pF? 12pF?
Q2)
When resolution is made smaller, RawCount tends to saturate.
In this case, RawCount is saturated when resolution is 6bit.(RawCount is 52).
Why does RawCount saturate if resolution setting is low(for example, resolution is 6bit)?
Modulation IDAC at 7bit is 23.
IDAC can still be increased since max modulation IDAC value is 250.
Nevertheless, RawCount is saturated at 6bit.
And IDAC was largely changed from 23 to 1.
Why is RawCount saturated at 6bit?
Why is IDAC changed significantly at from 7bit to 6bit?
Could you please let us know mechanism and theory that RawCount became saturation?
Best Regards.
Yutaka Matsubara
Show LessI have been trying to use the Thermistor Calculator Component on a 4000S Device. In Creator for this 4000S device(CY8C4025LQI-S412) i am using, this thermistor component is not available. So I complied and tested this component (in LUT mode) on my CY8KIT-043 which has a 4000M device, and it works great. For the Calculator the datasheet says generates the temperature based on feeding it the thermistor resistance which needs to be calculated prior to calling the function. I believe I have a handle on getting the resistance calculated properly using the ADC_CSD in the 4000S device. Using the code from the CY8Kit-043 I copied the component thermistor code to my 4000S project, but my issue is i can not get it to compile properly. I keep getting compiler errors that are related to the component functions calls. I am not real familiar with the proper application of copying the .h and .c files to make this work properly. Could i get some help in looking over my code to see why i keep getting build errors related to undefined reference for the functions of this component so it can be used properly.
FYI: Note i was able to get the thermistor reading using straight math functions but it takes up way to much memory for my small device. I need to use the lower memory approach of a look up table (LUT) used in the Thermistor Calculator Component.
Thanks
Scott
Show LessHi there,
I'm new with Cypress CPUs. And at the moment I'm very confused since I try to figure out
how I can clear/reset the WatchDog.
I want use it with it's main function: to reset the system if something "hangs"
Therefor I must clear the watchdog counter at special points in my code
Ii tis easy to configure it and the watchdog works fine. It resets the system at the determined time.
But I cannot figure out how I can clear the wdt.
I tried to use "CySysWdtResetCounters(CY_SYS_WDT_COUNTER0);" but this function is not declared.
So what function or way can I use to clear the WDT counter?
Marcus
Show Less