PSoC™ 4 Forum Discussions
Hi! I have a question regardin sampling rate for the touchpad widget using PsoC4, CYBLE-214015 . The scan order tab tells me that the total hardware scan time is 5 ms, can you tell me why the centroid position of a trackpad is updated ever 0.3 seconds in the logging file then ? Thanks
Show LessI am using CY8C4245AZI-M433 with P4.2 and P4.3 used as interrupt inputs.
PSOC creator 4.3 cannot assign P4.2 and P4.3 as interrupts.
Error message "Pin is not Routable"
The datasheet specifies that any IO pin can be used as input interrupt.
Show LessHi All,
I have an application that requires bootloading code updates to four PSOC 4 devices chained onto the I2C bus that is controlled by another PSOC 4 which is the custom UART to I2C Master. What I would like to do is implement a secondary protocol to bootload all four devices with a custom program written in visual C#. I have used the UART bootloader with success but have not used the I2C bus to bootload devices and do not know where to really begin. I assume the interface is similar to the UART interface is this correct? Is there a datasheet showing how the I2C protocol is used like the START, STOP, DATA, ADDRESS etc? What I would really like to know is if there is C code to implement a UART to I2C bridge type of interface so I can use my existing UART bootloader program. I looked at the kitprog but that is USB to I2C. Any help would be GREATLY appreciated!!!!!!!
Thanks,
Eric Norton
Show LessHi there,
My code -running on a PSoC 4200BLE 4248 family- stuck randomly on mail loop CyBle_ProcessEvents() calling. The priority of BLE Interrupt is the highest possible (0). This malfunction disappeared if the deep sleep mode is disabled, of if my BLE Event handling routine is empty (no functional BLE). When code is stucking my BLE handling routine does not executed at all.
Any glue about it?
Regards
Bill
Show LessHi there,
My code -running on a PSoC 4200BLE 4248 family- stuck randomly on mail loop CyBle_ProcessEvents() calling. The priority of BLE Interrupt is the highest possible (0). This malfunction disappeared if the deep sleep mode is disabled, of if my BLE Event handling routine is empty (no functional BLE). When code is stucking my BLE handling routine does not executed at all.
Any glue about it?
Regards
Bill
Show LessI am working with a PSoC 4100S Plus device. I need to write a struct to the flash. My struct is as follows-
typedef struct
{
uint32_t time;
uint8_t index;
uint8_t state;
} debug_state;
static debug_state debug_data[100];
During the run of the program, I will be filling in the struct with values. And at the end of the test run, I need to write this struct 'debug_data' to Flash memory. I understand I have to use the function CySysFlashWriteRow, but I am unable to figure out how to calculate the flash row number and how to pass the struct data to the function. Can someone help me with this?
Show LessWe are using the PSOC programmer CLI example to program a PSOC 4 device with the Miniprog3. The PSOC4 device is one that requires the the Power Cycle method of programming.The problem is, at the acquisition stage of programming, occasionally it will take up to 2 minutes to acquire the device, after which it usually fails. Is there any way to skip this stage, or at least end it early if it obvious that the acquisition is going to take a long time?
Show LessHello,
We are implementing UART and timer peripherals using interrupt
At Power ON variables/flags which are used in UART or Timer ISR are declared as '0' and in ISR value for these variables is set to '1' on ISR successful execution of ISR. Though variables are getting updated in ISR but their updated values are not available in main loop or other functions.
Variables are defined as 'Volatile' even tried with no optimization option but still remains same.
Code is tested with PSoC created 4.1 and PSoC created 4.3.
Please help to resolve the issue.
Code for timer and UART is attached for reference
With Regards,
Harshal Belan
Show LessHello Sir/Ma'am
I am designing product with CY8C4146AXI-S433 IC for our application.
This IC works fine for some time but after some time IC is not getting Programmed either through PSOC creator or PSOC Programmer.
Programming Protocol,IC voltages,Programming Pins connection are correct.
Still IC is not getting programmed after some time. Is there any limit to how many time IC should get programmed ?
Because we are in development stage so we are programming it as modify the code.
If IC is replaced with new One on same board, programming starts again but after certain attempt., Programming doesn,t happening.
At least by now I have changed 5 Nos IC .
Although IC is not getting Program yet existing code in IC works properly including changes in parameter and EEPROM saving.
Application :
1)Digital Input,Digital Output,7 segment display.
Psoc Creator Error shows
Error : Warning: dbg.M0039: There was an error running port acquire: Can not acquire SWD device!
Show Less