PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello everyone,
A simple question: How can I power up PSoC 4 using external battery? Instead of using the USB as a power supply, I would like to connect it to batteries.
What type of batteries should be used? What is the suggested voltage and current for the PSoC 4? How are the batteries going to be connected? to which pins? What should I be aware of before I make any connections?/
Please be generous and help me with this.
Thanks,
Solomon,
Hi,
I have issus when resetting my psoc 4200L BY8c4247bzI-L479
I can attach to the running target, see where I'm in stack traces etc (and obviously program etc) , but when I hit reset I get this:
PSoC Creatro Error dbg.M0007
The run request failed. Encountered error (Timeout of SROM polling. Lost communication with chip.)
All I get when searching for this is an issue that seems to be connected to 3.1 not 4.1 as I'm running.
Previously we used a L489 and it always worked.
Any ideas?
I'm pretty new to this debug environment, so I don't really know where to start looking. The project I have is massive, with freertos, usb type c etc, so it's a bit much to push over, however I could do that on the side if you really need that. or just point me to what you would need to shed any light on this.
Kind regards
Hjalmar
Show LessHello,
it looks simple but didnt work. I want to add printf for debuging.
I used a sample code from a "BLE_Battery_Level" example project.
I have a debug.c file with the following code.
#include <project.h>
#include <stdio.h>
#include "main.h"
/* For GCC compiler revise _write() function for printf functionality */
int _write(int file, char *ptr, int len)
{
int i;
file = file;
for (i = 0; i < len; i++)
{
UART_DEB_PutChar(*ptr++);
}
return len;
}
And in my main.h the following
#include <project.h>
#include <stdio.h>
#if (DEBUG_UART_ENABLED == ENABLED)
#define DBG_PRINTF(...) (printf(__VA_ARGS__))
#else
#define DBG_PRINTF(...)
#endif /* (DEBUG_UART_ENABLED == ENABLED) */
I cant find any different setting in the project build settings. But it will not work.
Any idea?
Thanks a lot
Max
Show LessHi,
Checking the Bluetooth Low Energy (BLE) 3.30 component Datasheet, among the GATT Client Functions I found functions to read a characteristic using either its UUID or its handle to define the characteristic you want to read from:
GattcReadCharacteristicValue
GattcReadUsingCharacteristicUuid
But, in the case of writing there is no function available to write to a characteristic using the UUID of the characteristic as reference. You can only use the handle as reference to define the characteristic you want to write to using this function (among others):
GattcWriteCharacteristicValue
Is there a reason for this limitation, I mean is there a reason for not having a GattcWriteUsingCharacteristicUuid kind of function?
In case I know the UUID of a characteristic I want to write to but I don't know its handle, which is the simplest and quickest sequence I could follow in order to obtain its handle and be able to use GattcWriteCharacteristicValue? Maybe using GattcDiscoverCharacteristicByUuid?
Thank you for your help.
Show LessHello.
We generated a hardware with a CYBLE-222014-01-Modul.
In the past we took our OUI (company-ID) andour number group and programmed it in the modul. https://dict.leo.org/englisch-deutsch/groupNow I hear, that I must pass through a declaration and I must buy a Declaration ID.Do I need now booth? The OUI with number group and the Declaration ID?If I am usig a module, my hardware must run through the simple declaration process. I have my own profile (with services and characteristics). Is that a simple declaration process also?Thank you.Best regards.Rasmus
Show LessHello, I am working with cy8ckit-042-ble. The data received is displayed in the cysmart tool but i want to save that data into a file. Is there a way to do so through cysmart tool or can i use any other software or tool to save the data?
Show LessOur product has the CYBLE-022001 BLE Chip in it.
In the datasheet it's described as a Bluetooth 4.1 "single-mode module ", what does single-mode module mean?
When using this Soc, am I able to adopt BT features from BT Core version 4.2, like Advertising Extensions, LE Secure (DHEC encryption), or the ability to chain advertisement packs together? If I did this, could I then say my product is uses BT 4.2?
I understand most of the BT 5.0 stuff requires a HW update, but I'm getting mixed reviews about 4.2 stuff.
thanks for your time.
Show LessHi, We have a PSoC 4 BLE project, and need to do a customer application on the Android and iOS platform for the OTA function, so i have downloaded the Cysmart appliation and source code of it, but we found that the OTA function is not working on iOS 8,9 but is working well on iOS11. Does anybody encounter the same issue and can advise how could we fix it? Thanks so much.
Show LessI would like to change the baseline value using the API CapSense_SetBaselineData, but, after the CapSenseFilters_RunAdvancedLowPass I noticed that the baseline is changed to the Rawdata value.
Can someone give a direction for that?
Show Less