PSoC™ Creator & Designer Forum Discussions
Greetings All!
Using a PSOC 6, I am trying to use a single PWM module to control a boost converter single power switch MOSFET, AND trigger an external ADC.
I want to use the PWM's overflow output to trigger the external ADC, but the pulse is too narrow to reliably trigger the ADC. On my oscilloscope, with the PWM frequency at 25kHz, I measure the overflow pulse at ~60 nanoseconds.
Is there a way to "stretch" this overflow pulse?
Show LessThis all began from the above link, my wanting to implement a "one-wire" and I put that in quotes since it really is not a one-wire implementation, that is a specific protocol that allows you to communicate with one-wire devices.
It is a design to use one-pin, or you could call it a half_duplex even though you use a full duplex UART SCB.
Anyway... I figured out how to synthesize a bufoe logic component woot woot!!!
I provided it just in case there my be others that needed to use it or wanted to know how...
Turns out the project hardware engineer implemented a circuit that will provide the one-pin interface allowing me to use a full duplex UART SCB.
William
Show LessI'm faced with resurrecting a very old set of PSoC1 projects none of which will open in Designer v5.4 (due to incompatible project formats). I have one project open and nearly building in Designer v4.4 but am missing the ImageCraft C compiler license key (I know this is now included for free with v5.4). ImageCraft seems to no longer exist. Is there a way for Cypress to provide a license key for this older configuration?
All of this code will be migrating to newer PSoC4 parts in the coming months but there is an urgent need for a change and, sadly, the original developer is no longer among the living.
Any help is appreciated. Thank you.
-m
Show LessHello Everyone,
I starting this discussion to get the details on the data type that we can send/receive to/on Cypress BLE chips. Actually we need to send text data from a mobile application whose length may vary and entered by user to the Cypress BLE Chip.
This data will be transferred via Bluetooth only. The sending will be a write operation on a particular characteristic of the BLE chip.
We are not sure if this is possible with data types like variable, uint128 etc. defined in the Chip or we have to follow any other approach.
1) Can we send this text data in a one go as a write operation?
2) How to configure the chip to accept this data?
Any help would be really appreciated.
Show LessHow to find the bootloader address space, if so how to edit the available address that i can use to assign a variable to store some useful information such as version of my application. Also how to find the starting, ending of the Bootloader address and Bootloadable address?
I am using CY8CKIT-059 PSoC 5LP Prototyping kit.
Show LessI am working on a PSoC Creator and Keil MDK project that accesses the crypto block via the client-server model. I would like to use the ECC functions that are available via direct crypto_core API, but I do not see any cy_crypto_core headers in the PDL 1.3.2 installed by PSoC Creator. I see that they are available in the Modus Toolbox. I thought possibly I could compile crypto library source code in Keil project, but am missing the cy_device.h. So, what is the best approach? Should I build crypto_core library for my device in Modus Toolbox, and then use in PSoC Creator/Keil project?
Show LessI am going through the PSoC 6 video lessons. 1-4. I can get code to compile with no errors but when I download program it doesn't work. The program it came with still works. So obviously the LED does not flash every 500 msec for me. I think I'm doing the programming correctly but maybe I am not.
Show LessI'm trying to set the period of the Timer/Counter. Supposedly it has: Range: 0-65535 (for 16 bit resolution) or 0–4294967295 (for 32 bit resolution). But it objects to 4294967295 for 32 bit resolution:
It will, however, accept half that:
Am I doing something wrong?
Show Less(I looked for a thread for this problem - I did not see one.)
I am using a CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT PioneerKit.
I used the default CE220923_VDAC_Sawtooth demo and it worked fine, despite some "incompatible" errors.
PSoC Creator 4.3 (upgraded from 4.2)
PDLSetup3.0.9 (I think)
I then changed the pin from the original pin9_6 to pin9_0.
I got a message that both pins were used. I got the same output on both pins.
I then rebuilt again, and got the error messages below, and the build failed.
I then replaced the DAC with the same (default?) settings. Recompiled. Same fail.
Then downloaded and ran PDLSetup3.1.2.exe
Recompiled. Same fail.
The "Component Update" keeps saying everything is at the latest rev.
I am compiling with the CM4 core on the PSoC 6.
At this point I am stuck.
Thanks .... bandit
Show Less
Hi,
has anyone succesfully used C++ on PSoC? I want to use a C++ source code. On the first run I want to know if it will fit into a 5LP. I switched to the latest ARM GCC release (9-2020-q2). I replaced the GCC exe file with the G++ exe file.
There was an issue in CyLib.c with the initialization of the SysTick Callbacks regarding the void* 0 pointer. Replacing it with "nullptr" resolved the issue. Now, it seems(!) that it can be linked. As expected, it won't fit into the device on the first run, the error message is:
Build error: <...>/xyz.elf section `.ARM.exidx' will not fit in region `rom'
The bad thing is that the .elf file is deleted directly after the build process - it can be seen shortly in file explorer. Trying to copy it while it exists results in a empty file, unfortunately. I assume the created file is filled with valuable content for checking how much the flash content is in size. Too bad that the output window doesn't show the size in this configuration.
There's also an error "cm3gcc.ld:91: undefined symbol `RomVectors' referenced in expression". I don't know if this is related to the error mentioned above.
So, I've two questions:
1) how to get the information regarding the build size / prevent that the .elf file is deleted
2) how to check what's going on with those RomVectors?
Regards
Show Less