PSoC™ 5, 3 & 1 Forum Discussions
Hi. I am a University professor and I have a project class for medical students, where teams will build a device. The battery operated device, which I want to develop with students, will require wifi, BLE or BT, a touch screen, the ability to detect the peak in an EKG signal, send out a 1kHz stimulation signal based upon the next anticipated peak in the qst wave, while collecting other peripheral data such EMG, Skin conductance, blood pressure … Various waveforms should be displayed on the screen. Should be flexible enough so that we can end up with multiple solutions, yet as easy to learn as possible. Data security issues will also be examined. I would like to know which platform I should do this on and any other advice.
Show LessHi, i'm trying to modify the frequency divider of the clock component, but the function Clock_SetDivider() is not there, any insight of what is happening??
i'm using the PSoC 5LP kit, PSoC creator 4.1
Thanks!
Show LessHello, members
The Filter component holds DFB inside and performs filtering calculation with the DFB.
Is there code data of DFB inside Filter?
I would like to have it if there is.
Best Regards
Show LessHello everyone,
I'm trying to create a signal that is commonly known as the unit step function:
0, t < value
1, t > value
Does any of you know if this possible with the PSoC 5LP?
Right now, I kinda do it. Implemented a 1 Hz wave with the WaveDAC block.
The final goal is to obtain the capacitor response: https://www.electrical4u.com/images/2017/may/1495305721.GIF
Thanks in advance
Show LessHello members
There is the following description in Filter's data sheet (3P, Data ready signal).
"If running the filter at high real sample rates, it is likely that DMA is the only method that is fast enough to successfully handle the data stream."
Could you tell me the specific number of this "high real sample rates"?
If the sample rate is over what Hz, is DMA the only method?
Best Regards
Show LessHi,
In a battery operated system I want to sample an analog sensor with a sample rate of 10Hz (the ADC conversion time may be taken a lot shorter. The internal conversion freq must probably be set as high as possible to be optimze for processor sleep time) in a 'continuous' mode. In order to keep the over all power consumption to a strcit minimum I'm looking for an optimal stategy to perform this task. (For reason of simplicity, you can disregard all other features that may or may not be running on the processor). Targeted average processing power is preferably as less as 20µA.
Many thanks in advance for your ideas on this subject.
Kris
Show LessWhen the TC output of the fixed function counter and the digital circuit are connected, it does not operate properly.
As in the attached image,
TC connected to LED 1 works correctly.
However, LED 2 using NOT for TC does not operate properly.
From the above, I thought that the TC output of the fixed function counter can not be connected to other digital circuits.
The counter datasheet does not describe constraints on the TC output,
Can't TC of the fixed function counter connect to other digital circuit?
Hello, members.
In the data sheet of the Filter component, it says "It supports two streaming channels that can be streamed directly from other hardware blocks (such as the ADC) using DMA".
Does this mean DMA transfer from Flash memory to Filter is impossible?
Best Regards.
Show Less
Hi,
I'm trying to use the CY8CKIT-059 (containing a psoc5lp) to create a low power capsense button. The button works fine, but the addition of the capsense module adds about 900uA to the sleep mode current, which is pretty significantly beyond what I was expecting. If I disable the capsense module in the schematic editor (and comment out the code), my sleep current goes back to about 2uA. If I just enable the capsense module but never run any code (no CapSense_Start(), etc) it still adds the 900uA current.
Am I doing something wrong here? My code is below, and the project is attached.
#include "project.h"
CY_ISR(WakeupIsr)
{
SleepTimer_GetStatus();
}
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
//CapSense_1_TunerStart();
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
isr_StartEx(WakeupIsr);
SleepTimer_Start();
CapSense_1_Start();
CapSense_1_IdacCH0_SetValue(255);
CapSense_1_InitializeAllBaselines();
for(;;)
{
/* Place your application code here. */
if(0u == CapSense_1_IsBusy())
{
CapSense_1_UpdateEnabledBaselines();
CapSense_1_ScanEnabledWidgets();
}
if (CapSense_1_CheckIsWidgetActive(CapSense_1_SENSOR_BUTTON0__BTN)) LEDPin_Write(1);
else LEDPin_Write(0);
//CapSense_1_TunerComm();
CapSense_1_Sleep();
CyPmSaveClocks();
CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_CTW);
// sleeping here
CyPmRestoreClocks();
CapSense_1_Wakeup();
//CyDelay(1000);
}
}
/* [] END OF FILE */
Thanks,
Jeremy
Show LessHello, Members
I am trying to filter N 24 bit data (sample 1 ~ sample N) by describing the API as follows.
Filter_Write24(Filter_Channel_A, sample1);
Filter_Write24(Filter_Channel_A, sample2);
Filter_Write24(Filter_Channel_A, sample3);
・
・
・
Filter_Write24(Filter_Channel_A, sampleN);
Is it possible to filter data with API description like this?
I am worried that the processing speed of the Filter can not keep up with the speed at which the value is written to the Staging Register.
Best Regards.
Show Less