PSoC™ 5, 3 & 1 Forum Discussions
Hi,
I am new to PSoc programming with a little idea as how to programm this device. My aim is to design a data acqusition system which should have two channels to acquire voltage and current. For this i am planning to use delta sigma ADC with a MUX. Variation in voltage and current should be displayed in LCD. Finally data acquired can be transgered to PC using UART. I have attached my project file for for your reference as how i want the system. Please, guide me to the programming to acchive the desired result.
Thanks & regards,
VIkas Kumar
Show Lesscould you pl help me for getting example code for UART communication using UART interrupt.
Hi All,
I have a MFRC5222 and a PN532 board for rfid.
I am trying to implememnt RFID on my project using the psoc5lp but am having difficulty. I tried to search online for solution with no luck.
Both boards allow I2C or SPI but I have tried bot and am hitting a brisk wall.
Can anyone give me some advice? I have allot of experience with i2c but even with my logic analyzer with decoder I cant find the problem.
As for SPI, I dont really have any experience with it.
Best Regards,
Rob Berry
Show LessHi every body.I use an electronic board that contain at25f2048(eeprom).So i want to connect psoc5lp prototype kit with this eeprom chip.I want to know how can i use eeprom component in psoc creator to write and reed in my chip?
tanks for your attention and supporting...
Show LessHello together,
i have an SDP601 Sensor http://www.mouser.com/ds/2/682/Sensirion_Differential_Pressure_SDP6x0series_Datas-767275.pdf
The Sensor uses I2C to communicate. I have connected the Sensor to a PSOC 5LP Development Board but it doesn't work.
#include <project.h>
#define I2C_SLAVE_ADDRESS (0x40)
uint8 temp;
uint8 status;
uint8 Sensor_Command = 0xF1; // Command for Sensor
uint8 Sensor[3];
uint8 i= 0;
uint8 j= 0;
int main()
{
CyGlobalIntEnable; /* Enable global interrupts. */
LCD_Start();
I2C_Start();
status = I2C_MasterSendStart(0x40, I2C_WRITE_XFER_MODE);
if(I2C_MSTR_NO_ERROR == status) /* Check if transfer completed without errors */
{
status = I2C_MasterWriteByte(Sensor_Command);
}
status = I2C_MasterSendStart(0x40, I2C_READ_XFER_MODE);
Sensor[0] = I2C_MasterReadByte(I2C_ACK_DATA);
status = I2C_MasterStatus();
Sensor[1] = I2C_MasterReadByte(I2C_ACK_DATA);
status = I2C_MasterStatus();
Sensor[2] = I2C_MasterReadByte(I2C_ACK_DATA);
status = I2C_MasterStatus();
I2C_MasterSendStop(); /* Send Stop */
LCD_PrintInt8(Sensor[0]);
LCD_PrintInt8(Sensor[1]);
LCD_PrintInt8(Sensor[2]);
while(1)
{
}
}
I tried many other code but it will not work. What can I do? Can you write working example Code?
SCL is connected to P0[0] SDA is connected to P0[1]
The LCD is connected to P2[0]-P2[6]
Show LessHi!
I want to implement iOS Bootloader for a product base on CY8CKIT-033A.
I follow chapter 5.20 of the document CY8CKIT-033A_PSoC3_MFi_DVK_User_Guide.pdf finish the firmware,and follow chapter 7 finish the EA Console iOS app.
I download the firmware to the product via the Miniprog3, it works well.
I modify the firmware, only change a GPIO assigned for LED, and upgrade the EA Console.
Clean and build the project and press Run. The EA Console app was installed on the iPad mini.
I select the Bootloader Demo, and connect the product to the iPad mini,a button "Install" is appear.
I select the code image corresponding to my PSOC Creator project,and tap that button,the firmware is downloading to the product.
Every thing is just fine right here.
But, when I run the product, its behavior of the LED dose not change a bit.
Is there anything wrong? Or something that I miss?
Best regards.
Show Lesshi friends
I want to access a reg type variable in Verilog. Normally I can send data to verilog with CY_SET_REG8 command.
for example CY_SET_REG8(ParalelToSerial_1_MyTxReg__CONTROL_REG,0x81);
So How is the Verilog variable sent to the C side?
Show LessHello,
I use a custom board with a PSOC5. Until now, the board run perfectly. From one day to the next the board has no function - supply is OK, we had no overvoltage, etc ...
I can not successfully program this board. The current consumption of the device is 26 mA at 12V (with a voltage regulator down to 3.3V)
PSCO Creator OUTPUT :
Programming started for device: 'PSoC 5LP CY8C5667LTI-LP041'.
Device ID Check
WARNING! JTAG/SWD communication for PSoC3/5 is not stable with the clock above 3.2 MHz! Please select lower clock option in case of failures.
Erasing...
Programming of Flash Starting...
Error: dbg.M0023: There was an error while programming the device: PSoC Programmer reported error (103 - Failed to program the chip!)
Does anyone have an idea or solution approaches?
Thank you