I have created a trackpad using the PSoc 4 MCU that will be utilized as a BLE Mouse to control a cursor on a computer screen. I would also like to collect information on the position of the finger on the trackpad. Up until now, I have used the Launch tuner to log this position data, however, I would ideally like this to be done on a computer software. How can change the provided BLE HID Mouse code by Cypress to read information related to the position of the finger on the trackpad rather than the displacement?
Thank you,Show Less
I'm sure I'm doing something stupid, but I need some guidance. I downloaded the attached Cypress code from Github to implement a UART through the USB on CY8C4246AZI-L433. At this point in time, I'm just trying to use the communication to provide me with feedback about my hardware. So I've added a small amount of additional code to send strings of data, converted to ASCII. Currently that string is just fixed at the number 65535. What comes out at my PC (I'm using Terraterm, but I tried Putty as well) is usually just the first two digits. Maybe every 20 or 30 times, a larger portion of the string will come across. Any help would be appreciated. (And apologies in advance for my less-than-superhuman software skills!).
Windows 10, Creator 4.4, my own hardware.
I want to design a CapSense board using CY8C4246AZI-L445.
The capsense button size will be of 50mm X 50mm.
Will it give smooth touch operation over 30mm glass?
Is there any formula or ration which can define the sensitivity on button size Vs overlay thickness?Show Less
Is there any part from cypress having bluetooth which can operates as both, bluetooth HID keyboard as well as bluetooth touchpad??Show Less
I have the ADC SAR set up for channel 0 and the INJ channel.
I can read channel 0 fine with this code:
ADC_IsEndConversion( ADC_WAIT_FOR_RESULT );
data = ADC_GetResult16( 0 );
But the following doesn't work for the Injection Channel:
ADC_IsEndConversion( ADC_WAIT_FOR_RESULT_INJECT );
data = ADC_GetResult16( ADC_SAR_INJ_RESULT_REG );
I can't find example code anywhere. What am I doing wrong? Thanks!
For infineon+CYPRESS people.
Are there any plan for releasing PSOC 4200L prototyping kits.
I vote for it😊
I am facing an issue regarding High power consumption (3mA) in deep Sleep.
This happens, when device Battery is already connected to device, and code is uploaded to it, in this scenario, code works perfectly, only the current consumption in deep sleep is about 3mA. If I reboot the device by software (CySoftwareReset()), then also this issue is present.
After code upload, if Battery is removed and reinserted then , everything is normal, device in deep sleep took about 3.7uA current consumption.
Device battery is non removable, So it is impossible to update the code.
Please help us regarding this issue.
I've got some code I've been writing that I now want to convert over to be able to upgrade Over The Air.
The code has the BLE component set up as a Client and Server profile. The Client profile is configured with a Current Time Service, to enable syncing of the time in my code whenever it is accessed via a central device. In the Server profile, I've got various custom services along with all the normal ones (Device Information, Generic Attribute, Generic Access, etc).
The Server profile is also set up to stuff some data into the Scan Response Packet, to make it easier to get data across to the Client without requiring a connection. Connection is reserved for firmware updates (if I can get this to work!)
The code, as a non-OTA arrangement, compiles and works fine. Until I attempt to convert it over to an OTA Fixed Stack Bootloadable version. I've done this before, just not with the CTS functionality included, and its always worked. I've followed all the steps outlined in the OTA Guide (AN97060), but I'm still not getting the Bootloadable code to compile. Its throwing up a bunch of errors associated with the CTS functionality, even though I've made sure I've included the appropriate header files, etc.
The particular things its getting errors on are:
I can see that these are all defined in the Bootloader source code (in BLE_eventHandler.h & BLE_cts.c and BLE_cts.h), but for whatever reason, my Bootloadable code isn't seeing them.
Any ideas what I'm doing wrong??
I'm attempting to read the current time, and the local time info, from the CTS of an iOS device everytime I connect to the iOS device (I then use this to update the time in a RTC IC on my hardware).
I'm having success reading the Current Time information, but not the Local Time Info.
I'm following a similar process for both sets of info, but only the Current Time info is coming through OK.
In my main loop, I make the following calls to read the two sets of info:
For the call to get the Current Time, it correctly returns the CYBLE_ERROR_OK result. But for the call to get the Local Time info, it seems to be returning CYBLE_ERROR_INVALID_OPERATION, and I can't work out what I'm doing wrong.
Can anyoneShow Less