PSoC™ 4 Forum Discussions
If I were to build my own circuit board and would like to incorporate a cyc8c, like the one on the PSoC 4, what components and design circuitry would I need? What software would I use to program it.
Thanks
Show LessHi all,
I'm designing a board, using the SAR ADC of the PSoC4 with an external Vref of 2.5V. I'm measuring a 10k poty ranging from 0V to 2.5V when it's connected, that's all good. For information, the PSoC4 is powered in 5V (Vddio/Vddd/Vdda).
Although I'm having a question: is there a risk of damaging the ADC if the poty voltage exceeds 2.5V? I'm aware that the ADC will read full-scale for anything above 2.5V, but that's not an issue.
The reason is, when the poty gets disconnected, the pullup will pull the voltage up to the 5V rail. This is not a use case, so the measured value is garbage anyway, but I'm more concerned about potential risk to the device.
The following Vdd specs table makes me believe that it is not an issue
Thanks!
Show LessHey guys, I'm trying to interface RTC with pioneer kit cy8ckit-042 CY8C4245AXI-483. Tried this project https://www.element14.com/community/thread/25071/l/psoc-4-pioneer-kit-community-project035-uart-i2c-and-spi-joystick-example/
and added Char LCD, but it doesn't update time, just prints somethings like 00:00:86 and doesn't changes. And I don't understand where I can set my current time?
Here is my project
Show LessHi All
While debugging my project I am receiving two BLE Stack events, 0x104 and 0x105.
The project works OK but I am curious as to what they mean.
Does any one know their meaning?
Regards
John
Show LessHello,
I have a problem with deepSleep mode. I have Client and Server, that communicate together. When Server sends the new date, it has to sleep for 1 second.
if(data_send == TRUE){ LED_Control(RED); data_send = FALSE; ConnectionStop(); CyBle_EnterLPM(CYBLE_BLESS_DEEPSLEEP); CySysPmDeepSleep(); //waiting for wake-up CyBle_ExitLPM(); LED_Control(BLUE); ResetControlValue(); }//end if
Do I have to use CyBle_EnterLPM(CYBLE_BLESS_DEEPSLEEP) or only CySysPmDeepSleep()? I have a problem with wake-up. After wake-up BLE the communication between Client and Server doesn't work....
Show LessHello,
I have multiple inputs I need to debounce. All inputs are measured by GPIO Interrupt rising edge. I'm essentially counting the positive edges (or pulses) to determine the frequency. I have implemented a debouncer that takes in data for 10 states and outputs a debounced value. My problem is that it does not debounce accurately. Any help?
Here is my ISR subroutine:
CY_ISR(PortZeroISR){
uint8 i,j;
State[Index] = PortZero_INTSTAT & (0x07u << PortZero_SHIFT);
++Index;
j=0xFF;
for(i=0; i<10 ;i++)
j = j & State;
Debounced_state = j;
if(Debounced_state == 0x01)
FrequencyCounter++;
if(Index >= 10)
Index = 0;
// Clear Pending Interrupt
isr_PortZero_ClearPending();
// Clear Pin I nterrupt
PortZero_ClearInterrupt();
}
Thank you,
Rick
Show LessIn my application I need the I2C peripheral to operate as both a master and a slave. Would the correct configuration of the I2C be Multi-Master-Slave? Does this configuration allow one to change between being a master and a slave?
Show LessHi,
I am trying to design a new layout for a slider in the form for an arc of a circle. I have four pads on the arc. I have configured this to be a radial slider. But when I use the API to get the centroid position the maximum value of the centroid gets stuck at 3/4 of the resolution and in my case 75/100. I removed the last pad from the slider so that it had 3 pads but then it gets stuck to a maximum value of 2/3 of the resolution ie. around 66.
The radial slider in the capsense datasheet is defined as
"A radial slider is similar to a linear slider except that the sensors are placed in a circle"
Does this mean that I cannot have just a portion of the circle as layout for a radial slider and the last slider pad has to be close to the first slider pad?
The layout of the pads is attached in the PNG file.
Regards
Show LessHi everybody,
I've start to test my new psoc 4 pioneer kit and I've tried to run capsense tuning, enabling tune helper in CSD component, copying code suggested on reference to run helper:
void main()
{
CyGlobalIntEnable;
CapSense_TunerStart();
while (1)
{
CapSense_TunerComm();
}
}
but helper gui signal aways "read operation failed". I've noticed that tune helper config tab in CSD component properties has different (less) parameters than other reference, e.g. "psoc 4 capsense design guide". I've tried to use pscoc5 inside pinoeer kit as i2c bridge (it's seems supported by helper gui).
Does anyone has some experience about that? I'm a beginner with psoc world and try to find some help with this new one.
Thanks
Show LessHello everyone. I am working on a project with the proc module and I'm trying to generate pwm signals using the 4x PWM block instead of the TCPWM. I read in the Technical Reference Manual that the proc has 4 UDBs and that is where the pwm is implemented. What I cannot figure out is how do you assign the pins where the pwm signal will be outputted.
In the manual it says on Section 😧 Digital System Universal "Digital Blocks (UDB) chapter on page 133" but there is absolutely no information about the UDB on page 133 or on section D. Is there another document that explains how one routes the signals from the UDB to a gpio?
Show Less