PSoC™ 5, 3 & 1 Forum Discussions
AN84810, page 19:
5. You can use either the absolute address (0x5151) or the alias (Input_Signal_PS) in your code to address the port
pin state register.
You can find out the alias names for the Component registers from the “.h” generated file of the Component.
These files are automatically generated by PSoC Creator when you build the project.
I have several Basic Counters (16 bit up counter) and D FlipFlops (16 bit latch) in a PSoC5LP in KIT-059.
I have built the design.
There are no .h files for these components.
Questions:
1) what components does the ap note refer to when it uses "components"
2) is it possible to capture the count of these counters and DFF via DMA operations?
3) if so, how? details please
4) apparently all logic done in UDBs have registers that (presumably) can be read via DMA
how does one find out which registers are associated with what components built from/in UDBs?
5) if not, any suggestions on how to recover the values?
Show LessHello Cypress community,
Me and a friend is trying to use a PT1000, to measure the temperature in the room. But we are having some problems. Right now its just printing 0. AS you can see in the topdesign i'm useing the Thermistor and a RTD funcitons to measure the temperatur.
Do you guys have any suggestions, with this problem? I've postet the TopDesign and code.
Thanks
Show LessHello everybody,
I implemented on Psoc3 a signal conditioning with a Modbus-RTU interface (it's works well since 1 year). The CRC is checked by software. I would like to upgrade this application and to generate the CRC by hardware instead of software but I don't succed it, the CRC is always wrong. I just made this little test (enclose) to check the CRC...If someone has already implemented the same interface(Modbus-RTU with hardware CRC)??
Show LessI want to use communication with USB HID.
so, I tried "AN82072", almost work is fine.
but, send data to PSoC from PC is the problem to me.
I made c# application to test data transfer between PC and PSoC.
but sometimes the transfer is failed.
I also tried to find the problem with the Bus Hound program.
but I can not find any problem with the program, I think the data was sent to PSoC but PSoC does not receive the data.
so, PSoC does not send data to PC, 10 times.
I also tried with CY8CKIT-050 but has same problem.
This is My problem.
I attached my files, PSoC project and C# Application.
please refer the files and give me any advise to solve this problem.
Test Environment
CY8CKIT-030
PSoC Creator 4.1 Update 1
Windows 10 Pro 1803
Visual Studio 2017
CyUSB.dll - 3.4.7.0
Show LessHi,
I need to have my PSoC 5 like an SPI Master and USB slave, is it possible ?
Indeed, I need to collect some information thanks to a SPI connection (I know this connection is possible) and give all his information to my phone.
It's not just a SPI-USB bridge because the PSoC isn't just here to translate.
Thanks to everyone, I'm starting with PSoC.
Show LessI already asked this same question in this community but i can not get good answer to solve my problem.
My Question is "How I do USB HID communication with "Windows 10?".
My reference is "AN82072 - PSoC 3 and PSoC 5LP USB General Data Transfer with Standard HID Drivers"
with Windows 7 Home 64bit (Notebook) the reference works very well with "Generic HID UI.exe"
Click the Update button to update PWM data,
PWM data changed with just one click.
but with Windows 10 Home 64bit(Desktop) the reference works not good with "Generic HID UI.exe"
Click Update button to update PWM data,
PWN data does not chenaged with just one click.
I should click the button several times to update PWM data.
I used same PSoC Kit, same Application program("Generic HID UI.exe").
Please give some knowledge, why this problem happened and how to solve the problem.
Thank you.
Show LessHi
I am a EE student and i just got my first job and i need to use Psoc eventually for monitoring a motor.
first ,if someone have some tips how to learn better the Psoc 5 world and embedded systems for a newbie i would really apprentice it.
question 1 :
I find it difficult to understand what are the PWM limitations.
i played with the component and i found out that at - 16 bit resolution , at clock of 12.5 MHz, i got out put frequency of a 183 Hz.
i used clock of 12.5 MHz because that is the highest frequency that get build without a warning. (i did used higher clock frequency's but the output did not change, measured by scop).
- there is a way to generate higher clock frequency's ? maybe via the firmware?
question 2 :
I read the the Clock section at Architecture_TRM and i saw a lot of Macro's, there is a way to program via those Macro's? is it a pathway to program the register's directly?
im asking that question because my boss told me that via complete control of the register ill get better results.
- is it the right way to work with Psoc? or that the Giu and the basic API's are the optimal way?
thank's
Michael
Show LessHello Cypress Community.
Hope you help me out. I am trying to use the Alternate Active Mode on a PSoC5 design, but I am not seeing any change in the current draw from the MCU.
I am using a CY8CKIT-059 dev board, with the kit prog removed.
I started the project from the SleepTimer_Interrupt_Sleep example project.
This project puts the PSoC into sleep mode, using the SleepTimer to wake the system back up periodically.
Only change I made was to disable the PLL in the project.
When I compile and flash the board using the project as is, I see the current drop from about 9mA to ~200uA, or 1200uA when then LED is on.
So this all seems to work just fine.
But when I change from using Sleep Mode to Alternate Active mode, using the following code, I don't see any change in current.
//CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_CTW);
CyPmAltAct(PM_ALT_ACT_TIME_NONE, PM_ALT_ACT_SRC_INTERRUPT);
I've added one digital output that I set high just before I send the sleep or AltAct command, so I see that I am going into sleep and that the interrupt is waking the system back up, at which point I set the digital output low. Watching with a scope I can see that bit is set high most of the time, while waiting for the sleep timer.
The behavior is the same when I send the AltAct command, but I don't see any drop in current.
Any thoughts?
Thanks,
Greg
Show LessI installed PSoc Creator 4.2.
but there is no CY8C20324-12LQXI for selecting.
which version of Psoc Creator supports CY8C20324-12LQXI to edit,emulate,program,and monitor capsense raw count?
Show LessCan I find a product within the cypress products that has an ADC resolution greater than 12 Bit?