PSoC™ 4 Forum Discussions
Hi I''m trying to read the value of a GPIO pin on the Cy8CKit-040 PSoc4 4000 Pioneer Kit). I want to read this value in Debug mode, and see how the value changes accordingly. For some reason, I cannot create a Watch expression for the variable that I am trying to observe.
Attached is my main.c file.
Analog_In_Read is the name of the Analog Pin I want to read. I have set this pin to be P0_0 on the MCU.
Thank you for your time
Show LessIs there any one who can help me to interface KY-039 fingertip heart rate monitor sensor with CY8CKIT-042. I tried it but I am not able to complete it.
Show LessWe are developing a product with the CYBLE-214009-00 EZ-BLE PSoC Module. It is clear that there shouuld be a keepout area around the antenna, but is it allowed to place tracks, vias and planes under the part between the pins?
To be honest I am a bit confused because the CYBLE-214009-EVAL EZ-BLE PSoC Evaluation Board has quite a strange layout without Ground-plane in the vicinity of the module and no traces under the module.
I am using CY8CKIT-044 for development purpose .
When i tested the lin slave example by putting a break point at frame id read state , it was hitting every time when i send the frame at 19200 , 14400,10400 baud rates .
However when i reduced to 9600 baud rate it stopped hitting break point .According auto baud generation it should work for all baud rates but this is not happening .
The only change i have done in example project is setting baud rate to 19200 before it was 9600 when opened first time .
Show Less
I want to write an app to replace cysmart to implement ble upgrade, but do not know the specific bluetooth protocol, can someone provide some relevant documents?
Show LessHi team,
Iam trying to set one 4200 BLE CPU at Stop Low Power Mode. The snippet of code to do this is the following
inline void GotoStop()
{
CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW);
printf("\r\nSLEEP\r\n");
CyDelay(1000);
UART_Stop();
CySysPmStop();
}
but unfortunately nothing happens. The power consumption remains the same.
The strange thing is that if I changed the first code line from CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW); to CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_HIGH); the CPU goes at Stop mode and the power consumption is almost zero.
But as far as my hardware asks for falling edge at pin P0.7 for wake up, the CPU remains at Stop Low Power Mode forever.
Any idea, or suggestion?
Thanks
Bill
Show LessHi,
We are using CYBLE-012012-10 Module for our Project and interfaced Sensor through UART. We need to set Beak out On Uart. Kindly Suggest us how to setup breakout and hold for 50ms.
Thanks and Regards,
Kranthi Talluri
Show LessHi team,
Iam trying to set one 4200 BLE CPU at Stop Low Power Mode. The snippet of code to do this is the following
inline void GotoStop()
{
CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW);
printf("\r\nSLEEP\r\n");
CyDelay(1000);
UART_Stop();
CySysPmStop();
}
but unfortunately nothing happens. The power consumption remains the same.
The strange thing is that if I changed the first code line from CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW); to CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_HIGH); the CPU goes at Stop mode and the power consumption is almost zero.
But as far as my hardware asks for falling edge at pin P0.7 for wake up, the CPU remains at Stop Low Power Mode forever.
Any idea, or suggestion?
Thanks
Bill
Show LessWhile i compile the program on main.c
their have a message that "Error dbg.0023 There was an error while programming the device: failed to reacquire the device"
So how can i fixed it? t
PS. the message box tell that we should config the port. But i don't know how to config it thanks.
Show Less