PSoC™ 4 Forum Discussions
Hello
I'm trying to adapt one project to new chip CYBLE-222014-00. Everything seems to be ok, except when I try to program. Appears
next message
Error: dbg.M0023: There was an error while programming the device: PSoC Programmer reported error (100 - PSoC Device (1A 6B 11 AA) is not in the DataBase)
Does anybody found same problem and how to solve?
Thanks in Advance
Show LessHi,
I'm new into PSoC and PSoC BLE.
I decided to design a PSoC Fart-O-Meter.
So far the project is quite simple: A methane sensor, powered with 5 volts, is measures the concentration of methane in the air.
The output is a voltage between 0-5 volts.
I want to convert this output value to an integer by using the SAR ADC. Using this value I want to set a servo, that is showing the concentration on a sign.
Later I want to send the value via BLE to another PSoC BLE, as mobile display.
Unfortunately it doesn't work, I'm saving the value in a variable but when reading this variable, e.g. in debugging, it's everytime empty(0x00000000).
I added my project to this post.
I hope you can help me!
Show LessHi,
Is there a specific reason why the newer versions of the PSoC 4 Registers TRM have omitted some registers compared to the oldest one?
For example the newest one (http://www.cypress.com/file/122336/download) contains 58 CM0 registers while the oldest one (http://www.cypress.com/file/59976/download) contains 77.
Best Regards,
Jan
Show LessHi,
How do I debug the CY8CKIT-049-42 prototyping kit?
I have no problems with programing the kit with the bootloader Host.
When I press the debug symbol, the "select Debug device" is empty.
Is it not possible to debug the device?
I have some experience with the psco 4 pioneer kit, and I can easely debug my Psoc 4 pioneer kit without problems.
Thanks in advance.
Show LessHi, I want to save as much peripheral battery as possible. So I would like my peripheral not to do any AD conversions while it is advertising. I want the peripheral to wait until it is in connection with a central before the AD comes out of sleep and starts. But I want fresh up to the second AD readings provided the central during that connection. Is there some delay procedure I can employ on the peripheral to keep the central from reading the peripheral's characteristics before the AD is finished with new samplings? Thanks.
Show LessHello everybody,
is it somehow possible to control the components on the Schematic Page via defines?
E.g. for one project I would need some pins to use them for an LED shift register and
in another project I would like to use an SPI controlled Touch Display.
Can I place both components in my design and enable/disable them via define?
Including the generated code, the pin definitions and so on?
Thanks and best regards
Andreas
Show LessDear Community,
I am pretty new at BLE and am having some difficulty getting something very simple to work. I simply want to send an ASCII stream (from a sprintf() of a variable) out through BLE as a custom profile. In this case it's a pH measurement that is being sent to a PRoC module (the 022001-00 EZ BLE) via UART. I would have the PRoC parse the UART message (which is coming from a PSOC5LP) and then simply broadcast it. Does someone have a super-simple example project to simply send out this ASCII stream? I'm not a great PSoC programmer yet, and this should be an easy task for someone more experienced.
I have attached a pic of the current instrument. The next iteration will have the BLE module connected via UART to the PSoC5 main processor.
PS. I use the PSoC5 as the main CPU for the USB and del-sig ADC support.
thanks!!
jk
Show LessHello everyone!
I am working with the whitelist example from the 100 projects list.
I wanted to take it a step further and via code have an address already in the whitelist.
So in the beginning of main.c I've added the definition for MasterFob as follows:
//Structure containing address of device
CYBLE_GAP_BD_ADDR_T whitelistdeviceaddress;
CYBLE_GAP_BD_ADDR_T MasterFob;
Then in the main() when initizing variables I tryed to do this:
MasterFob = 0x00A050022629;
I get an error here about trying to assign type "CYBLE_GAP_BD_ADDR_T" from type 'long long int'
Can someone tell me the correct way of doing this?
Afterwards, I plan on adding:
CyBle_GapAddDeviceToWhiteList(&MasterFob);
This I think will get my device into the list.
All help is appreciated!
Dan
Show LessNot receive data from the UART, Pioneer Kit with Cyble-022001-EVAL
I'm starting tests with Cyble Pioneer Kit-022001-EVAL.
I'm just testing the programming environment and I have not started testing the BLE.
I initially practiced with the activation of LEDs and buttons, this part I managed to make it work even with PWM.
Now I'm using the UART, I have connected to pins:
UART Rx Pin: P1.4
UART Tx Pin: P1.5
Sending data to the USB UART working properly and I get display on a terminal.
But the reception data does not work me, I followed the reception to the pin P1.4 and the data arrives ok to Cyble-022001-EVAL card, but I can not read it in the program.
I guess it's an initialization problem but I can not see it, my UART has the name of UART1 and I think I have everything correctly initialized:
dat_Rx unit32; // Is the variable that I use to store the data received
UART1_Uartinit ();
UART1_Start ();
UART1_Enable ();
dat_Rx = UART1_UartGetChar();; // I used this sentence but not receive data
dat_Rx = UART1_SpiUartReadRxData(); // I have also proven this nor receive data
Somebody could tell me where is the problem?
Hi,
Is it possible to change filter policy and discovery mode in my code? My goal is to build a security layer for a device that have no display or keyboard, only one switch as input.
Best Regards,
Show Less