PSoC™ 4 Forum Discussions
Hi,
I'm building a GPIB interface (which is working nicely) but I'm getting some STA warnings that seem to imply a linkage between the input of a given pin and the output to that pin despite the fact that they are unrelated in operation.
I will see if I can build a small project to show it clearly, but my current solution uses pins marked as both input and output, with each side having a hardware connection. They are configured as open drain, driving low.
With GPIB you are either in "input mode" in which case you are reading from these pins (and don't care about the output), or in "output mode" in which case you are writing (and don't care about the input), however the STA seems to show a linkage between the two (which is not there in practice) and I'm seeing paths incorporating the iocell pad_in, pad_out, and pin_input.
I assume there is no easy way for the STA to realise that these two modes are very different? Is there a way I can signal that the output and input are entirely separate?
It's all working fine, and I could probably slow it down further to make it "fit", but that seems a bit wrong.
EDIT: I've added a project that shows the same issue, in this case it's a setup violation, but you can see (what I think is) an unnecessary link between the pin input and output adding significantly to the timing path.
Thanks,
Lee.
Show LessHi,
I'm having issues getting the current drawn by my MCU when in Hibernate mode. I've traced the issue down to the presence (or absence) of an I2C component in my project. Ultimately, I want to be able to have I2C functionality when the MCU is woken up, but with the I2C component (I'm not even using it for anything in my test code as yet), I',m measuring currents in the order of 300uA when in Hibernate. Without it, this drops down to about 150nA (where it should be).
I'm doing my measurements on one of the Cypress PSOC4 BLE Modules, and the only external connections I have to this are VDDD and GND, and I've got my two interrupt GPIOs connected to GND (so the MCU should stay in Hibernate)
Attached is my code. This is a cut down version of what it should be, but basically I have to GPIOs that will wake the MCU with a rising edge on either, update some variables and then let the MCU go back into Hibernate. The LEDs are only for debugging - they're not in-circuit when I'm doing my current measurements.
Any ideas why the I2C component is drawing so much more current?
Cheers,
Mike
Show LessThe USBFS_ReadOutEP() API doesn't allow you to read from EP0:
if ((pData != NULL) && (epNumber > USBFS_EP0) && (epNumber < USBFS_MAX_EP))
However, the Windows/Linux bundled boot mode drivers for my boot mode device requires reading data from EP0. How can this be done?
Show LessWhat's the difference between document 002-15106 Rev. *G and 002-00122 Rev. *M? Which one is the latest datasheet of PSoC 4100S?
It seems both are found in the web.
002-15106 Rev. *G:
https://www.cypress.com/file/429186/download
002-00122 Rev. *M:
https://origin-www.cypress.com/file/230626/downloadhttps://www.cypress.com/file/230626/download
Show Lessi made a custom circuit with the part CY8C4244PVI-422. i got the tuner to work and now i am confused at how to adjust the thresholds to increase the sensitivity of the proximity sensor. can someone please point me in the right direction?
thanks you
Show LessHi,
I'm trying to implement CTS functionality on my peripheral, so that I can grab the current time from an iPhone and update this in my hardware RTC.
I have been using the PSoC4_BLE_RTC example as a starting point, but am having some issues.
My question is - is it possible for a Peripheral Client (my PSoC device) to grab the CTS from an iPhone without requiring it to pair and bond? Can I get this info just by getting a connection between the Client and the Server and then have these two automatically disconnect once the time info has been acquired?
Or do I need to pair/bond in order to get this to work?
Cheers,
Mike
Show LessHi,
How do I use a section of the flash to emulate a small eeprom?
The component to do this is not available for this module in PSOC creator.
When I asked previously what the device was inside the module, I was given a link to the data sheet for the Psoc 4 4200 ble family. This says it can emulate eeprom.
So, am I looking at a configuration issue of my system - missing something, or do I need to take a different approach - software based? If so, are there any examples to guide me?
Thanks,
Andy
Show LessHello, we are nearing the end of a development effort and have resolved a ~50% reduction in RF range directly to the Epoxy Potting we are required to encapsulate our product with, due to the environment.
Here is the key question, can we use the digital capacitor array to adjust for the epoxy, in other words, is if feasible to use the digital cap trim to correct for the added capacitance of the epoxy.
This is the line CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), 0xBCBC); can you help me better understand the mechanism, and how to potentially "tweak" these values to recover our range?
Herb
Show LessHello everyone, I'm trying to implement the heart rate project but I haven't found more information than the PDF
Can someone please send me the files?
Thanks!
Show Less