PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I am using the PSoC 4 BLE module on the kit mother board, I have placed a 10 Ω resistor across J15 and observing it by connecting both a scope and a DVM across it. (Note: The DVM is reading mV and I just divide by 10 to get mA.) When I run the board powering it from USB, I get a reasonable steady state current on the DVM and can see the spikes when BlueTooth transmits on the scope. This is with PSoC Creator 3.3 running and connected to the target processor. As soon as I start to download code into the board the current reverses (That is Vdd BLE > Vdd on J15). The current value is now a small fraction of what it read previously. It stays in this state even if I hit RESET on the mother board.
The only way I can get it back to normal current is to pull the USB and plug it back in again. Then current returns to the original value.
Am I doing something wrong or is this just the way it works ?
Thanks very much for the help.
--jim schimpf
Show LessI have a CY8CKIT-042BLE kit and decided to develop a little application with an Arduino R3 shield which uses SPI communication. The shield has hardwired the CS/SS pin as Arduino pin 7, which translates to P1.0.
Now in PSoC Creator I went to assign my pins and was surprised to see that P1.0 was not available for me to use as a SS.
I am now most curious to learn why is that.
Show LessI want to send non-connectable undirected advertising packets in non-periodic (event triggered) way with variable data (for example, received from serial interface). I tried to use example Project #009: Dynamic Broadcaster, however it sends packets with periodic interval. The only workaround I found is to put module in Deep Sleep state and play with timeout interval. Is there any other way to solve my problem?
Show LessI am experiencing some strange behavior using the PSoC 4 BLE (CYBLE-014008 part).
In my application, I am utilizing the BLE stack using the generated code by component on the PSoC schematic.
When enabling the BLE radio, my processor goes off in the weeds and throws an exception (see the graphic of the PSoC IDE debug session)
When I comment out the enable BLE radio functions, everything is fine.
Can anyone shed any light on this?
Has anyone seen this before?
Any help would be greatly appreciated...
Thanks!!
Show LessHello All,
I am continuing to experiment with my -043 kit, mostly using the sample code provided to help get a feel for how the device works and perhaps to even get some some flashes of inspiration as to how I might better use it.
As part of this work, I've extended the "breathing LED" example code to use multiple LED's at different frequencies and duration rates. To do this I've just been adding PWMs.
When I got to PWM_4 and PWM_5 however, the compiler began to complain with a cryptic error message about it not having a 'valid placement for pins or for a functional block'.
My first thought here is that there may be a limitation as to the number of PWM's that I can invoke, however in browsing around the web I've seen some articles suggesting that up to 24 PWM outputs are available with the psoc4 family.
So am I misunderstanding something, or is there some 'secret sauce' involved in using more than 4 PWM's?
Rich
Show Lesshello guys,
i made a custom pcb using
psoc4 CY8C4245LQI-483 ,
i manufactured 4 PCBs - i am trying to program with miniprog3
in 3 of my custom circuits i get the following error :
" Unable to acquire target device..."
1 of my custom circuits seems to work flawlessly i can program it , debug , control gpio .
after double checking my schematic i saw an error , i accidently routed the VCCD pin to 3.3v instead of
connecting it to gnd (image of how i connected power is attached) ,
do you think this error is a critical design error ??? (i saw some desgins where u can connect it to 1.8v)
do you think this might be the problem ??
Show LessHey,
I did the getting started AN but now what's the next step in order to have a better understanding the PSoC 4.
Maybe I'm some lost on my own path to learn but I would like to create a simple APP using BLE to share data. should I create a private custom profile?
So, what videos/articles do you recommend to me? I'm a absolutely a beginner.
Show LessHello
I am trying to use the RTC in order to keep track of time but I am having some difficulties with a few methods regarding the extraction of the values.
RTC_SetDateAndTime(0x00000000, 0x14000101); Trying to start the values for the time to be 00;00;00 (HH;MM;SS) and the year as 2000;01;01 (YYYY;MM;DD).
and for extraction and control I simply use the GattDatabase + CySmart (windows).
RTC_GetDateAndTime(&dateTime);
time = dateTime.time;
date = dateTime.date;
dataTimeDate[4] = RTC_GetSecond(time);
dataTimeDate[5] = RTC_GetMinutes(time);
dataTimeDate[6] = RTC_GetHours(time);
dataTimeDate[7] = RTC_GetDay(date);
dataTimeDate[8] = RTC_GetMonth(date);
//dataTimeDate[9] = (((RTC_GetYear(date)<<0)&0xff));
//dataTimeDate[10] = (((RTC_GetYear(date)<<8)&0xff));
The two rows above is an attempt to extract the two first digits and the last two digits of the YYYY
The values I succesfully write to the database and read with CySmart are 00;00;00 followed by 01;01;B2;00.
From this I conclude: Time Values are correct (the value for "seconds" of course start to move) but as for the date value, only day and month are correct. The Year always write B2, regardless of the value I set it to start with.
Best reguards
Kristoffer
Show LessHi all,
Can someone explain why I might be getting the following behaviour from a CYBLE-022001?
- CYBLE configured in observer-only mode: successfully gets scan results for all connectable (undirected) and non connectable (undirected) broadcasters
- CYBLE configured in GATT Client, GAP Central + Peripheral mode: only gets scan results for connectable (undirected ) broadcasters but does NOT scan any non connectable (undirected) broadcasters
In both cases, the broadcaster is another CYBLE configured as broadcaster-only with non connectable, undirected setting. Broadcast min/max time is 1000ms.
In both cases, the "listening" CYBLE has scan setting of scan window/scan interval is 30ms, timeout 30s.
Show LessDoes anyone know if it is possible to set the logic thresholds for the RX input pin of an SCB component is the same way as you can for a discrete IO pin? The architecture seems to suggest it should be possible in hardware but I cannot find how to configure it in PSoC Creator.
For background, I am trying to interface with a FT230X FTDI USB converter chip which has IO at 3.3V maximum, but with 5V tolerance on the inputs. My PSoC (actually it is a PRoC BLE Module, but I posted here because this question should apply to any PSoC/PRoC 4 chip) has to run at 5V for other reasons. It works fine as a prototype, but I am concerned that the CMOS high logic level is marginal (spec says 0.7*VCC minimum = 3.5V). Actual tests indicate the threshold is 2.2V on the prototype, but I do not want to chance my arm! The LVTTL specification of 2V minimum would be safe, but I do not know how to set this for the SCB component as opposed to a Pins component.
Since the threshold setting is per port, I layed out my PCB so one other 3.3V input was on the same port as the SCB expecting that setting that pin to LVTTL would set the entire port including the SCB RX (and TX). But when I try doing that in PSoC Creator 3.3 I get the following error:
pft.M0032:Pin Error: (Mixed Input Threshold. Cannot assign 'USB_ON(0)' with Input Threshold LVTTL to physical port 1 where '\SCB_2:tx(0)\' with Input Threshold CMOS is already placed.).
This is followed by error messages about the SCB rx and tx pins not having the same <vtrip> as the pin USB_ON.
But there is nothing on the SCB configuration about setting the Input Threshold.
Show Less