PSoC™ 4 Forum Discussions
Hello,
How do I find out the bluetooth MAC address of the connected device?
The use of this function is "CyBle_GapGetPeerBdAddr", but with each pairing its own address is modified.
Example: I have a smartphone connected to the bluetooth of my psoc 4, the smartphone has its own bluetooth address, I need to read this address ..
Can anybody help me?
Thank you!
I can't find a dedicated page for CySmart development, so I'm posing my question here: I've developed a Windows 7 BLE Host application using the CySmart libraries as exposed via the CySmart API Reference Guide. My app communicates through a CY5677 USB dongle. We have changed our peripheral design slightly, but now my Host app can't complete pairing any more. The expected LL_ENC_REQ packet is never sent to the peripheral; instead, the ICyBleDevice.Pair() method returns BLE_ERROR_INSUFFICIENT_RESOURCES. This never used to happen, but the fact that the LL packet isn't even being sent indicates this is a problem internal to the CySmart components. Any idea what's going on?
Show LessHey there all,
So I used a Capsense Express chip to very quickly prototype a 2-button + 10-segment slider for a customer project.
It worked, but the client wants a longer slider. It is already at the maximum length without compromising the linearity of the response (It's for audio level, so that linearity is important) - but the Express chips can't do slider diplexing.
I thought if I added a second express chip and put two sliders together, sharing a common sensor in between to avoid a dead-zone, this might do the trick in a very short space of time, as I haven't had to take the time to learn PSOC creator to create the same functionality on a normal PSOC4 chip.
Question is - is that possible? Can one segment of a slider be connected to two Capsense Express chip pins? Would that even work? Would it create a problem with the sensor reading? Crazy idea but I'm running on the desire to implement this as fast as possible.
Cheers
~D
Show LessHello.
Q1)
Below is description of “Getting Started with CapSense”(AN64846).
Do the following contents also apply to MBR3?
In other words, does MBR3 signal level become lower if series resistance increased from 560ohm?
But MBR3 tuning mode is smartsense.
Smartsense automatically tunes parameters such as Fsw etc by MBR3 itself.
Since parameters are auto-tuned, will not user feel too much sensitivity reduction even if series resistance increased?
I think that MBR3 can drive enough sensor-pad if MBR3 uses slower Fsw by auto-tuning even if series resistance becomes bigger.
In this time, I think that signal level does not become lower.
Document description
==========================================
If the series resistance value is set high, the slower time constant of the switching circuit suppresses the emission but limits the amount of charge that it can transfer.
Thus the sensors may not get charged and discharged completely.
This lowers the signal level, which in turn lowers the SNR.
Smaller values are better, but are less effective at blocking RF emissions and interference.
==========================================
Q2)
Below is description of “Getting Started with CapSense”(AN64846).
Do the following contents also apply to MBR3?
Could you please let us know recommended series resistance(min/max) of MBR3?
560ohm to 4.7kohm?
Document description
==========================================
The recommended series resistance for CapSense input lines on general copper PCBs is 560 Ω.
An ITO panel already provides a high resistance; one may not have too much flexibility in the value selection (range 100 Ω–1 kΩ).
Series resistors are generally used in the range of 560 Ω–4.7 kΩ for EMC purpose.
The actual maximum value of the series resistor that can be used varies from device to device.
This depends on multiple factors such as the resistance of the GPIO used as sensor, the switching frequency used to scan sensors, and the SNR required.
==========================================
Q3)
When does MBR3 decide Fsw?
Does MBR3 decide Fsw every scan timing?
(So MBR3 Fsw changes from scan to scan. MBR3 Fsw is not constant value.)
Or does MBR3 decide Fsw when power-up or reset?
(So MBR3 Fsw is constant value until power-up or reset)
Best Regards.
Yutaka Matsubara
Show LessHello there fellow Psoc members. I am a newbie when it comes to mirco controllers and Psoc technology. I am trying to create a test fixture to measure arc fault for a POE standard to measure the voltage arc for the disconnect action for POE. The set up will have 8 channel read out to the MCU using the ADC ports on the CY8CKIT-042 and external opamp chips INA240A connect to a shunt resistor of .5ohms. The tolerance for error are 5% for current and 2% for the voltage. The circuit diagram has 8 channels that are being monitored for changes in current. Im not sure how to implement it on Psoc using the ADC to replicate the signal going into the MCU?
Show LessHello,
We are trying to use CapSense with PSoC4000.
ArchitectureTRM says that CMOD will be connected to AMUXBUS by clearing SENSE_INSEL bit,
but RegisterTRM says that it will be connected with SET (0x1).
which one is correct?
001-89309_PSoC_4000_Family_PSoC_4_TRM_Architecture.pdf write:
Setting the SENSE_INSEL bit in the CSD_CONFIG register to '1' enables this option.
Clearing this bit connects CMOD to the sensing comparator using AMUXBUS A.
001-90002_PSoC_4000_Family_PSoC_4_Registers_Technical_Reference_Manual_TRM.pdf write:
SENSE_INSEL Selects how the Cmodcapacitor is connected to CSD modulator
Default Value: 0
0x0: SENSE_CHANNEL1:
Direct connection from Cmod to CSD modulator; direct connection is called channel1
0x1: SENSE_AMUXA:
Cmod capacitor is connected CSD modulator through AMUXBUS-A.
Best Regards,
Kanda
Show LessWe are developing a system which uses an energy harvester to boost the voltage from a fuel cell and charge a capacitor, which is then used to intermittently power a CYBLE 214009-00 module. The CYBLE chip is used to take measurements from sensors and store the measurement data on the onboard EEPROM. In between taking measurements, the chip is set to deep sleep mode, so as to minimize power consumption. When tested with constant 3.3 V supplied, we were able to confirm that the chip is indeed taking a measurement, then sleeping for 30 seconds, and repeating this cycle. However, when tested with the charging system (intermittent powering), it is observed that the chip is consuming around 15 mA in deep sleep, about 1000 times higher power consumption than expected, and could not figure out why. Is it possible that one of the GPIOs of the chip is sinking current? I have attached a pdf of our PCB and Schematic of our circuit, as well as the main.c file of our PSoC 4 project. It would be greatly appreciated if we could get any suggestions as to what may be causing this problem. And let me know if any additional information would be helpful. Thanks!
Show LessHi
I couldn't figure out my answer on the StackOverFlow, so I turned over to the cypress community again. The question is simple. How can I answer or end a call using BLE? As I know, with Bluetooth headphones it's possible to do that. But how? I've a an HID service (Keyboard) by which send some command to my android device. There should be a command to answer or reject a call. but in the meantime, I've a limited number of keys which are assigned to the D-pad keys and Enter. Anyway, maybe I could deal with them although it would be better to answer a call upon coming by those.
What should I do?
Bests
Show Lesshello
we are developing touch switch board.
open below link, its work fine.
https://www.youtube.com/watch?v=hGoIFHHiTSAtouch switch board - YouTube
now I upgrade my new design and i want review from you.
I attached my design schematic PCB and gerber files
Show Less