PSoC™ 4 Forum Discussions
Hi,
I am new to the PSoC and have couple of hardware questions to the experts.
I am using the Pioneer kit as a development board and need to free up some port pins with out crippling the usability of the base board and the KitProg functions. I have left alone the SWD, I2C and UART pins that are connected to the KitProg but want to remove the FRAM and free up P5,0 and P5.1.
By doing so, can anybody know what functions of the Pioneer Kit will be affected? My other question is how important is SWD? I am planning to use the PSoC module 143 which has 256Kb of memory.
Thanks.
Nathan
Show LessHi there,
I'm using the CY8CKIT-042-BLE pioneer kit with the PSoC 4 CY8C4247LQI-BL483 module. I'd like to use a bluetooth app to drive a PWM signal, so I'm using the Android example code "Find Me" service with the "Find Me" target as the PSoC 4 BLE. The app connects to and can send the various alerts to the PSoC 4 BLE with no problem. However, if I add a TCPWM block to the project with an input clock signal at 480kHz, the TCPWM configured with a period of 50Hz (value of 4800), and a compare value of 4400 (approximately 1.5ms), the PWM output to pin 3.4 is completely inconsistent with the TCPWM configuration. The period is around 300ms with a duty cycle of about 16%, instead of a period of 20ms and a duty cycle of 7.5%. If I create a project with only the TCPWM (and no BLE module), the TCPWM behaves exactly as expected. Are there any known issues between the BLE module and TCPWM module? I'm attaching my two projects for reference. Any help would be greatly appreciated.
Thanks,
Becky
Show LessI need very small size Bluetooth module for my simple project. I saw a very small BLE Bluetooth module (10x10x1.8mm) and i was thinking to use my new project. I bought 5 of them. But when i tried them, they are not work like classic modules. I used HC-05 and HC-06 modules as well before, Classic modules are simple, just paired. But bigger than BLE.
My question is : Why BLE modules are very difficult for simple usage? My Ble modules (CYBL10563 IC) can't paired. Is there simple method for to use them like HC-05?
Show LessTo the Cypress team and Community,
What solutions are you using for software, and getting data to the cloud? Are you using dedicated gateways or smartphones? It would be nice to see some more examples using popular cloud based services like Blynk, freeboard, Ubidots, Adafruit IO, AWS or Google IOT.
In this instance, I am looking to use an app called Blynk, which is absolutely wonderful for a small company like ours to develop an IOT product without having to have a staff Android or IOS coder, which we could not afford. I have looked into developing my own app, which has proven to be particularly daunting for BLE projects.
The problem is that all example code runs on Arduino-style C++ programs. The list of examples for BLE is here:
https://github.com/blynkkk/blynk-library/tree/master/examples/Boards_BLE
I would like to dive in some more and try to port all of their libraries, but right now it seems like it would just be easier to use another device. If I opened a ticket, is this something that I could get help with, or is it too big of a project?
Thank you,
Tom
Show LessHi,all
I want to use the Printf () function to print the serial port information.
For example:
Normal:
UART_SpiUartPutArray("Helon Test\r\n",sizeof("Helon Test\r\n"));//Uart can print the serial port information.
Now,i want to do like this:
printf("Helon Test\r\n");//"Helon Test\r\n" receviced by serial tool.
so,my question is how can i do to print the serial port information by printf() function?And the _Write () function has been rewrited,but printf("Helon Test\r\n") still can't print the serial port information.the _Write () function as follow:
int _write(int file, char *ptr, int len)
{
int i;
file = file;
for (i = 0; i < len; i++)
{
UART_SpiUartWriteTxData(*ptr++);
}
return len;
}
Hi,
I am using PSoC4100M for a project. I have two SCB components. One configured as I2C master and the other as UART. The I2C and UART pins are routed to different ports. I2C on port 1 and UART on port4.
When I compile the project I get CyDsFit Error which says
"E2809: Unable to find a valid placement for pins and fixed-function blocks. See the Digital Placement's Detailed placement messages section in the report file for details"
and gives the following suggestion
The placer is not able to place all of the carry chains without backtracking. It fills one UDB bank to 15/16 and the other to 7/8 and cannot place the final 2-datapath chain. As a workaround, add a control file to the TopDesign component (in Workspace Explorer's Components tab) with the following lines: ATTRIBUTE placement_force OF \Timer_ADPActiveTime:TimerUDB:sT16:timerdp:u0\ : LABEL IS "U(2,0)"; ATTRIBUTE placement_force OF \Timer_OutputPeriod:TimerUDB:sT24:timerdp:u0\ : LABEL IS "U(3,1)"; ATTRIBUTE placement_force OF \Timer_OutputActiveTime:TimerUDB:sT24:timerdp:u0\ : LABEL IS "U(0,1)"; This will fill the datapaths in the second UDB bank and allow the placer to assign the remaining datapaths.
I added the above lines to the control file. But it still gives the same error.
Please find attached the project bundle.
Best Regards,
-arp
Show LessHi:
I want to use the PSoC4 EZI2C Slave block.
I also study the example "SCB_EzI2cCommSlave", but I can't find where i can get the sub-address from master.
In this demo project, it is said that the read base address is 0x03, but I can't find where it is set?
For example:
The master want to read data from sub-address"0x01"-"0x05", how can I set the slave?
Best regards
thanks a lot.
Show LessHi all,
Here is what I’m trying to do:
I have a broadcaster who advertise data every 2 seconds. And I want to collect those adv data on my computer with my custom Labview program.
I have installed CySmart 1.2 on my PC and I’ve read the document about CySmart Dongle DLLs and APIs.
Now I want to connect those DLLs in my Labview program so I could use those APIs to get adv data from my broadcaster.
But I’m trouble calling those DLLs in labview. I just want to make sure this is totally doable and I don’t want to make efforts in vain eventually if this is not feasible at all.
And if it is feasible, can you tell me how to do that? Is there an example?
Btw I am using Labview 2013.
Show LessHi All!
I am using the CY8C4126AZI-M445 as MCU. I will control 31 capacitive sensors and I will drive to led display also. So, I have to optimize pin using.
For this reason, I plan to use HC595 ICs to drive display via SPI. But I won’t use MISO pin in our project and I don’t want to assign any pin for MISO of SPI. When I try don’t assign, after build operation, complier assign automatically. What can I do ? PSOC4 SCB Module(Ver 3.10) has not bidirectional option for SPI. Could you guide to me what can I do use SPI module with only 3 pins ( MOSI,SS,SCK) ?
Thanks in advance
Show LessI using to the PSOC 4 with CY8C4126LTQ-M445.
when Program(Ctrl+F5] button is push. The message is appear " PSOC creator error dbg.M0023 (102-failed to erase the flash)"
i dont solve the problem. Tell me know the method~ please!!
installed software as follows
1. PSOC creator 3.3 CP3
2. PSOC Programmer 3.23.0 (PSOC Programmer 3.24.1 : the same symptoms)
Show Less