I have a cy8ckit-059 and I would like to power it using a 3.7V battery previously used in a drone. I would like to have a button that turns the system on and off from the battery and also I would like the battery to be charged when the board is connected through the USB port. As I'm really a newbie to this world can you please guide to how can I make it work if it is at all possible?
The battery has all the required protections built in so if I connect it to a 5V 1A source (regular USB charger or PC) it can be charged without any trouble.
Thanks ahead for your help!Show Less
I am using CY8C4124LQA-S433 IC and I did a project which has following specification:
When I press the button related led on. Then when I press one again, related led turn off. So far everything is fine. I did this.
But the problem begins with : "I do not want that Led toggle to on or off when I falsely touch a button."
However I could not achive this. I tried everyting. I rised threshold values, I tried smartsense option. I could not do this. When I touch a button outside of my hand for only half of the second, led could not hold its last mode.
I just want the led to change mode when I press the button hard.
Any solution, any idea to get more strong project?
We used PSOC 4 CY8C4246AZI-L445 USB controller. We use this controller for single USB output for keyboard and mouse data.
But our customer windows 10 PC not connected to internet the keyboard can not find driver.
Please suggest how to download USB HID driver or send any cypress USB HID driver file.Show Less
I have tried to perform the kernel reset for every single core (in a TC399x) following the steps described in the user manual (18.104.22.168 Independent Core Kernel Reset).
I found also this topic: https://community.infineon.com/t5/AURIX/CPU-Kernel-Reset/m-p/318329#M4186 that is performing the reset on the CPU0, but there are not references to other cores.
In my case the CPU0 is resetting correctly, but using other cores, the related CPUx seems to remain locked in an inactive state.
This is the procedure, as example, for CPU1:
CPU1_KRST1.RST = 1
CPU1_KRST0.RST = 1
while(CPU1_KRST0.RSTSTAT = 0)
CPU1_KRSTCLR = 1
I tried to run this sequence from both core0 and core1, without solve the problem.
What am I doing wrong?
Hi, All and Infineon employee
I think Aurix TC237 iLLD code has had error about Qspi communication.
I’m using the TFT LCD operating code which is extracted from the TC237 app-kit application demo project file. Of course, I’m using TC237 app-kit and The app-kit application demo project file has been uploaded on Myicp.
I changed from old iLLD v22.214.171.124.0 which is included the demo project file to latest iLLD v126.96.36.199.0.
And then, I did import the project file on the Aurix Development Studio v1.5.2 and built it successfully.
But, My TC237 app-kit TFT LCD wasn’t worked. My TFT LCD was displayed continuous thin vertical black lines like below.
So, I analyzed Qspi parts of iLLD because TFT LCD have been using Qspi function.
Finally, I found that TFT LCD was worked well when using iLLD v188.8.131.52.0 and its previous version, but TFT LCD was not worked when using iLLD v184.108.40.206.0 and its later version.
Plus, I found that if some code in Qspi iLLD is swapped between (A) and (B) showed below picture, TFT LCD is worked well when using iLLD v220.127.116.11.0 and its later version.
So,,,, I have a few questions about this problem and situation.
I’m using the IDE program named Aurix Development Studio v1.5.2 and using iLLD v18.104.22.168.0.
(This iLLD is latest version).
Also, Complete workspace file which is not working is uploaded on this posting by attached file.
This file is complete workspace for TFT LCD operating which is extracted from the TC237 app-kit demo.
Please Answer me ASAP!!Show Less
Hello, @MotooTanaka san,
The new I2C implementation to configure the PCF 8563 RTC works as expected.😃
The modification is that if the keypad input is 1, which is '1' (ASCII representation) is converted to represent hex 0x1 and then the same is written to the RTC (using Byte() API's) using Write_RTC() function.
And then the time and date info is read back in the same Write_RTC() function, using RTC_Read() function.
So, now the problem that I notice is at lines 271 and 272, when I am again trying to call RTC_Read() function, the program directly starts reading and printing some random data onto the Terminal (No input is taken) when any button on the keypad is pressed.
When the data is read back in the Write_RTC() function (commenting lines 271 and 272), everything is working fine. But, when uncommenting lines 271 and 272 (reading the RTC at some other time, after configuring), there is no response and i am not able to reach any conclusion as to what might be causing the issue.
In order for you to test this, try entering "48592331011209" (SS MM HH Day Weekday Month YY) using the keypad in the firmware (attached) as is (commented 271 & 272) and you can see that the date and time are read back properly.
Then try the same after commenting lines 271 & 272, the firmware is struck.
Hope you got what I wanted to ask your help about.
PS: I am a novice programmer, so bear with me a bit please.😅
I see that the project creation wizard still does not support the CY8CKIT-064S0S2-4343W board in choosing to create a new project based on BSP selection. You have to go through AWS to get a default project and then modify that in situ.
Can we expect BSP support any time soon? We are nearly at the end of 2021.
For example, the Hello-World blink example:
Only supports the B0S2 version and not the S0S2.
I am testing PSoC4 I2C Master and Slave sample code.
I understand Master_Read, Master_Write, Slave_Write and Slave_Read from sample codes which are provided by PSoC creator 4.4.
But above sample codes are all for polling type.
I can't find sample code for slave receive interrupt.
Could you please help me to get a I2C slave interrupt (master - > salve, and slave interrupt immediately not polling ) sample code ?!
Thank you so much.Show Less
I am trying to implement a "post build step" in my Aurix Project. Anything I put in the Post Build Steps Command, fails when I re-build my project. Pre-Build Steps work fine. The error I get is: "XCP/AurixCAN.d:5: *** target pattern contains no '%'. Stop.". I am running version 1.5.2 of Aurix Development Studio. The post-build step appears to be written to the Make file correctly. Any Ideas or workarounds??
BTW: BuildA2L works just fine from the command line.
I use Capsense in full auto tune mode so I don't need to set any parameters.
I try to know the SNR in this situation.
After test, I found the SNR is less than 5 (attached file).
I feel very strange why SNR will be less than 5 in full auto tune mode.
Because I think SNR must be larger than 5 in full auto tune mode.
My question is,,,
In what situation, the SNR might smaller than 5 even I already select full auto tune mode. ?!
How can I further improved the SNR at this situation ?!
Thank you so much.Show Less