PSoC™ 4 Forum Discussions
Hello,
I just recently bought a PSoC 4 BLE module. I am new to the PSoC environment and my previous experience with microcontrollers and development boards is restricted to the Arduino IDE. I have a doubt regarding interfacing sensors with PSoC. The sensor I am using is an LM35 temperature sensor in the 3-pin TO-92 package (datasheet attached). In the Arduino IDE, reading data from sensors is simple since they have a built-in serial monitor and a few simple commands such as Serial.Read() and Serial.Write(). I was wondering if PSoC had something similar and if not, how I can read data from the sensor and display it on my PC screen.
Thanks and regards,
Ganesh
Show LessHello,
I have routed in layout/PCB an I2S microphone to PORT4 on a PSoC4 (4200 series). The fitter throws the error:
'SCK(0)' cannot be placed at P4[0]. P4 cannot be used for routed connections. (App=cydsfit)
In my search for this error I came across this Cypress Forum Discussion. After review of the reference section of the TRM I am feeling out of luck for my existing design but I must pose the question:
Is there a way around this other than the obvious disregard of existing hardware, redesign, and then ordering new boards?
Thanks,
Wess
Show LessHi,
Something weird happened when I try to run PSoC 4 BLE. A reset pin needs to be as low as ground ordinarily, and goes up and down to send falling edge as RESET signal. I used a digital output pin with Strong Drive mode to do this reset job on PSoC 4 pioneer KIT, and it works very well;
However, when I tried to use the exact same codes on PSoC 4 BLE KIT, the reset pin is not able to be as low as ground ( not 0 ).
Only High Impedance Digital/Analog mode could be successfully written "0"; however, under those two High Impedance modes, the falling edge control does not work.
Could anyone tell me what can I do with the weird PSoC 4 BLE KIT?
Thank you!
Show LessHi
I create a custom server profile, after creating connection with client I send notify from client , I got event CYBLE_EVT_GATTS_WRITE_REQ , in this event I just send data to client using CyBle_GattsNotification() method , once it sent to client but after that again when I sent data it not sent. Is there anything I missed in these process which I have to enable or disable anywhere in my code. if there then please prove API for that. Thanks in advance.
Show LessI am using the sample project called Health Thermometer with the CY8CKIT-042 and I am able to use the PSoC BLE Module. When I change the Project/Device Selector to the EZ-BLE PRoC (CYBLE-022001-eval) - I get an error that the Thermistor Calculator is not instanced. The data sheet for the Thermistor Calculator is silent on why it can not be used with a PRoC.
I am looking for an example project for the EZ-BLE PRoC with analog ADC input design. I come from a PIC background and am new to PSoC Creator and trying to understand how to setup analog inputs to the ADC. thanks
Show LessI'm having a weird problem. I'm driving a LCD05 with I2C, and I use a button to return to the bootloader. I'm using a CY8CKIT-049-42xx.
The code below works fine, however if I remove the 1s delay in the for loop, or set it to something lower, say 100ms, the bootloader does not work properly when activated. The led flashes and I get the "Bootloader ready" on the display, but the bootloader host says:
- Communication port reported error 'Unable to read data from the target device'.
And times out after 5s, then I have to physically reconnect the usb-connector to get the following error:
- The bootloader reported error 'Unknown error 0x98 occurred in the bootload process'.
Pressing the program button again after that programs the processor. Any ideas?
I'm running PSoC creator 3.3 in win7 in WMware on a mac book pro.
The display: http://www.robot-electronics.co.uk/htm/Lcd05tech.htm
#include <project.h>
Show Less#define LCD_MODULE_ADDRESS (0xC6u)
uint8 blFlag = 0;
CY_ISR_PROTO(enterBootloader);
CY_ISR(enterBootloader)
{
blFlag = 1;
}int main()
{
CyGlobalIntEnable;
BL_ISR_StartEx(enterBootloader);
I2C_Start();
I2C_LCD_Start();
I2C_LCD_HandleOneByteCommand(0x1f, 0xff); //Set brightness to 0xff
CyDelay(1000u);
uint8 i = 0;
for(;;)
{
I2C_LCD_ClearDisplay();
I2C_LCD_PrintInt8(i);
i++;
CyDelay(1000u);
if( blFlag == 1)
{
I2C_LCD_ClearDisplay();
I2C_LCD_PrintString("Bootloader ready");
Bootloadable_Load();
}
}
}
Recently, I bought PSoC® 4 CY8CKIT-049 4xxx Prototyping Kit and I am trying to load a bootable program to it but I got always this error: "The flash row is not valid for the selected array error". I think there isn't any problem with drivers because I could configure its setting with "USB serial configuration utility" How can I solve this problem.
Secondly, without bootloader can I program it with "program" (Ctrl+F5) command in PSoC creator? Because I tried it before but this tool couldn't reach my device.
Show LessI just download the file CYBL10X6X Symbols and PCB Footprints - Mentor PADS, but I can not find the footprint on my pads9.5. How to solve it?
Show Lesshello sir,
i have using CY8C21434-24LFXI capsense controller for home automation application. i have getting touch problem simultaneously due to the the Cmod capacitor changed the actual value. i can't find the solution for that.
so help to find the and solve the problems. tell me how to choose the Cmod capacitor type.
Show Less