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 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?
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 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
Do I have to use the function "CapSense_GetParam" instead of the function "CapSense_GetSensorCapacitance".
Or, Do I have to change something setting to be able to use the function "CapSense_GetSensorCapacitance".Show Less
let me ask you a basic question.
I would like to know the definition of "baseline".
In addition, I would like to know what kind of difference in behavior occurs if I check or uncheck the param 'Enable sensor auto-reset' in Configure CapSense . To do this, I think I first need to know what a Baseline is.
Thank you.Show Less
I have paired the Bluetooth SPP profile with smartphone.
After disconnection, can I initiate a reconnection from the device side?
Can wiced_bt_spp_connect() do such a function?
Using A2DP, the device can initiate a reconnection.
SPP profile can only be reconnect by smartphone?
Since AMD Flash memory spun off to Spansion and then to Cypress who is part of Infineon I am coming here with a question about how production locations stamped their country on AMD Flash Memory parts in the late 1980s. We received AMD AM9016DL/BFC parts which were supplied by Arrow Electronics back in 1986. Being Arrow only supplies parts received directly from OEMs I expect that the parts are authentic AMD parts. The marking on the bottom of each part is MALAYSIA. This marking located on the bottom is stamped in white ink and is in a slightly different position on each part. Looks like they may be hand stamped, possibly after testing or something. Was this normal for parts produced in 1980s?Show Less