PSoC™ 4 Forum Discussions
Hi,
I would like to know if there's a way to track the number of packet I send per connection interval.
Actually I use a timer which the delay equals to my connection interval to count the number of time I push data using the ble stack api. But I'm searching for other solution.
I need this control to be sure that my mobile device don't loose so packets.
Thank you,
Show LessI'm working with a new product, using the BLE CYBLE-022001-00, which I'm trying to simulate with the Pioneer kit boards, the black one with the CYBL10563-56 on it.
I have two pins assigned to PWM outputs, P4.0 and P4.1. However, I can't get these ports to work with the PWM.
Any ideas why not? I've tried several configurations, but no luck.
I then tool the BLE Lab 2 project, and changed the processor to work with the black board, with the CYBL10563-56 on it.
With that simple project, I can get P4.1 to work with the PWM output, but not P4.0.
For my product, I need both to work!
Thanks
Show LessHi,
I have my PSoC BLE,I can use HID examples to make it as keyboard and mouse,can we do PSoC BLE enumuarte as microphone?
If so how? do we need to change the UUID?
I can interface an external mic to the device,but i need to enumurate the device as a mic.Can we do that in PSoC 4 BLE?
Show LessHello all,
Greetings.
I just received my Pioneer board for PSoC 4, CY8CKIT-042. I'm new to it, so curiously trying to get it to work.
To do that, I have downloaded the PSoC Creator 3.1 SP3, I also have PSoC Programmer 3.22.3 installed. With this after getting my pioneer board, I started with the LED Blinking project. I did the design & coding in Creator, then built it, was successfully built.
Then I connected the pioneer board to PC & tried programming it, but could not do that; as I was getting the error: -
Port Acquire Failed
Device may not be connected or the port may in use by another application
Please guide on the same. Do I need to install anything else? How to resolve it?
Waiting for positive & quick response.
Thanks & Regards-
Amit
Show LessI need to write a PC Windows application to transfer a file from a PC to my gadget using BLE.
I'm looking for an example, preferably in one of the languages supported by Visual Studio 2013.
Thanks in advance,
Paul.
Show LessDear Cypress,
Good Evening,
we would like to work with PSoC 4XX8_BLE product family for our project.but in our project we must need 2xUARTs, 1x I2C and 1xSPI.
for external modules interface.
I have gone through the data sheet of PSoC 4XX8_BLE product family in this it has 2xSCBs with the combination of UART, I2C and SPI.
my query:
1) How many combinations of serial communication I can achive with the PSoC 4XX8 BLE ?
eg: like 2xUARTs, 1x I2C and 1xSPI all i want use at a time for control the individual modules.
2) what are possibilities of serial communications i can achive with the PSoC 4XX8 BLE?
I would like to evaluate the above combinations then only i can finalize the chip for our project.
please help for the above queries.
waiting for valuable information.
Best Regards,
Ravinder Reddy
Show LessThis might be more an Android programming question than PSoC but if anyone has experience with FLOAT data:
Using a characteristic with Field, New Field, Type FLOAT, Length 4.
As suggested here, the float is cast (void) on writing in PSoC:
notificationHandle.value.val = (void *)&Ah;
In Android, reading it with float c = getFloatValue(BluetoothGattCharacteristic.FORMAT_FLOAT, 0);
only gets INFINITY. The data is being transmitted, because if I get it as 4 bytes and convert to IEEE 32 bit float, it's correct (that was a two aspirin coding job for me;)
03-25 19:11:43.158: D/BluetoothGattActivity(6732): AH Got 229,242,63,63
in hex those are: E5 F2 3F 3F
AH should be around 0.752
The above converts to: 0.749800026417
This is more of an observation than a question, but I noticed that Cypress is not in the Bluetooth Developer Portal list of companies that provide Bluetooth Smart development solutions.
They provide a mailto link at the bottom to contact the Developer Site administrator for those who want to be added to the list, and I figured it might be something that made sense for Cypress to pursue.
Show LessVisit the Cypress Video Library or our YouTube channel to view new video tutorials on PSoC 4 BLE.
PSoC 4 BLE 101: 1 Intro to Bluetooth Low Energy
PSoC 4 BLE 101: 2 Configuring a Find Me Profile with BLE
PSoC 4 BLE 101: 3 Finishing the Find Me Application with Firmware
PSoC 4 BLE 101: 4 Adding Battery Level Service and Testing with CySmart
PSoC 4 BLE 101: 5 Using CapSense with Bluetooth Low Energy
PSoC 4 BLE 101: 6 Extending Battery Life with PSoC Low Energy Modes
Show LessHi,
Im having huge trouble trying to interface the newhaven LCD display which has a ST7565P LCD driver to the PSOC 4.
http://www.newhavendisplay.com/nhdc12864a1zfsbfbwhtt-p-3895.html
I have an SPI block and 3 output pins on my "top design"
3 output pins - Reset, A0, CS
On the SPI, i used the mosi (SCL) to connect to the SCL on the LCD, while miso(SDA) to the data pin on the LCD
I have an initialization code that runs like this... I basically took this off newhaven's website..
int main()
{
/* Initialization */
XBEE_Start(); //starts the Xbee UART
SPI_Start();
LCD_Initialization();
...................
}
void comm_out(unsigned char j) //Command Output Serial Interface
{
unsigned int n;
CS_Write(0);
A0_Write(0); //A0 = Command
for(n=0; n<8; n++){
j <<=1;
SPI_mosi_s_Write(0);
SPI_miso_s_Write(j);
CyDelayUs(1);
SPI_mosi_s_Write(1);
}
CS_Write(1);
}
void LCD_Initialization(void)
{
comm_out(0xA0); //RAM->SEG output = normal
comm_out(0xAE); //Display OFF
comm_out(0xC0); //COM scan direction = normal
comm_out(0xA2); //1/9 bias
comm_out(0x2F); //power control set
comm_out(0x21); //resistor ratio set
comm_out(0x81); //Electronic volume command (set contrast)
comm_out(0x2F); //Electronic volume value (contrast value)
}