PSoC™ 4 Forum Discussions
Hello 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 LessI tried to make a new project for the CYBLE-014008 module, and I got the following error message:
"The design wide resource file has unexpected errors: (File not found.). Information in the design wide resource file may have been lost. Contact Customer Support for help on this issue."
I would like to work on assigning pins and verifying that the 014008 will have the resources I need for my new project. Do I need to have a .cydwr file to do that within PSoC creator? And if so, where can I find one?
Thanks
Show LessHello,
I am a new member in this forum and I don't speak English very well.
I'm working with CY8CKIT-046 PSoC 4200L and I'd like to build a Chebyshev filter. The scheme is shown in Figure1.
When I build my circuit I can't connect the OpAmp3's output pin with the external resistor R4a and P3minus with R3b (and C3a) because these pins are not present as output ports (see Figure2 and Figure3).
Is there any way to solve this problem?
Show LessHi
Can anyone give me some advise on using the watch dog timers.
I have selected it as having an interrupt every 1 second.
But not exactly sure what to call, or how to write the interrupt.
I am sure there is a app note but I am having hard time finding it.
Thanks for your time
M S FOSTER
Show LessHello,
I was wondering if the CySmart software, or any other software from Cypress to scan and connect the Bluetooth Low Energy peripherals on Windows 7, 8 or 10, is available as a source code distribution?
It would be ideal if the license would allow commercial use, but even just the study of the code would help us a lot in our project.
All the best,
Julian
Show Less