PSoC™ 4 Forum Discussions
Hi,
I wanted to send the data packets from ble to mobile.it's working fine , and the packet size is 20bytes .
Now i want to send more number of bytes per each packet.
can you please tell me maximum number of bytes sending /packet supported by psoc 4 ble.
Thanks in advance.
Show LessHello,
i had used cy4245 and Em_eeprom component in 4.1. it was working well. after updating to 4.2 Em_EEprom component updated to 2.0.
i updated the functions according to 4.2 api
in 4.1
Em_EEPROM_Write(bytearray,(eeptr+2),2u);
in 4.2
Em_EEPROM_Write((EEaddress+2),bytearray,(2u));
later on its not working.
while debugging i see that the library returns failure in many conditions..
for example in cy_em_eeprom.c line 186 & 430
if((0u != size) && ((addr + size) <= (context->eepromSize)) && (NULL != eepromData))
1.How does address+ size will be less than eeprom size, in my case eeprom size is 64, & addr is 0x00007C00 ,size is 1,
looks like EM_EEPROM 2.0 has lots of bugs..or may be i am doing some mistake. Can some one help me how to make it work and provide a sample code for EM_eeprom for psoc4. Thank u
with regards
Dr.N.Chandra sekhar,M.tech,phd
Show LessHi,
I'm having an issue with TCPWM QuadDec. To my knowledge the counter value should be retained during DeepSleep. However, it does not survive DeepSleep. The settings of the QuadDec was saved and restored. But the counter value (qdec_count below) resets, i.e. returns to the initial value 0x8000 after the DeepSleep.
QuadDec_WriteCounter(12345)
QuadDec.Sleep()
CySysPmDeepSleep();
QuadDec.Wakeup()
qdec_count = QuadDec_ReadCounter() // always 32768
You can reproduce it with the project included.
Thanks,
Show LessHi,
i am currently working on the project to send the data to mobile and its working fine .i want to send the data every 5 minutes, but the
problem is when i scan my mobile the ble device not showing after 5 minutes.so,i want to advertise my ble after sending of my data pavket to mobile
is there any APIs to start the advertisement of ble when i required.
please help me to rslove the issue
Thanks in adavnce
Show LessHi,
I am using CYBLE-014008-EVAL for my development.
I have created a custom BLE service (Fields: 9x4 bytes == 36 bytes, Properties: Notify).
After linked with CySmart 1.2 and 'Enable All Notifications', I cannot get the notified data.
However, if I set the size of the 'Fields' data from 36 bytes to 12 bytes, I can get the notified data.
Is there any limitation on the data size of the notification?
Thanks!
Terry
Show LessThe faster I go, the behinder I get...or is it the more I learn, the less I know??
I seem to have learned that iOS changes BLE addresses and they are called "resolvable addresses". I think this means that if I am using a PSoC4 BLE as a peripheral to an iOS central which are bonded together, when iOS decides to change the addresses something in the PSoC4 BLE has to resolve them in order to reconnect.
Questions:
1. Is this description correct?
2. I think that this resolution is supposed to be handled by the Link Layer in BLE 4.2.
3. Also, I think for this to happen the box "Enable Link Layer Privacy" in the General selection of GAP Settings in the BLE component needs to be checked.
4. The Enable Link Layer Privacy is greyed out. Any idea why?
5. If I want to only connect to devices in my whitelist does the interaction with the whitelist have to be done in my code or is that supposed to be handled by the Link Layer?
Thanks,
Dennis
Show LessHi,
I am designing a very low power Bluetooth mouse (possibly as small as 10mah battery) and am trying to find out the typical time taken I might expect between a wakeup from hibernate or stop mode to initiating mouse movement, is there much difference between a wakeup from either mode.
If anyone has links to studies on this vs advertising intervals and power that would be great!
Also what happens between when the peripheral fails to respond within the given latency but before Connection supervision timeout? As in, is there any advantage to increasing the Connection supervision timeout beyond the amount of time it takes for the slave latency to naturally expire? I'm not sure what really happens in this period.
Also as a word of advice to cypress, there should be more information on these parameters being new to Bluetooth it took me a while to find these parameters as it was obvious they existed but I did not know initially what to search for as it can be hard to find answers without an initial keyword, aka. latency which is a somewhat misleading name in itself.
Also can the peripheral suggest scanning intervals for the host?
Best regards,
Rob
Show LessHello,
I want to develop a BLE-Device using PSoC 4200 BLE, which sends an ADC-Signal(uint16) and 8 Button-Signals(Digital Input) from Server to Client.
That means, there is an external analog signal input for ADC, and 8 external digital inputs as well.
Could anyone please tell me, are there any suitable examples or definitions of GATT Profiles in the documentations of Cypress?
How can I define the Custom Service?
Thanks!
Show LessHi Team,
Please let me know about the following PCB layout design regarding capsense for PSoC4200.
For series resistance of capsense pins, in the design guide, It is arranged within 10mm of the PSoC pin, and individual chip resistors are used.
Now, we are considering this resistance with the resistor array(Panasonic EXB28V, etc.).
At that time, it is assumed that the parasitic capacitance between the wiring patterns affects by using a resistor array.
Please let me know the design rules on capsense wiring patterns and the recommendations, prohibitions and design materials for making resistor array from series resistance.
Thanks and regards,
Hello, I am using the chip# CY8C4245LQI-483 for our cap sense lighting applications, I have 10 segments and using as linear slider and using Auto (Smart sense),The problem is 9 and 10th segments are too sensitive since its very close to MCU, Is there any way to reduce the sensitivity in Auto mode? If i reduce the sensitivity to 2 it reduces the sensitivity for all sensors
Show Less