PSoC™ Creator & Designer Forum Discussions
I'm creating a custom component - a driver for a peripheral. I want to use an UDB based design, clocked at a specific rate so to accomplish this, I create component ```compUDB``` which is the "meat" of the component using UDB editor and then create ```compBase``` which uses ```compUDB``` and feeds it with a specific clock rate. (If there is a better way of creating an UDB-based component with a specific clock rate please let me know!)
Anyway, I don't particularly want ```compUDB``` to be exposed to the end user of ```compBase```. Three also seem to be problems with ```compUDB```'s API headers not being available to ```compBase``` because they live in their own generated API directory in the project rather than being generated in a sub-folder of ```compBase```'s API.
I wasn't able to find any information regarding nested component designs (I tried broad search online and looking into the PSoC Component Author Guide). Does the community have any words of wisdom regarding the issue?
Show LessHi,
I'm using Creator's "Configure System Clocks" editor. I assign the XTAL or Digital Signal (DSI) frequencies. When I perform a "Generate Application" I cannot find any of these assigned frequencies in the .h or .c files created.
Can the compiler get access to the user assigned XTAL or DSI Frequencies? Or am I missing something?
Len
Show Less
Essentially what the question in the title says - I'm making a driver for a peripheral which uses a custom communication scheme with a set clock speed - so it would be pretty silly to give the component user the choice over that clock speed. I want to set the rate for the component - i.e. have an component-internal clock.
I'm building the component using the UDB Editor but I'd be happy using the Datapath editor if that's the only way to accomplish this.
Show LessHello,
I would like to explore the USB Interrupt Transfer Example.
Its a bit old and does not work in PSoC Creator 4.2 with a PSoC 5LP.
What I have done so far, is updating components after opening and select a PSoC 5lp device with the device selector.
It would be nice, if someone can help me get it running under PSoC Creator 4.2.
I have attached the error message and the project as well as the PDF for the project example.
Thanks in advance...
Show LessHello~
I have some error that i totally do not understand.
when I build the project, tool create all the assembly files for me.
I can read all of them with notepad, but i can see many awkward charaters when i open through PSoC Designer.
and the awkward charaters starting with "UBDRM".
when I build the project, It report error with message("no such mnemonic 'UBDRM' ")
anyone have solution for this?
thank you~
Show LessHello,
I'm new in this forum, and this is my first message. Several times I've searched in this forum some advice for my problems, and often I've found it. But now, I've not found no solutions, so I'm here to ask directly to you.
I need to implement a decryption of a RSA 1024 crypted message, I've got PSoC Creator 2.2 Component Pack 5 (2.2.0.293) and a CY8CKIT-001 PSoC Development Board with a PSoC 5 board mounted.
I tried to use some libraries such as PolarSSL or OpenSSL but I had some problems with the dependencies, so I want to ask you if somebody know about any thin library that implements a RSA 1024 decryption for Cortex M3 architecture like PSoC 5 (or in general for embedded systems), and if someone had ever used it.
Thanks a lot for your time.
Regards
Antonio
Show LessHi,
My device running PSOC 4 (cortex M0) is resetting suddenly the reason is a watchdog reset.
I would like to know the last commands it ran before the reset, and where it got stuck.
Can it be done using creator?
Thanks
Show LessOne day, my rev A PSoC 6 Pioneer kit and PSoC Creator 4.2 were working fine. The next day, I became unable to debug the CM4.
The only difference that I know of between the two days was that Microsoft pushed the monthly patch to windows 10.
I tried updating the PDL to 3.1.0 and updating all of the components in the project to no effect.
I also notice that there are no breakpoints debugging the CM0+, not even the one that stops the thing at the top of main().
Show LessPSoC Creator4.2 vs.PSoC 4 Capacitive Sensing (CapSense®) page28
PSoC 4000S/PSoC 4100S/PSoC 4100S Plus/PSoC Analog Coprocessor: 48000 kHz or HFCLK, whichever is lower.
How ever PSoC Creator4.2 is Max 24000
How to set up 48000 kHz?
Show LessI know this is a casting problem but I can't get it working using GCC.
I have defined
#define oPwrF 3
I have a variable that's part of an array
double offsetFactor[4];
and I assign a value of -90.0 to it as follows
offsetFactor[oPwrF] = -90;
but when I tried to use it in a calculation, it was giving a value of zero so I separated it out and tried to change it into a uint16_t...
tempInt16 = offsetFactor[oPwrF];
where tempInt16 is declared as
int16_t tempInt16 = 0;
When I run all this, the value of tempInt is 0
The original non-working line was...
transHeader.pwrFactorLatest = ((xchngArray[m4_rawPwrFactor] + offsetFactor[oPwrF]) * -1);
where xchngArray[] is an int16_t and
and transHeader.pwrFactorLatest is an int16_t
I tied casting the offsetFactor[oPwrF] as (uint16_T)offsetFactor[oPwrF] but that doesn't work in any of the above examples, I always get zero.
if I write...
transHeader.pwrFactorLatest = ((xchngArray[m4_rawPwrFactor] - 90) * -1);
I get my expected results but the user is able to change the value -90 so this isn't a real solution.
When I looked up the definition of uint16_t, it open _stdint.h and there's a red X at line 12 next to #include <machine/_default_types.h> and when I hover over that X is says..
machine/_default_types.h file not found
Any ideas what's wromg?
Show Less