PSoC™ 4 Forum Discussions
I am using the PSoc 4M -Series Prototyping Kit. CY8CKIT-043
I am creating a solution which involves the generation of a waveform (GPIO output) that can be used to trigger older hardware light controllers.
I have decoded the old signal and discovered that there are 2 unique Periods with 3 different duty cycles.
I have discovered that the CyDelayUs() is not providing me with the microsecond resolution that is required. An associate mentioned that I should make use of the PWM components in the library. Brought in the PWM component and setup the period and the CMP value 1. Loaded the application and the PWM component generated a repeatable and very accurate pulse.
My goal was then to expand the design so that control when the signal generation occurred. There is an option on the PWM component to use the "one shot with multi trigger mode". I added in a control register block that would send a direct pulse to the PWM block.
I have been unable to get the one shot trigger working. The PWM_Start() block has been called in main.c, the control register block is called with a value of 255 (all the bits) and the interrupt that I have attached in the PWM component never hits.
Does anyone else have any ideas for a solution.
Thanks in advance.
Show LessHello,
I'm trying to follow "Pairing and Bonding with a Fixed Passkey" in document "EZ-Serial BLE Firmware Platform User Guide".
I'm stuck when I get error response for command SSBP:
TX-> SFPK,P=1E240
RX-> @E,000B,ERR,E=0203
I tried setting this on peripheral and central side and I tried calling it when connected to a remote peer device and when CYSPP is not running.
Is there any specific configuration I should set before calling this command?
Is there any description of error codes available?
Show Less
For Those of You About to Make – We Salute You
MAKEMIT is an engineering makeathon that brings together over 250 students who are passionate about designing and building. Across 18+ hours, groups of makers work together to develop an idea and materialize it through the engineering design process. The event begins at 7 AM on Saturday Feb. 22 and ends at 12:30 PM On Sunday Feb. 23.
Cypress is sponsoring this event by donating PSoC 4 BLE and PSoC 5 development kits. We are sharing resources in the community to help attendees prepare and to engage our other community members. Participation in the event is open to all undergraduate students. Complete details are available on the MAKEMIT website .
We have created a thread on the Cypress community “Event: MakeMIT 2020 Q and A” This thread will be monitored by Cypress technical volunteers 8:30 AM to 11:59 PM Feb. 22 and 7:00 AM until 10:00 AM Feb. 23 2020 (EST). All members of the greater Cypress community who wish to ask questions or help with technical support are welcome to participate.
Schedule:
Saturday February 22
7:00 AM Venue opens
8:30 AM Hacking begins
11:59 AM Hacking Pauses
Sunday February 23
7:00 AM Hacking begins
10:00 AM Hacking ends
10:00 until 11:30 AM Judging
11:30 AM Top teams present
12:00 PM Winners Announced!
We will post some of the top hacks on Cypress social media and in this blog.
C. U. A. round
Patrick
Show LessHi i want to interface the 2.4" TFT display interface with psoc 4 Microcontroller . Display driver is ST7789V. please share some reference code or any basic code to start with.
thanks in advance .
regards
Rajakumar
Show LessIs it possible to program through bluetooth a psoc 4 ble, for example for tuning the capsense parameters without using the SWD connections but instead bluetooth?
Show LessHi
Most likely RTC function RTC_ConstructUnixAlarmTime contain error:
/* Calculates Year value of first Alarm based on current time and Alarm Config Mask */
tmpCurVal = RTC_1_GetYear(curDateTime.date);
if(0u != ((~((uint32)alarmCfgMask)) & RTC_ALARM_MONTH_MASK)) should be: RTC_ALARM_YEAR_MASK
But maybe I'm wrong?
Thnx.
Show LessHello,
I have three questions about PSoC4S Clock component.
I am using for PWM.
I tried three kind of configuration for Clock component.
In this case, I set the HFCLK as trimmed with WCO.
1.if "Clock type" is selected to "Existing", I have an compile errors like below.
Why?
2. if "Clock type" is selected to "New", "Source" is "Auto" and "Tolerance" is +/-0%,
is the clock accuracy ensured to +/-0.2% that is HFCLK's one?
3. if "Clock type" is selected to "New", "Source" is "Auto" and "Tolerance" is +/-5%,
will the clock accuracy be within 5% or will be ensured to +/-0.2% that is HFCLK's one?
Best regards,
Yocchi
Show LessHi.
My customer use PSoC 4100S Plus (CY8C4147AZI-S455 or CY8C4127AZI-S455).
I understand , the maximum source current per GPIO pin should be less than or equal to 4mA and maximum sink current per GPIO should be less than 8mA.
Maximum current per GPIO is -25mA to +25mA.
Can GPIO source current be used at 16mA?
My customer wants to pass a little big current.
Show Less