Hello, I have seen many others having a similar issue, but wanted to post in case my issue is slightly different. I am using PSOC5LP I2C Master Mode w...
I have seen many others having a similar issue, but wanted to post in case my issue is slightly different.
I am using PSOC5LP I2C Master Mode with a DS2484 I2C to 1-Wire Converter.
Everything is working fine - I2C writes and reads, but there are times where something happens (Not sure what is causing this) and the PSOC hangs up in the below infinite while loop
I have implemented a simple watchdog using a 1ms timer interrupt - when the watchdog counter fails to reset, I attempt to reset the I2C peripheral using the following lines. This does not work, and the code continues to sit in the while loop.
The only thing that actually works is calling for a SW reset....Not ideal at all.
Perhaps I'm not calling the right API to actually reset the I2C peripheral, if this is the case, please advise on the proper way to reset the peripheral so that I can break from the while loop.
From a logic analyzer standpoint, when this occurs, SCL and SDA are both logic High and remain at logic High
Ideally we do not want to call a software reset for something as small as this. Can anyone provide any input on what can be done to get "unstuck" from this infinite while loop?
I could implement a timeout inside the while loop, but I fear that this will be an issue when regenerating code, is that correct?
Please let me know what the best course of action to take is.
I noticed, that programming an PSoC 5LP (CY8C5268LTI-LP030, 256kB Flash) using the ppcli.exe takes about 70s, whereas the PSoC Programmer takes on...
I noticed, that programming an PSoC 5LP (CY8C5268LTI-LP030, 256kB Flash) using the ppcli.exe takes about 70s, whereas the PSoC Programmer takes only about 11s (even after an "Erase all", same Settings).
For the PSocProgrammerCLI(ppcli.exe) I was using the example script in the KBA-ppcli-Article. The only changes I made, were to adapt the programmer(Miniprog4) and hex File and calling:
"ppcli.exe --runfile example_script.cli"
Is there a way to get the ppcli.exe(v3.29.1) to work (nearly) as fast as the GUI based PSoC Programmer(v3.29.1)? Or is there a way to program the PSoC5LP without iterating manually over these 4x256 rows? Our goal is to have a custom user interface, where programming settings are applied, based on the selected device, which should be programmed. Our custom interface works as expected, but the 70 seconds for programming are unacceptable for us.
Hi,according to the 5LP reference manual the datapath outputs are registered, but it's also possible to use the combinational signal. Unfortunately, I...
according to the 5LP reference manual the datapath outputs are registered, but it's also possible to use the combinational signal. Unfortunately, I can't find any information about how to enable the combinational output on the device. For simulating the component, I figured out that it seems to be enough to override a parameter, e.g. so_sync, etc.
But I doubt that this is the correct way to enable combinational output on the PSoC device. Digging deeper into the device manuals shows that this feature seems to be bound to the corresponding UDB config register #8. The default value of this register within the component definition is 0x00. But here the user can't know which bit is assigned to the output which should be combinational. So, how to correctly enable combinational output for datapath output mux?
Hi,I need component that on the input take any analog signal, from -3.3V to 3.3V and then will convert it to digital world and send them via USB Ser...
I need component that on the input take any analog signal, from -3.3V to 3.3V and then will convert it to digital world and send them via USB Serial Port to computer. The component should allow me to configure input voltage range, time period and resolution of sampling. I can pay for create this component for me.
Buenas noches, quisiera tener una asesoria respecto al uso del IDAC en Psoc 5LP. Estoy revisando la documentación para usarlo como fuente de corriente...
Buenas noches, quisiera tener una asesoria respecto al uso del IDAC en Psoc 5LP. Estoy revisando la documentación para usarlo como fuente de corriente para usarlo para medir temperatura de una PT100. Segun esta en la documentación, cuando se usa la salida de corriente en el rango de 0-2048 uA, solo pueden usarse 4 salidas, que dejo adjuntas. Mi pregunta es, ¿puedo utilizar algun otro pin como salida del IDAC para usarlo con la PT100? y tambien, ¿puedo crear más de un bloque de IDAC dentro del proyecto para usarlo con varias PT100 al tiempo?
The PSoC™ 5LP, PSoC 2 and PSoC 1 Forum discusses - 24-bit Digital Filter Block (DFB), 24 UDBs, DMA controller and integrating AFE, digital logic with user interface ICs with an Arm Cortex-M3 CPU solutions.