PSoC™ 4 Forum Discussions
I have the example code for using the Environmental Sensing profile in PSoC4 4200 BLE (CY8CKit-042-BLE-A). It messes with simulation of windspeed and other stuff, but doesn't show how to set up a real system with multiple sensor inputs to the ADC. What calls to I make to write new data from ADC into BLE registers? How do I create a main loop that reads all the sensor data, writes it to BLE, then shuts the chip down for a second or two before waking up and starting over? What is the HandleIndication(flags) procedure in ess.c for, and how does it compare with HandleNotification()? How do I find my way around all the CHARACTERISTIC and DESCRIPTION pointer data types?
I would really appreciate any help here. Thanks!
Steve
Show LessHello
Below is MBR Design Guide description(P.87)
=> http://www.cypress.com/file/46366/download
=============================================================================
6. Set the finger threshold as equal to the proximity positive threshold. This is required to determine the response of the ALP filter
=============================================================================
Which parameter refers to this “finger threshold”?
Is this “Proximity Touch Threshold”?
Or is this “Proximity Threshold”?
“Proximity Threshold” range is from 31 to 200.
“Proximity Touch Threshold” range is from 62 to 65000.
If proximity positive threshold is below is 31 or 62, finger threshold can not be set to the same value as proximity positive threshold.
In this case how should we decide finger threshold?
If finger threshold and proximity positive threshold are not the same value, will ALP filter not operate properly?
And MBR describes about “Proximity Touch Threshold” at Table 6-6.
=============================================================================
“Proximity Touch Threshold” is “80% of Difference count (when proximity sensor is touched)”.
=============================================================================
If “Proximity Touch Threshold” has to be the same value as proximity positive threshold at ALP filter enabled, I think the following two descriptions(A, B) contradict each other.
(when finger threshold of A points “Proximity Touch Threshold”.)
How do I think about it?
When using ALP filter, should we consider only A case?
=============================================================================
A. Set the finger threshold as equal to the proximity positive threshold. This is required to determine the response of the ALP filter
B. “Proximity Touch Threshold” is “80% of Difference count (when proximity sensor is touched)”.
=============================================================================
Best Regards.
Yutaka Matsubara
Show LessFor transferring 16 bit data to two control registers using DMA, i have to fix the address of the control registers. So is it possible to assign the address of a control register?
Show LessI am looking for a device to program a PSoC4 on a circuit board using SWD, that does not require a PC. An equivalent to the PicKit3 in Programmer-To-GO mode.
Show LessI'm using your PSOC 4 BLE SoC, CY8CKIT-042-BLE Pioneer kit. I need to send raw data from the sensor to android application through BLE.
1. How to send/receive customized data (eg: .CSV file) from board to customized mobile application?
2. How do i program the hardware?
3. Can you provide an example program?
I request you to get back to me as earliest as possible.
Show LessHello
perhaps this has been asked before: is on the roadmap support of Bluetooth Mesh stack for PSoC BLE with Creator in future?
I know this is now supported in the Wiced platform for two Bluetooth MCU, I am just curious if this is going to be added to the PSoC at some point.
Fausto
Show LessHello everyone,
First of all this my first time playing with PSoC creator or with any Cypress PSoC device. And i am really amazed: it's incredible.
Since I have some free time these days I decided to learn about the way that this uC are programmed. So...
I am blinking some leds. I saw that it's possible to access pins as a port which is quite nice. But is it possible to access them from an array?
Below my code. Thank you in advance.
/* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
#include "project.h"
#include "cypins.h"
int array[4]={LED_1_0,LED_1_1,LED_1_2,LED_1_3};
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
for(;;)
{
for(int i=1;i<16;i++){
LED_1_Write(i);
CyDelay(1000);
}
for(int i=1;i<4;i++){
CyPins_SetPin(??);
CyDelay(1000);
}
/* Place your application code here. */
}
}
/* [] END OF FILE */
Show LessUsing CYBLE-212019 and starting from the 'BLE Hid Keyboard' design example of 'PSoC Creator' I have developed a Bluetooth PC keyboard. Now I have to implement a Bluetooth mouse on the same device.
I've checked the 'BLE Hid Mouse' example and it works and I've tried to merge the two projects copying the mouse service inside the keyboard project and the BLE mouse event management in the code.
Currently it does not work neither the keyboard nor the mouse but may be I've forgotten to copy something.
What I like to know if it's possible to have mouse and keyboard profiles implemented on the same device and, if possible, some info about how to do it.
Many thanks.
Paolo
Show Less