PSoC™ 4 Forum Discussions
Hello,
I am using a PSoC 4 (CY8C4245PCI-482) and plan on putting the device into STOP mode to conserve power. I am freezing the IO, but I also want to retain the states of the output. Is there any flash that I can store the states of the GPIO in? It appears that the following works when I go into hibernate mode: uint16 CY_NOINIT switchState,but I am also looking for an alternative that will also work in STOP mode.
Thanks,
Garrett
Show LessHi All,
I'm using creator 3.3 and a 4M target (CY8C4247LTI-M475). I don't get any option to use the LFCLK as a source in a new clock component (only HFCLK), and when I use 'existing' and connect to LFCLK the fitter complains that the counter clock input needs to be connected to a clock domain signal.
I feel like this might be something really stupid I'm missing but does anyone know how to do this?
Ultimately I'm trying to count pulses on an input pin while in deep sleep. I guess there are other ways to do this, but it seems odd that I can't get schematic access to the LFCLK.
Anthony
Show LessHello,
I am developing an application on PROC4 BLE. I am using BLE component with no authentication and no encryption. Initial starting, scanning functions are working well. After discovering a GAP device I receive peer BLE device address from an event parameter of event CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT.
Now for connection purpose, Cyblegapcconnect() function requires a data structure pointer of type CYBLE_GAP_BD_ADDR_T. This structure has bdaddr[CYBLE_GAP_BD_ADDR_SIZE] which is an array of the address of the device to be connected.
I used "memcpy" function for converting received address into array bdaddr.
GAP device is successfully discovered. Address is also received and passed to the connect function mentioned above. But Cyblegapcconnect() is not working and not returning any apireult. It is also NOT generating the event CYBLE_EVT_GAP_DEVICE_CONNECTED.
What may be the faults or errors?
Thanks.
Show LessHi guys!!!
I want to read 5808 Byte from my APP on my Android-phone. Because of that i want to use ReadLong... I know that i could segment my data into MTU-3 Byte chunks but i think this is more efficient. Does anyone of you have experience reading data over ble with GattcReadLongCharacteristicValues? I would really appreciate a examplecode snippet or a little guide...
I look forward to your answers!
Show LessHello,
I am new to PRoC BLE, so confusion abt Deepsleep mode and connection interval parameter. I am referring following project http://www.cypress.com/blog/100-projects-100-days/project-020-uart-ble-bridge
I am keeping connection interval min 7.5ms, max 10ms, latency 0 and connection timeout 4sec in this project, to do the fastest data transfer. I have measured current consumption is abt 5mAmp, either it transfers data or not. I am trying that system stay in deep sleep mode, when there are no data. But due to the lowest connection interval, system is waking up at every (7.5+10)/2 ms. So is there any possibility to avoid connection event? I can not use latency parameter, because if data is available then I want to transfer it immediately.
Any suggestions are appreciated.
Show LessHi to all,
This is more general question, Bluetooth related, but it shouldn't take you much time to answer it...
Just to clear things up. I have one BLE Peripheral device (Server), and one Central device (Client), let's say mobile phone.
If my server is in one of the low power modes, there is no way that Client can wake it up from it, right?
Thanks
Show LessI have a simple BLE and accelerometer design with one service, and one characteristic. The BLE profile is custom, but the application is based off the capsense example. The client connects to GATT and enables notifications on the characteristic. The client then starts receiving correct notifications from the PSoC 4. The problem is that the client receives a disconnect after exactly 30 seconds. We've programmed the client to reconnect, which works just fine. But it always gets a disconnect after exactly 30 seconds. We don't do any reads or writes on the characteristic. I've tried modifying the various relevant parameters in the BLE configuration in PSoC Creator 3.3.
Any ideas on why we're disconnecting after 30 seconds?
Show LessWe need to verify the checksum of the application image in the Cypress PSOC4 (256K). Currently our checksum check includes all of flash (including supervisory flash sflash). How can we verify only only the application image in flash at runtime. We need to do the checksum from the actual application running in flash.
thanks
Rick
Show LessHi,
I am troubleshooting an antenna problem. I have made a custom board and am able to program a PSoC4 BLE chip. I tried to receive data from the chip but it seems that my antenna isn't matched correctly. That aside, I have tried to probe the antenna pin in this chip as well as the PSoC4 BLE chip on a Pioneer Board Kit with an oscilloscope. It seems that I am only picking up a grounded pin instead of waveforms when the chip is transmitting data (I have data coming up on my phone so the chip is in fact advertising).
Are the waveforms on the order of millivolts? Should the connection be pin => oscilloscope probe => ground? (typical setup)
Show Less