PSoC™ 4 Forum Discussions
AN211293の日本語版を入手したいのですが、Link先が誤っています。
(日本語版のLinkを踏むと、AN210781が開きます)
URLを張り替えてください(もしくは、正しいURLを教えてください)。
Show LessHello,
I need help with understanding how to program a PSoC4 chip given our hardware design.
Right now I have a PSoC 4 L-Series Pioneer Kit (CY8CKIT-046). To program it I use PSoC Creator by pushing the "Program" button and that does all the magic. However my target hardware is a slat with a few standalone PSoC4 processors: a Linux (Yocto) board (SoM) is connected to one of the PSoC processors (master) via UART and Serial Wire Debug (SWD). The rest of the processors (slaves) are connected to the master with SWD. The configuration is captured in the attached image.
My question is: how can I program the master and the slave processors? At this point I am completely clueless. Where do I start? What should I be looking at? How complex is this problem? How much work needs to be done?
I am fresh new to PSoCs programming and embedded programming in general. I really appreciate any help that I can get.
Also the hardware design is not set in stone just yet. If there is anything that we can change to alleviate the problem then our HW engineer would consider it given his restrictions.
Thank you!
Show LessHi,
I have a PSOC4 device with BLE and I want to work in a mode of unauthenticated pairing with encryption and with bonding.
I want to be able to save the bonding key to the flash and I saw in the documentation that only 4 keys could be saved in the flash.
It is also a function to erase the oldest bonded device from the list if its full.
So I want to implement a code that the BLEapplication triggers the code due to a bonding event and I then save that bonded device. If the list is full I should check if that device is already listed in the list and if not then erase the oldest device from the list.
How do I verify that the external device ID that was just paired isn't already stored so that I don't save it twice?
Thanks,
David
Hello Cypress team,
We are using the CY8C4245LQI-483 in our 10 segment slider based LED task lamp. Refer the screen shot for product architecture
These segments used to control LED lamp ON/OFF, brightness increase/ Decrease by using different gestures Tap / Swipe or Touch
This product is in Pilot stage now and we have received the failed sample from field after 30 days of usage with the following condition:
- While I touch 1st to 9th Segment, MCU was not producing any PWM Duty cycle as we have designed
- But only when I touch 10th segment ,MCU producing the PWM duty cycle as we have designed
- We have also user indicator (0603 size LED ) which is also based on the 1st to 10th segment sensitivity and the performance is fine for user indicator.
- Hence we concluded cap sensing is working fine but LED lamp PWM O/P pin was NOT generating corresponding PWM duty cycle.
We re-flashed the with the same .HEX file again in the field defect lamp and now problem solved , lamp started working fine.
Could you please guide us to understand the issue and share your suggestion to rectify it?
Thanks,
Nithiyanantham
Show LessHi sir,
I am trying to install PSoc4 creator 4.1 on 32 bit windows7. but installation getting stuck at license agreement page. after some time it is showing error "CyInstaller has stopped working". please suggest how to resolve it.
Show LessI purchase a stack of Cy8CKit-49-42XXX kits about 3 years ago. Originally, I believe I had taken one out of the package, and plugged it in and it worked. Now, I take a brand new one out of the package, never opened, plug it in, it does not work - it lights up, my computer tells me the device is unrecognized, and it sits - psoc can't program it - the programmer can't detect it - what do I do? I have a bunch of these, I even pulled a second one out of the package, none of them seem to work. I have two left, unopened. These were stored in a dry place, on my bookshelf.
What gives?
Show LessI am developing a product using the MBR3. The product is looking to sense a user input for (possibly) hours at a time and we want to make sure moderate temperature changes while operating do not cause the output to remain on after the user releases the sensor. However, we have found that the unit has a fairly large change in detected capacitance based on temperature. We are taking steps to mitigate faster temperature changes, although I would be interested in information about mitigating that as well.
Our main concern right now is that if the product experiences even a very slow temperature change while receiving a valid input it will cause the unit to continue to output even after the user is no longer activating the sensor for very reasonable temperature changes because the baseline has not changed. We have investigated the available options in settings including the auto-reset period but have not found anything to mitigate this problem since we want the output to remain on during the entire user activation and stop only when they release it.
Here are my questions, then:
- What options do we have with the MBR3 chip to mitigate the change in detected capacitance due to temperature other than lowering the sensitivity?
- Are there options that becomes available if we upgrade to a different unit to help with the same problem?
- Is there a solution to the problem of temperature changes causing the detected capacitance to change so much during valid input that it causes false outputs after the user has released the sensor?
Hello,
following issue concerns me:
Our customers receive .hexfiles from us containing the whole application for an PSOC4. The application contains our knowledge, therefore we do not want the customer to get the source code of the application project.
With other microcontrollers, the customer could change parameters in hexfiles on negotiated adresses. But on PSOC4, hexfile merging or changing seems a bit more complex, since the hexfile is extended by the CyElfTool with further metadata. However, the PSOC Programmer returns an error when trying to load an adapted hexfile.
Are there any simple solutions, like re-calculating the metadata of a hexfile by the CyElftool after the customer changed some config values?
Thank you !
Show LessHello,
I am currently working on HX711 Load Cell Board.
I had posted a question about the porting of Arduino library in PSoC last week.
I tried porting, but it does not seem to work.
So, I referred various libraries (HX711.c/HX711.h) online which were written in C and made the similar in PSoC Creator.
But it is not working, that is the values do not change, it remains 0.00. (The same setup works on Arduino)
Can anyone help with this. I am attaching my project here.
Thanks,
Ameya
Show Less