PSoC™ 4 Forum Discussions
Hello together,
I would appreciate some advice from you. I'm trying to program the chip on the board to function as a central device. The goal is to automatically connect with certain devices and read out the data they send (e.g. beurer M85 blood pressure device). I was able to connect to the device but I don't have any idea on how to go on from here. Also when I use the CySmart app with the USB dongle all information I get is the name and type (see screenshot). Does this come from my incompetence in using the software or ist the device just sending this data.
I hope you can help me.
Thanks a lot beforehand
with kind regards
Lars
Show LessI've been working on implementing the Low Power Startup process as outlined in Project #38: Low-Power Startup. I was successful in building and testing the code in that project and have verified the current draw improvement as expected. After integrating into my project, I have been unable to successfully stay connected to the PSoC 4 BLE when in Peripheral Mode.
I've made similar change to Project #38 code with a modification to the BLE module and am getting the same behavior. Please find it attached.
I'm also including the log from CySmart 1.1.
I'd appreciate any assistance to correct the issue.
Show LessHi everyone,
I cannot seem to find any 3rd part modules based on PSoC 4 or PRoC BLE.
For example, Dialog's DA14580 comes in the PAN1740 module from Panasonic.
Are there any 3rd party vendors of Cypress ICs?
In advance thanks!
Christoffer
Show Less1. PRS component is not compiling in PSoC4 default device.
Compilation error message:
.\Generated_Source\PSoC4\PRS_SingleStep.h:609:61: error: 'PRS_SingleStep_ClkSp_CtrlReg__CONTROL_REG' undeclared (first use in this function)
2. Is there any application project for playing audio file using PRS component on PSoC3/4/5?
If yes, please share the project.
Show LessOff the shelf example on PSOC42 and ble 042 kit. No modification.
Debugging mode
1. I'm able to receive data from psoc
2. I detect with logic analyzer correct data stream into psoc (commands like 'c' etc)
3. Psoc don't respond neither with error nor with any valid character
Standard pinout is 1.5 tx 1.4 Rx
Show LessThe project started as is on PROCBLE is not working.
I'm not surprised.Application is switched into deep sleep mode, but WDT ( the only one who can wake up) is not started.
Does anyone know how this project supposed to work?
LowPower.c:
line62: inline void System_ManagePower()
interruptStatus = CyEnterCriticalSection();
CySysPmDeepSleep();
CyExitCriticalSection(interruptStatus );
This will never wakup
Show LessI am laying out my pcb for my EZ-BLE PRoC Module and am wondering about how I am going to be programming and debugging it.
I believe that I only need SWDCLK ( P0[7] ) and SWDIO ( P0[6] ) and GND connected to 'some programming device' to do this.
I assume I can do this using by using my BLE Pioneer Kit board as the programming device.
Would I simply remove the BLE Module board from the Pioneer Kit board and connect these three wires from my independently powered EZ-BLE board ( lithium cell) and use PSoC Programmer software?
AND, since I do not want an extra header on the board I am designing, what are the pros and cons of this idea:
I am charging my lithium cell using external 5v supplied from a micro-usb receptacle that I am installing on the board. Since I don't think there is a USB stack for the PRoC, I was NOT going to use D+ and D- on the USB receptacle at all. BUT, could I just put SWDCLK ( P0[7] ) to D- and SWDIO ( P0[6] ) to D+ and make a special USB cable for programming that connects to my BLE Pioneer Kit board? I am wondering what will happen when I plug a usb cable from my PC into my board to charge the battery, will I just get a 'Unrecognized hardware' message from windows or worse?
Thanks,
Dale
Show LessI've been trying to understand how to use the UART with interrupt on Rx data but can't even get reliable polling to work when running stand alone.
I'm using the example project in AN96841, added a UART at 9600,8,1,n on P1_4 and P1_5 so I can use the Pioneer board as a USB-UART bridge to test and debug. At best I get the UART to receive and send while in debug mode but can't seem to understand why it won't work in stand alone. Transmission seems to be incomplete. At this point I've only confused myself on receiving. BLE section seems to be running fine and I can scan and connect with the pioneer kit dongle.
Are there any real world UART examples for PRoC with interrupt handling of the received data? I think this is the first device that doesn't start with an example with interrupts. I can't find any with the development environment examples. I can't find any posts that actually point to an example. Maybe I have something configured wrong but the 198 page DS doesn't seem to show how to use it.
An example would go along way.
Show LessI am trying to use the quad decoder as a simple up/down counter. I have a question on how the triggercommand should be configered.
I have tried the example and it works. I do have a encoder hooked up and have verified the both signals A & B are correct as in phase, amplitude, etc.
I am not using the interrupt but trying to read the counter with QuadDec_ReadCounter();. But it is not changing.
I have set the decoder as below.
QuadDec_Stop();
QuadDec_Init();
QuadDec_SetMode(QuadDec_MODE_QUAD);
QuadDec_SetQDMode(QuadDec_MODE_X4);
QuadDec_SetOneShot(0);
QuadDec_SetCounterMode(QuadDec_COUNT_UPDOWN0);
QuadDec_TriggerCommand(QuadDec_MASK, QuadDec_CMD_CAPTURE);
//Read count
EncoderCount = QuadDec_ReadCounter();
printf("Encoder Couunter = %lu\r\n",EncoderCount);
Thanks
Mark
Show LessHi,
In my project I am using the CY8CKIT-049-42XX prototype kit, my program consists of three UART blocks, one timer block, and one bootloader blocks.
One UART block connects to a RN171 wifi module, while the other to a serial TTL camera, the third block connects to PC (programmer USB port).
When building I get these error...
"Resource limit: Maximum number of UDB Macrocells exceeded (max=32, needed=43)."
"Resource limit: Maximum number of UDB Unique Pterms exceeded (max=64, needed=87)."
"Resource limit: Maximum number of UDB Datapath Cells exceeded (max=4, needed=5)."
"Resource limit: Maximum number of UDB Status Cells exceeded (max=4, needed=6)."
Please can anyone tell me how I can solve this...I hope the hardware does not need to be changed.
Please see attached workspace bundle.
thanks
a
Show Less