PSoC™ 4 Forum Discussions
Installer fails to install for current download of cy5672 (kit only) which requires obsolete (1.0.0.47) version of cySmart, which is currently at 1.2 SP1. Evidently the installer can't accept upgraded CySmart software.
Please update the installer to accept the updated cySmart 1.2 sp1.
I tried creating a case but it was canceled and an email generated which told me to go to the forum for support, but the support link in the forum page takes me back to cases.......
Show LessI'm doing the External memory over the air update code example, and am attempting to configure it such that I don't need to use the SW2 button to enter bootloading mode. I added a custom service which has a notify attribute. When notified, bootloader will be enabled. The issue is, when I get rid of the WDT component, the LED's no longer turn on. I also have the problem of not being able to connect to the "Device Info Example" on my phone, it always gives me the message "connection timed out". Any advice would be appreciated.
Show LessI'm trying to get the SCB SPI interface working with a CY8CKIT-046 because on my actual project I have to use this method rather than the regular non-SCB SPI interface. On this devkit, if I use non-SCB, I can recieve data just fine, but if I use the same pins or even a different set, and use the SCB SPI interface on both configured and unconfigured, I can't get it to receive any data packets from the other SPI device that is spamming out data every half second. What is the difference between the two interfaces?
When I follow the debugger, I notice that when it goes into SPI_1_SpiInit(&config) and then into SPI_1_SetPins, there is a section that says it disables the input buffer:
#if (SPI_1_TX_SDA_MISO_PIN)
/* Disable input buffer */
pinsInBuf |= SPI_1_TX_SDA_MISO_PIN_MASK;
and then used in
#if (SPI_1_TX_SDA_MISO_PIN)
SPI_1_SET_HSIOM_SEL(SPI_1_TX_SDA_MISO_HSIOM_REG,
SPI_1_TX_SDA_MISO_HSIOM_MASK,
SPI_1_TX_SDA_MISO_HSIOM_POS,
hsiomSel[SPI_1_TX_SDA_MISO_PIN_INDEX]);
I can't see anywhere that it is re-enabled, and I have tried editing this value at runtime to see if it makes a difference by just keeping it enabled, and whether I add the other pin masks to the value or set it all to 0, it doesn't do anything. Here is my setup configuration.
SPI_1_SPI_INIT_STRUCT conf;
memcpy(&conf,&SPI_1_configSpi,sizeof(SPI_1_SPI_INIT_STRUCT));
conf.mode = SPI_1_SPI_SLAVE;
conf.submode = SPI_1_SPI_MODE_MOTOROLA;
conf.sclkMode = SPI_1_SPI_SCLK_CPHA0_CPOL0;
conf.rxBufferSize = 32u;
conf.rxBuffer = buffer;
conf.txBufferSize = 32u;
conf.txBuffer = txbuffer;
conf.enableInterrupt = 1u;
conf.rxInterruptMask = SPI_1_INTR_RX_NOT_EMPTY | SPI_1_INTR_RX_FULL;
SPI_1_SpiInit(&conf);
Any Ideas?
Show LessHi,
I currently have a CYBLE-214009-00 on a custom board, when power is added as seen in the datasheet, I don't pick up a bluetooth signal on another device. Is programming to the module required? if so how can i program this module?
Thanks,
Nicolas
Show LessMy PSoC board connects to an Android app though Bluetooth. The Android app sends a 4 byte array and I want to save this array to flash storage and later retrieve it and assign it to a variable. How can I go about doing this?
Show LessHi !
I created design and compiled without problems. Now I selected to use module CYBLE-012011.
When I build it I received strange errors :
Error in component: ZeroTerminal_1. Component 'ZeroTerminal' is not supported by the selected device.
Error in component: and_1. Component 'and_v1_0' is not supported by the selected device.
Error in component: Debouncer_1. Component 'Debouncer_v1_0' is not supported by the selected device.
Error in component: OneTerminal_2. Component 'OneTerminal' is not supported by the selected device.
Error in component: FreqDiv_1. Component 'FreqDiv_v1_0' is not supported by the selected device.
Error in component: xor_1. Component 'xor_v1_0' is not supported by the selected device.
As you can see it`s very simple components ! How it`s possible that "one" or "zero" not not supported by CYBLE-012011 ???
Show LessHello,
I have just bought a CY8CKIT-044 PSoC 4 M-Series Pioneer Kit, because I wanted a board for a quick evaluation of a few Arduino shields. Currently I am trying to work with a DC motor driver made by STM, X-NUCLEO-IHM12A1, basically it contains two full-bridges for driving DC motors.
The trouble is, pins P5.5 and P5.3 from PSoC are connected via the Arduino shield to the motor's drivers phase inputs for bridge A (and B). If I place the pins into the schematics and configure as output pins (strong drive or pull up/down), I get the following error during the build (for both of these pins):
fit.M0006:Pin Error: (Function __ONE__.q cannot be reached from this pin).
fit.M0056:Error in fixed placement for Pin_PHA(0): Function __ONE__.q cannot be reached from this pin
Is there a limitation of usage for these pins? When I click on the errors, I can remap the pins in the Design Wide Resources > Pins, however, because of the fixed position of the Arduino connectors, I would prefer a way to use the P5.5 and P5.3 pins.
Thank for any advice or help.
David
Show LessHi!
I'm learning about power saving using the PSoC 4. For this I am running the advertisement project from AN92584 on a BLE Pioneer Kit (CY8KIT-042-BLE-A). I am measuring current consumption on J15 on the main board with a Fluke 87 multimeter, board powered from USB.
What I am observing is that everything is as expected when I select 3.3V power using jumper J16 (default setting), in this case I measure a current consumption of only 1.5uA in deep sleep. Just as specified, perfect.
When I move the jumper to the 5V position though, my deep sleep consumption increases to over 106uA. I tried various things, like:
- changing the VDDA/D/R voltages to 5V in PSoC Creator 4.1 on the System page
- trying with cold/warm resets
- changing DEEPSLEEP_ONLY in code to 1 to rule out any software-induced effects
... but with no luck.
As far as I can tell, feeding the accompanying PSoC4 daughter board with 5V is perfectly valid and within specifications. I do expect a somewhat higher consumption on a higher voltage rail, but 100x higher current within voltage specifications seems very abnormal to me.
Any ideas? Is this normal? Is there some additional (software or jumper) setting I need to make? Or is my kit defective?
Thanks,
Karoly
Show LessUDB Timer connected to HFCLK directly, an external CLK (TCXO 32MHz) used.
When compile it always get this warning.
Warning: sta.M0019: MainBoard_timing.html: Warning-1366: Setup time violation found in a path from clock ( CyHFCLK ) to clock .
And here is the attached html generated by the compiler.
So my question is :
#1. what is the problem of this? it said setup time, I am not quite understand this.
#2. As the timer is sensitive to the accuracy and precision, so any performance impact?
Show LessI've got a Sequencing SAR ADC (ADC_SAR_Seq_1) in my project and I want to read 2 channels, Vbatt and a mic level input. The mic level needs to be read 250 SPS and Vbatt maybe 2 SPS. This is a super low-power project so any chance to save power will need to be taken. I do have a timer interrupt system set up that is called 250 times per second that I could use to trigger a conversion.
At first I thought I'd make my ADC Free Running and live with the fact that the Vbatt input would be way oversampled but the minimum clock frequency of 1000 kHz gives a SPS of 1557 so I gave up on that and set it to Hardware trigger. Reading the DS, I can see that I can start a sample by ADC_StartConvert() but it's not clear how I select which channel to convert as there doesn't seem to be an ADC_SelectChannel() command.
Have I missed something in that I may still be able to free run at 250 SPS? If not, how can I select which channel gets converted? What's the best way to save power between conversions?
Show Less