PSoC™ 4 Forum Discussions
Hi,
Since CySmart is not open source, the only way to get data through BLE dongle is serial port communication; we got programmer to burn .hex file, however not sure about what kind of IDE and source firmware of the dongle.
In order to get data in PC through the dongle, could anyone tell me how should I write/modify my own firmware? In what IDE and how to find the firmware source?
Thank you!
Show Lesshello ! can you tell me?how to send device adress of CY8CKIT-042-BLE as raw data?
Hello all,
Greetings for the day.
I want to take out the PSoC 5LP part of the PSoC 4 Pioneer board & use miniProg3 to program the PSoC 4 devices. What changes should I make if I wish to design mine own PSoC 4 controller board programmable with miniProg3 (without PSoC 5LP part on the board). Please Guide.
Thanks & Regards-
Amit
Show LessHi All
My MiniProg3 is having an issue of heating if it remains connected to PC for more than a minute. We are planning to order a new MiniProg3, but I need to finish some critical tasks before it arrives. Can anybody please guide me how to program and debug the CY8CKIT-049 Prototyping Kit without using MiniProg3?
Thanks and Regards
Shaunak
Show LessHello All,
I am just starter working with PRoC, so please excuse me for maybe trivial question but could you help me to understand why specification (CYBLE-022001-00 ) said that one of two ferrite beads need to be used for power supply of the module ( see picture attached ), and why only this specific ferrite BLM21PG331SN1D from Murata need to be used?
so in general my questions are:
a) What use cases of module drive to use single or double ferrites?
b) Why this specific Ferrite need to be used? Is it related to FCC to provide necessary filtering for the radio? If the filters could be used different and if yes which parameters are critical?
Even if the module is very small 1cm x 1cm in application I have to guarantee the additional space for those ferrites so please help me to understand the background of this proposal.
Thank you very much
Weed
Show Lesshello i just started psoc-4-ble-101 video lectures. i am making find me profile. but in main.c i am getting error like implict declaration of CyBle_GappStartAdvertisement .can you help me?
Show LessI am using the Adafruit light sensor TSL2591 and I am not able to read the device ID (should return 0x50) however the ID returns the ID address rather that the value. In this code deviceID = tsl2591_ReadReg(WHO_AM_I) returns a value of 0x12 not 0x050 as expected. Any thoughts? (I am using a Pioneer kit)
uint8 tsl2591_ReadReg(uint8 Reg)
{
uint8 Write_Buf[1] = {0};
Write_Buf[0] = Reg;
uint8 Read_Buf[1] ={0} ;
I2C_1_I2CMasterWriteBuf(TSL2591_ADDR, (uint8*)Write_Buf,1,I2C_1_I2C_MODE_NO_STOP);
while ((I2C_1_I2CMasterStatus() & I2C_1_I2C_MSTAT_WR_CMPLT) ==0) {}
I2C_1_I2CMasterReadBuf(TSL2591_ADDR,(uint8*)Read_Buf,1, I2C_1_I2C_MODE_REPEAT_START);
while((I2C_1_I2CMasterStatus() & I2C_1_I2C_MSTAT_RD_CMPLT) ==0){}
return Read_Buf[0];
}
Show LessHi All
I am working in a direction of programming my PSoC4 prototyping kit through its USB using the bootloadable component instead of Miniprog3. I went through the procedure defined in the document and successfully programmed it using USB.
The procedure is:
1. Put a bootloadable component in schematic.
2. Go in its configuration and click the "Dependencies" Tab.
3. There is a UART_Bootloader.hex and a UART_Bootloader.elf file given by Cypress. Set these files as dependencies.
4. Build the program.
5. Place the USB part of Prototype kit in PC while pressing the Reset switch. Verify the proper placement when the kit LED starts blinking at 500ms interval.
6. Go to Tools->Bootloader Host.
7. Give the path of file projectname.cyacd as projectname.cydsn->Cortex-M0->ARM_GCC_493->Debug
8. Select the COM port.
9. Set UART baudrate as 115200.
10. Click "Program".
I am having an issue with this method. After programming, the PSoC4 works well according to requirement. But after a few power resets, it starts blinking LED at 500ms interval which is not as per my code. When I studied that UART_Bootloader code, I came to know that there is a PWM component in it that generates 1Hz pulse. What I understood from that code is that when we properly place the kit in USB of PC, the blinking LED indicates successful placement. So I guess the PSoC4 gets confused between two hex files to execute: 1. UART_Bootloader.hex 2. projectname.hex and sometimes it runs the UART_Bootloader.hex.
Is anybody else facing the same issue? If anyone knows the solution for this, please guide me. I want to put a habit to use this bootloadable component for programming.
Thanks and Regards
Shaunak
Show LessHi
I used CY8C4014SXI-421 for the touch key.
I have used I2C slave for the serial communication.
my customer want to using SPI for the serial communication.
I know the CY8C4014SXI-421 have no SPI Block.
but I have to make SPI for the customer.
Can I make SPI using CY8C4014SXI-421?
Thanks
Show LessI've hooked the 5 interface pins between the Pioneer Kit and the Prototyping kit, and it works wonderfully. Right up until I include a UART component in my design. I can program the 4100 using the regular sequence Debug->Program and the 4100 will start spewing data out the Prototyping Kit's built in serial bridge. But if I try to get into the debugger: Debug->Debug Start, the board starts spewing data and the PSoC Creator Error dialog shows: "Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)" The 'more details panel shows "There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again." The output window shows: "Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)"
This happens whether or not the USB cable is connected to the Prototyping Kit.
Any way to get both debug and serial bridge to work at the same time?
Show Less