PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
I finally found the schematic of this kit on page 82 of CY8CKIT-042-BLE_KIT-Guide.pdf
I found the pin Vin connected 4V. But didin't expect, that this kit supports only 3v3 and 5V supplies.
I thought, that removing J16 jumper switch into Vin. I was wrong - it switch into 1.9V
So removing the jumper damaged the board. Remember either don't buy or don't remove the jumper
In my case externally supplied power to pins damaged the chip.
Supply through Vin is not possible in any case because, the usb connection is needed for debugging.
And VBUS from USB (5V) has precedence over Vin if Vin is lower ( my case).
For me it's a big mistake in board design
Show LessI'm making a project in which the client reads a few values from the server when the server characteristics are updated.
From what I understand, this is how to read characteristic values:
case CYBLE_EVT_GATTS_WRITE_REQ:
/* This event is generated when the connected Central */
/* device sends a Write request. */
/* The parameter 'eventParam' contains the data written */
wrReqParam = (CYBLE_GATTS_WRITE_REQ_PARAM_T *) eventParam;
if (CYBLE_DELAY_SERVICE_DELAY_INFO_CHAR_HANDLE ==
wrReqParam->handleValPair.attrHandle)
{
Array[0] =
wrReqParam->handleValPair.value.val[0];
Array[1] =
wrReqParam->handleValPair.value.val[1];
uint16value = wrReqParam->handleValPair.value.val;
}
CyBle_GattsWriteRsp(cyBle_connHandle);
break;
This words fine for the array, but when i use a uint16 it won't allow it, as "handleValPair.value.val" is a uint8. If someone could help me with this or point me in the direction of a good example of how to read/write characteristic values it would be much appreciated. Thanks in advance.
Show LessI am still in the design phase of my widget so I need to know what features and prices each available version of the PRoC BLE has.
I found the feature list in the CYBL10X6X Family Datasheet, but prices were another matter. I could not find the prices on the 'Buy and Sample' tab of the website. I had to enter a site search for PRoC BLE and then click on the 'Show more' after a couple of (non-device) prices did show up.
Anyway, I assembled the below chart of all the features that actually change in the product range and their 1000 pc prices.
Now, my current issue is with available timers and PWM's. I realize and have looked at the differences between PWM and TCPWM but I still confused as to how many are on each device.
Part Number | CapSense | SCB | TCPWM | I2S | PWM | LCD | Package | Price |
CYBL10161-56LQXI | No | 1 | 2 | No | No | No | 56-QFN | 1.73 |
CYBL10162-56LQXI | No | 2 | 4 | No | 4 | No | 56-QFN | 2.46 |
CYBL10163-56LQXI | No | 2 | 4 | Yes | No | No | 56-QFN | 2.26 |
CYBL10461-56LQXI | Yes | 2 | 4 | No | No | No | 56-QFN | 2.84 |
CYBL10462-56LQXI | Yes | 2 | 4 | Yes | No | No | 56-QFN | 2.91 |
CYBL10463-56LQXI | Yes | 2 | 4 | No | No | Yes | 56-QFN | 2.95 |
CYBL10561-56LQXI | Yes (Gestures) | 2 | 4 | No | No | No | 56-QFN | 3.55 |
CYBL10562-56LQXI | Yes (Gestures) | 2 | 4 | Yes | 1 | No | 56-QFN | 3.68 |
CYBL10563-56LQXI | Yes (Gestures) | 2 | 4 | Yes | 1 | Yes | 56-QFN | 3.79 |
CYBL10563-68FNXIT | Yes (Gestures) | 2 | 4 | Yes | 1 | Yes | 68-WLCSP | 4.37 |
From the CYBL10X6X Family Datasheet we see that:
'4x PWM
These PWMs are in addition to the TCPWMs. The PWM
peripheral can be configured as 8-bit or 16-bit resolution. The
PWM provides compare outputs to generate single or continuous
timing and control signals in hardware. It also provides an easy
method of generating complex real-time events accurately with
minimal CPU intervention. A maximum of four 8-bit PWMs or two
16-bit PWMs are available'
Now when you combine the table and the above paragraph, I would make the determination that the inexpensive CYBL10162-56LQXI is the ONLY device that actually has 4 of the PWM peripherals.
Is that a correct determination?
Thanks,
Dale
Show LessHi all,
Newly working with cypress products, I recently discovered the PRoC BLE.
I would like to create a new component for the CYBL10563-56LQXI but I always get the message "component01 is not supported by the selected device" when I use into my schematic.
An almost empty schematic with 1 input and 1 output pin (wired together) gives the same result.
I tried both "target generic device" and "PSoC4" options.
Is their any trick to do ? Or is their any rule to put into .cystate file to get it work ? Or maybe not yet supported by PSoC creator ?
Regards
Onur
Show LessAnyone have any idea when and how much?
PSoC 4100/4200 Family PSoC 4 Architecture TRM, Document No. 001-85634 Rev. *A
9.3.2.3 Low-Voltage-Detect (LVD)
When is an interrupt generated? Only on the event when the supply voltage drops below monitored level or while the status is active?
Show LessI am just beginning to use PSoC 4. I would like to have 6 PWM outputs or more from CY8CKIT-042 PSoC 4 Pioneer Kit. When I try to use 6 TCPWM blocks together with 2 interrupts (overflow and compare events) for each block to toggle logic levels on 6 digital outputs, I get error that only max of 4 TCPWM blocks are allowed. I also tried the UDB based PWM blocks, but got errors like only max of 4 datapaths were allowed. Is there an alternative solution without resorting to pure bit-banging? Thanks.
Show LessRecently i bought PSoC 4200 prototyping mine is not detecting in the cypress programmer,but it is detecting in USB will anyone please suggest PSoC 4200 protyping kit driver
Show LessI am trying to become a convert from the PIC community.
I have watched almost all Cypress videos on PSoC Creator and BLE.
I am working with the EZBLE PRoC Module in my 'Widget' design. My widgets only direct interface with the user is the pushbutton that wakes the widget from hibernation and when the user plugs a USB cable in to charge the LIR2032 battery.
I am trying to create a custom BLE profile but I am getting lost in the details.
Here is what I am trying to do:
My widget has about ten 8bit configuration variables that need to to adjusted on my 'iPhone' yet persistently stored on the widget.
I do not need continuous polling, I plan to simply have a user initiated request sent from the iPhone that is labeled 'Obtain Current Settings from Widget NOW'. Then the user modifies the variables on the iPhone and finishes by initiating an 'Update these Settings to the Widget NOW' action. The widget would respond with an acknowledgment of receipt of new values and the user would see the acknowledgment on the iPhone or be informed that the widget has not responded.
This method should use minimal energy from the widgets battery if implemented properly.
Some basic questions that I have in creating my custom profile are:
1. Would I select Client and Server as the Profile Role?
2. Would I select Peripheral and Central in the GAP Role?
3. What services would I need in the Client and Server?
4. How would I set up the characteristics to send and receive this data?
5. How would I set up the code on my widget to listen for requests/data from the the iPhone using the least energy? (perhaps I could have the iPhone try sending for 5 seconds and the widget only look for requests from iPhone every 4 seconds or something like that)
6. A non-BLE question, how would I make these configuration variables persistent on my widget when the battery is removed or my program code reloaded. On my PIC widget, which does not have EEPROM, I reserve some program memory that my linker and programmer does not erase and I write these variables to that program memory area?
7. Is there any sample code project that could help me?
Thanks,
Dale
Show Less