PSoC™ 4 Forum Discussions
I have a trouble, I use emEEPROM to save program variable,
but found that repeated power on / off process emEEPROM data may be lost.
My program will read the first address emEEPROM in a boot time, check data if it is 0 for handler 1, otherwise for handler 2.
This problem is not always in the ON / OFF power will appear, how do I debug?
In most cases, the data can be normal, but occasionally there will be data loss problems emEEPROM in ON/OFF power process.Show Less
SCB Mode can control RS485 enable pin?
Or there are solutions to deal with the RS485 communication
In addition, I found that SBC pin can not configure the UDB UART
So it cannot be done through the UDB UART RS485 communication, unless changed to the other pin
My aim is to make RS485 accomplished through SCB Bootloader.Show Less
I have been working on getting a hardware solution to single click, double click, and long press detection operational. My thought process was to do the following:
Switch (resistive pull up) -> Timer -> ISR (Please see attached image. There appears to be no way for me to show it in the editor).
In this way, a double click would be fired off if there were two clicks before the timer period expired. A single click would be when there is no double click. I figured there might already be an FPGA circuit or similar solution to this problem. Does anyone have any input?
P.S. I considered doing a software solution, but I thought it would be better for the CPU to only have to respond to ISRs, keeping it in sleep mode longer.
I am using PSoC Creator 3.0 with PSoC4 PIONEER KIT.
where a, b and c are floats, gives me this error:
Build error: undefined reference to `atan2f'
However, the same sentence with constant parameters:
compiles without problems.
Of course I have #include <math.h> at the begining of my main.c
Any clue please?? I'm desperate.Show Less
Have people used the UART on the PSoC 4 in high speed modes (eg, 115200 baud and up) with any success? I'm concerned about the timing tolerances using only an internal RC oscillator.Show Less
I have 3 of these, when they are powered up the status led flashes and it shows up as an HID in device manager, when I program it with kitprog.hex the flashing stops until power is removed and the device is the powered up again, once that's done it does the flashing again. Thoughts suggestions. HELP!!!!!!!!!!!!!!!!!!!!!!!!!Show Less
I need to figure out how to utilize the capsense hardware in the psoc 4 for liquid level sensing. There's some information on the more general cypress capsense for liquid level sensing, but nothing specifically for psoc4. In this forum post a cypress employee posted a file with some information. http://www.cypress.com/?app=forum&rID=51173
ps. also, is there anyway to get notifications on replies to forum posts?Show Less
I found that the SWD pins of PSoC 4 cannot be configured as GPIO though this option is present. To configure a SWD pin to function as GPIO we should write zero to the respective nibble of the register port 3 HSIOM register of PSoC 4. HSIOM register is a 32 bit register and there is one HSIOM register corresponding to each port . HSIOM_PORT_SEL3 corresponds to port 3. Each port has a maximum of 8 pins and each pin can have a maximum of 16 configurations. Hence 4 bits(1 nibble)from HSIOM register is required for each pin of a port. Therefore 32 bits of the register can configure 8 pins of the port. For detailed information kindly go through HSIOM register of PSoC 4 registers TRM.
I'd ordered the PSOC4 Pioneer Kit and some chips from PSoC 4200 and PSoC 4100 Families on August 30,
and 3.5 days later the chips were brought to me. Another 2 days later kit arrived too. Great!
My ten years old PC has some slow USB 1.x ports on system board, and USB 2.0 on the PCI-USB adapter.
Slow ports has revealed some problems operating with the kit, but USB 2.0 operated OK. LED was blinking.
Today - at last! - I try to play with the kit.Before I had some very limited experience with PSoC Designer 4.3
and ICE-4000. And no experience with PSoC Creator. Yet my play was lucky one.
I chose to try the CapSense, which wasn't in my ICE-4000.
I opened in PSoC Creator the CapSense.cywrk under "Examples and Kits". It asked for update. I have allowed.
CapSense_CSD_P4 was updated ver.1.0 to 1.10.
Then I do Build CapSense - it takes some time, about minute or two, then Program, then Debug,
then Resume Execution. The LED stops blinking.
And then tried the Slider (Sensor) with finger.
It works: changes LED glow from red to green proportionally to finger position on Slider.
As much as if it were a normal (res.) slider!
Does anyone know if there wil be soon new PSoC 4 devices with more resources and analog capabilities like PGA's, more UDB, more FLASH+RAM, USB,...?
I need things like that which are in the PSoC5 but the PSoC 5 only have the 68QFN and 100TQFP Package and they are also pretty expensive.