PSoC™ 4 Forum Discussions
Hello, recently learned of the PSoC microcontrollers by watching some youtube clips. It is very exciting and I want to get the CY8CKIT-044 PSoC® 4 M-Series Pioneer Kit and start playing with it. This will be my first experience with a microcontroller. I do have one question. Are there some general purpose input/output pins that I can use? If so how many? Also, could this board power a small 3V motor? I really would like to do a rotary sensor experiment like this youtube clip:
https://www.youtube.com/watch?v=dPBKTZw_xi4
Can I use this kit to do something similar?
Thanks,
Joe
Show LessHi,
Can anyone think of a reason that the Pseudo random and PRISM outputs result in a dimmer light than the direct PWM output when fed the same data? At full power they are the same, but at half power the Pseudo and PRISM are significantly dimmer than the PWM. Do they have a built in gamma correction or something?
Thank you,
Tom
Hi,
is there any way to update the data of a Characteristic during a read request?
I want to update the data by writing a new value to the Characteristic when I receive a read request. The client should read the updated data then.
Hope you can help.
When is Automation IO Profile and Service going to be available
Hi all.
I am trying to make a UART to BLE connection between various devices. I have 3 different CYBLE-022001-00 modules, one in CENTRAL mode, with the UART_to_BLE_central code loaded an the other two on PERIPHERAL mode with the UART_to_BLE_peripheral code loaded.
I want to select on the CENTRAL device witch PERIPHERAL device connect to, but as I can see debugging the code, all of the modules take the same peer BD address (bba050101112).
Does anyone know why do all my CYBLE-022001-00 modules take the same address? Is there any way to change it?
What should I do on the UART_to_BLE_central to just allow connection of the devices I want?
Thanks in advance,
Aitor
Show LessHi,
I was working with the above-mentioned kit and I succeeded a few times into downloading the firmware onto the board.
Then suddenly Bootloader Host started complaining. What does that error message actually mean?
The settings inside BH are 115200, 8, 1, None.
I have tried uninstalling the drivers using USBDeview and they were reinstalled correctly just after connecting the board.
I have PSoC Creator 4.0 on Windows XP SP3; it runs inside VirtualBox on Mac OS X El Capitan.
Show LessDear,
I would like to use the SFlash of the PRoc 4 BLE to save some information and parameters about my device. I need to save information and parameters in this location because I would like to keep them after a bootstraploader ota.
I found the User_SFlash_Write project in Cypress website but I cannot use it because there is a bug... I read in this document project that the BLE address is saved in the ROW0 in first 6 bytes. If I use the debug and go in the address 0x0FFFF200 of the Flash, all bytes are 0x00. why?
I know there a function "CyBle_GetDeviceAddress(&localAddr)" to obtain the address but I would like to do by myself.
I wrote this code to read the ROW0 of the SFlash:
#define ROW0 0x0FFFF200
uint8 * ptrSFlash;
static uint8 memSFlash[128];
ptrSFlash = (uint8 *)ROW0;
for(i=0;i<128;i++) {
memSFlash = 0xFF;
}
for(i=0;i<128;i++) {
memSFlash = *ptrSFlash++;
}
I received all 0x00, so I decided to read the first row of the Flash (@0x00000000), but It doesn't work because the result isn't the same than I can read in the Flash in Debug state and I don't understand why....
Is there any mistake in my code or my understanding about SFlash?
Greg
Show Lesshello PSOC_er 🙂
I programmed my PSOC 4 ble pioneer kit with the existing Ble_AlertNotification project on PSOC creator and im trying to debug it with the dongle and my phone but it connect (LED stop blinking Terminal: show connection) but in both Cysmart mobile and laptop show: no sirvice found any ideas guys
Show LessI am currently using this project with the CYBLE-022001-00
I am able to end and recieve data over BLE at 100kbps.
I would like to get this to 250kbps or faster if possible!
No matter how fast I set the UART component (I have it at 1Mbps) the BLE will not go any faster than 100kbps. what do I to get this module to send data faster?
According to Tech support 260kbps is the max speed of BLE. He referenced this project
However this project is for a different device.
Has anyone had any luck in getting over 100kpbs over BLE?
Show LessHello everybody,
I've been working with a PRoC BLE module (CYBLE-022001-00 ) as a HID keyboard in a very simple manner, I send a key code to the module and it sends it via Bluetooth to a Bluetooth enabled device, and this works fine for the most part.
The problem is that sometimes, let's say the module is connected to a PC, when I send the keys, some keys appear on the computer and some others don't, I imagine this happens because there was an error while sending the those keys via Bluetooth, so my question is, which event can I check to verify if the HID notification has, indeed, been received correctly by the computer?
Thanks in advance!
Show Less