PSoC™ 4 Forum Discussions
Hi, this is Gaurav.
Please guide me for the SMBus protocol. MXL90614 infrared temp sensor. I want to communicate the sensor with the PSoC and then send the data to the BLE.
Please do guide me.
I'm attaching the TempSensor's Data sheet.
Thank you
Show LessHello, This is Gaurav. I'm trying to collect the reading of LDR on PSOC4-042. Now I'm able to collect the data in a variable. But don't know how will i send it over.
1.Please guide me how can i send a data stored in a variable to a smartphone via BLE.?
Thank You,
Show LessHello,
I have iOS and Android apps for monitoring many, many ble sensors in an industrial environment. The iOS/Android app automatically connects, reads and logs the characteristic values of each ble sensor that is within range and continues to automatically log ble sensors as the iOS or Android device moves through out the facility and new ble sensors come into range. Is there any way I can encrypt the data coming from each ble sensor without having to manually enter a pairing password for each ble sensor that comes within range? Can pairing be done automatically with one, or a few passwords which are stored on the iOS or Android device? Is there another data encryption method not requiring pairing?
Thanks.
Show LessDear All,
- The time multiplexed central example code is not working on CYBLE-222014 module as described in pdf document. It compiles and code runs on modules but has following issues. I have attached the project in zip file. Could any buddy have a look and tell me what is wrong with the example code?
- The peripheral does not reconnect itself on hardware reset.
- Central application keeps looking for peripheral even though it is powered on.
Device missing: 00 A0 50 00 00 01
Device missing: 00 A0 50 00 00 02
Device missing: 00 A0 50 00 00 01
Device missing: 00 A0 50 00 00 02
Device missing: 00 A0 50 00 00 01
Device missing: 00 A0 50 00 00 02
Device missing: 00 A0 50 00 00 01
2. Is there any other such working example where central connects to multiple peripheral in time multiplexed manner.
In attached project, I have already selected device type CYBLE-222014 for both peripheral and Central. Also updated components from project menu.
Regards,
Mayank
Show LessAfter much debugging, I've finally stumbled upon what was causing parts of my code to not operate correctly all of the time. It seems that when I write to flash on my 4100 BLE chip, it was causing two issues:
1. For a brief period after the write to flash, my UART TX/RX was getting screwed up and I was seeing a buch of gibberish on my terminal screen. I believe this was because the clock driving the UART, which is derived from the HFCLK, was being impacted, which meant my baud rate was out of whack briefly
2. Also, for a brief period after the write to flash, my PWM signal, which was also driven off a clock signal derived from the HFCLK, was in turbo mode and seemed to be operating at about 10 times the frequency I was wanting it to.
In both cases, my HFCLK was derived from the IMO.
Is this sort of behaviour to be expected when writing to flahs? I'm not sure how stable the IMO is supposed to be and what's the best way to get around it. In the short term I'm just shifting my write to flash code to a point in time where the UART and PWM aren't being used, or aren't critical to operation of the hardware, but I'd like to understand what the root cause is and how I can get around it.
Can anyone provide any comments/advice?
Cheers,
Mike
Show LessI understand a few stipulations for simultaneously scanning and advertising, and also broadcasting while in a connected state, such as while connected, broadcasts must be non-connectable, undirected advertisements, however, while scanning, advertisements can be of any type. Also, as far as API calls, starting advertisements must happen before starting up scanning. I do have some related questions involving the connected/broadcasting function that isn't mention in the docs though, if anyone can help:
1. I noticed that there is no "NON_CONNECTABLE_DIRECTED_ADV". The non-connectable portion is understandable, but what if, for example, I wanted a connected device's broadcast to only reach a specific non-connected device? How would that be accomplished?
2. If directed broadcasting isn't possible, do these broadcast advertisements have a scan response packet?
If so, does filtering apply? I figured that if I can't direct the advertisement, I could filter the scan response packet from everything but the defined devices.
3. This one relates to both Scanning/Advertising and Connected/Broadcasting: Can you dynamically update these advertisements using CyBle_GapUpdateAdvData while scanning or connected, or would you need to be in a disconnected, or non-broadcasting, state, update, then restart?
Show LessHi,
Hopefully this is a simple question :-
The PSOC4 TCPWM block can be edge triggered or level triggered. I want to use level triggering but am struggling to find in the PSOC4 technical reference or GPIO app notes any indication as to which level(s) trigger the inputs to the block. Is it a high level, low level or both ?
Any help gratefully received
Paul.
Show Lesshello!
When i open CySmart app, Select BP Sensor in the list of available devices and connect to it.iphone always indicates “the connection has timed out unexpectedly”,I've tried many times.(I'm sure Bluetooth has been turned on.)why?
Show LessHi, I have a project ( fully functional) that I cretaed for CY8CKIT-042 (pioneer kit).
I would like to use it on a CY8CKIT-049-42XX ( 4$ kit).
I was thinking to simply to do a copy in creator, change target device, and recompile ...
Do I need to add a bootloader to my project?
Anything else?
Thank you
Ste
Show LessI was under the impression that the CyBle_GattsReadAttributeValue and CyBle_GattsWriteAttributeValue functions were used by the central to read and write values of the peripheral but it seems they only interact with the local values on the system. My scenario is:
I have 2 pioneer kits, one acting as central and another acting as a peripheral. I just want the central to read the peripheral's values and then update them. I figure its a relatively simple answer but I've been going down the wrong path for a while now and I figure just asking the question is easier.
Show Less