PSoC™ 4 Forum Discussions
Initially in my project I was following the iOS Build a Robot tutorial which incorporates BLE, Capsense, and PWM components. I just added an SPI Slave component in order to receive data from a cRIO-based instrument and received an "Unable to pack the design into 4 UDBs" error message. The project that I'm going to be making incorporates some of the implementation from the iOS tutorial, but I will not be needing the Capsense interaction at all. However, when I remove that component (and the pin attachments), I still cannot build the project.
I am very new to this such that I have no idea what particular part of a component is causing the database to over-pack.
I've attached the project, and don't hold back into going into heavy details about this issue. Anything I can learn is a plus.
- Anthony
Show LessI use a android phone as central(Master) and use a "EZ-BLE PRoc Module" as a peripheral(Slave).
The peripheral can send the "L2CAP Connection Parameter Update Request" to change the central's connection parameters in the connection state, but the "L2CAP Connection Parameter Update Request" may be rejected in the different brands of android phones/tablets.
Are there any solutions to get the central's Connection Parameters in the connection state ?
Show LessThe factory soldered 3.3V and 5V pin does not provide power at all. If I don't connect anything to these pins I can measure 5V, but if I connect them as a power supply to any circuit the voltage drops to 0V. The other, unsoldered 3.3/5V and the VDD pins are all right, but I can't figure out why the factory soldered pins doesn't work. I worked around it by using the other pins, but it is quite annoying. This is the case when I use USB power supply.
I also have another power supply problem: If I try to power it from a 12V DC power source through the VIN connections, it just doesn't work. PWRLED flashes for a moment and that's it. SW4 is set to REG, J9's connection is 1-2. If I measure the VDD pin's voltage it's about 0.8V and I can measure ~4.5V on the 5V pins, but if I connect anything to them their voltage drops to 0. I measure 0V on the 3.3V pins.
Am I missing something? What is causing these problems and how can I solve them?
Show LessHi All, I am new with CYBLE-022001-00, I am on designing PCB for this module.
I want my PCB have these features :
- ADC
- GPIO
- PWM
- Audio Input
- Audio Output
I have problem to choose which pins for ADC, which pins for Mic Input, and so on. or I can choose any pins (GPIO) for any purpose ?
Thank you in Advance
Show LessHello,
i'm using CySmart along a software I wrote for the PSoC 4 and I have the following problem:
In my StackEventHandler function, when the message I'm trying to write to a certain custom characteristic has a certain number of bytes or less, I get a CYBLE_EVT_GATTS_WRITE_REQ event.
When the message has a lot of bytes (around 20+) I get CYBLE_EVT_GATTS_EXEC_WRITE_REQ.
In other words, I can proccess the data prior to writing only if it is less than a certain number of bytes, if the number of bytes is bigger than this threshold, it gets written directly to the characteristic. Why is that?
Show LessI've tried building and running both the version described in AN97060 as well as the one described in BLE Upgradable Stack Example Projects. I've been able to configure, compile and download both versions but have been unsuccessful in being able to do an OTA update. Using CySmart to do the update, it takes quite a while after starting the update to get past the 'Establish Connection' point, then times out at 'Exchange GATT MTU'. I realize it's probably something I've overlooked, but is there a simple complete example project available somewhere. Also I'd be interested to know if the CySmart default 'Master Settings' need to be modified.
Thanks
-Bill K
Show LessHello,
I got this BLE module- http://www.usriot.com/p/ble-modules/ which uses CYBL10162-56LQXI.
Currently I am using arduino to communicate with BLE module.
I am successful in entering AT mode and also changing parameters of BLE.
However I am unable to pair with my android device (android version-6.0.1).
While pairing it says "pairing rejected by BLE-USR-100".
Are there any specific configuration which need to set for BLE?
I would also like to program BLE such that when the BLE receive a specific character from a user device (server- mobile application), BLE should pull one of the GPIO pins to LOW state. I am newbie to BLE programming. Please guide me from where do I start. Is there any specific example code available?
Please help.
Thanks
Show LessI'm using the CY8C4247AZI-M485. I want to use the IDAC component with the DMA to generate a sine wave. I believe I have everything set up correctly but it's not working. In the "DMA Support" section of the IDAC datasheet it states the following:
Note DMA support in the IDAC_P4 component is limited due to the following reasons:
The IDAC_1_IDAC_CONTROL register is common for two IDACs (8-bit IDAC and 7-bit IDAC).
The IDAC_1_IDAC_CONTROL register is common for the IDAC setting and IDAC data.
Before using the DMA channel with the IDAC_P4 component, review the description of this register in the device registers Technical Reference Manual (TRM).
I've searched for "IDAC_CONTROL" in the TRM but couldn't find anything.
Can someone tell me if this is even possible with this PSOC? If so, what am I doing wrong?
Show LessHi,
I've written a simple program to test the BLE notifications.
This will update a counter every 2 seconds.
After about 20-24 seconds with connection is lost.
I've attached my code, if someone could have a look and tell me where i'm going wrong.
kind regard,
Damian
Show Less