PSoC™ 4 Forum Discussions
I want to make use of the watchdog in my project and the mcu i choose is CY8C4146LQIS433 ,but i don't know how to enable it , i enable the watchdog timer in PSOC Creator,but the driver code is still commented out.
how do i set to eanble the function? thanks.
Show LessHi i am trying to program a CY8C4146AZS-S265 which i have developed on a PC board. i am using MiniProg3 to flash the code by using SWD prtotocol and dedicated pins. pin 20 and Pin 21 on uc. sometimes the code burns and sometimes it gives error. whereas whenever i use the flasher that has come with CY8CKIT-149 PSoC® 4100S Plus Prototyping Kit, the code successfully burn every time. what could be the cause??
Show LessH
Hi Team,
Please let me know the tools to calculate the power consumption of PSoC4.
Basically we use capsense.
When estimating the current consumption at this time and estimating the power consumption of the entire PSoC 4 MCU, can I estimate the power consumption for each component used internally?
For example, use one GPIO and use UART with SCB.
In circuit design, I would like to calculate in advance, so please let me know if there is any way.
Thanks and regards,
Show Less
Here is the problem: sometimes when the Android app tries to connect to our PSoC 4 device, Android cannot connect and reports error code 19 then several error code 133. Continuing to try reconnecting will result in a successful connection. I've searched the Internet and this seems to be a problem across all chip makers (TI, Nordic, and Silicon Labs) and the answer always seems to be that it is a known problem in Android, does not happen in iOS, and some Android phone models are worse than others. Does anybody have a good solution to mitigate the problem?
Show LessI am new at PSoC and I am trying some of the samples.
In PSoC_4_BLE_RGB_Power_LED I get a build error on CYBLE_STATE_ADVERTISING undeclared (first use in this function).
Anyone know how to help?
Show LessFor some reason the following code does not return the expected BLE ID from a specific android device. I've checked in the android "status" screen to find out what the ID should be: A0:CB:FD:7B:CA:67 I'm receiving 65:67:09:96:b4:95 though it seems that between compiles sometimes the value it returns changes I just got 63:c9:63:01:ee:5d for the same device. It does provide different BLE IDs for different devices and it does seem to be static per device for some set of time. It's just unreliable.
Following code is used:
case CYBLE_EVT_GAP_DEVICE_CONNECTED:/*Device connected*/
/* Enable notifications on the server side */
{
volatile uint8_t addr[CYBLE_GAP_BD_ADDR_SIZE];
CYBLE_GATTC_WRITE_CMD_REQ_T write_server;
CYBLE_GATT_ERR_CODE_T gattErrCode;
uint32_t connected_ble_addr[2];
if(CYBLE_ERROR_OK != CyBle_GapGetPeerBdAddr(connHandle.bdHandle, &connected_addr))
{
printf("Couldn't retrieve peer address.\r\n");
}
addr[0] = connected_addr.bdAddr[0];
addr[1] = connected_addr.bdAddr[1];
addr[2] = connected_addr.bdAddr[2];
addr[3] = connected_addr.bdAddr[3];
addr[4] = connected_addr.bdAddr[4];
addr[5] = connected_addr.bdAddr[5];
connected_ble_addr[0] = addr[5] << 8 | addr[4];
connected_ble_addr[1] = addr[3] << 24 | addr[2] << 16 | addr[1] << 8 | addr[0];
printf("peer address - %02x:%02x:%02x:%02x:%02x:%02x \r\n",
addr[5], addr[4],
addr[3], addr[2],
addr[1], addr[0]);
}
Show LessHello everyone,
I wonder if anyone could have a quick look at my project to suggest what I am doing wrong. This is a project that I had downloaded from Sam's blog, and I am following pretty much what he recommends. The code runs but throws an error that " MPU6050 connection failed" followed by printing 0 all over.
I would like to mention that: 1. I have used this code previously, and it had worked. 2. I testecMPU6050 unit Arduino and it worked fine, which means sensor board is OK.
Some of the community members had previously helped me getting started with this project. I am hoping they would me understand the issue. I am attaching the project below. I would appreciate if someone could run on her computer.
Show LessHello
I have been doing electronics since 1968 but BLE only for 1 month.
I have a very simple project with two modules (each equipped with a CYBL10162-56LQXI) that I have to make in 15 days!
A push button on one module, a relays on the other module.
If the button is ON the relay must be ON
If the button is OFF the relay must be OFF
I use PSOC4 V4.2
Thank you
Yves
Hi,
I'm researching what is the maximun throughput via notification that can be achieved. Is there any limitation regarding the number of packtes in one connection interval?
I want to send a max of 32 bytes a packet, how do i know how many packets it will send?
Thank you
Show Less