PSoC™ 5, 3 & 1 Forum Discussions
Hello
I need to generate a clock of 16MHz r, however appears a dc signal, this looks on an oscilloscope. But dont works.
Why psoc when working at high frequency pacer not have good performance
Show LessCan't seem to get PSoC Creator 2.2 to allow me to place a digital input on a USB pin!
Outputs, yes, just not inputs!!!
Data sheet says this should work...
What am I doing wrong?
Thanks,
Richard
Show LessHello
I need to generate a clock of 16MHz r, however appears a dc signal, this looks on an oscilloscope. But not for me.
Why psoc when working at high frequency pacer not have good performance
Show LessHello Guys,
I need help regarding with the RTD and NTC temperature ADC settings. I have downloaded sample of RTD and NTC of CY8CKIT-025 - Temperature board kit. I'm using CY8CKIT-030 as my devkit. NTC and RTD have different ADC_DelSig block settings/value according from the samples that I downloaded from Cypress. I can't merge the two temperature sensor since these sensors have different ADC settings. What is the correct settings of the ADC_DelSig in order for me to combine the two sensor in one application?
Thanks Guys. I would really appreciate your help.
Red
Show LessGood afternoon, I am Colombian, I dont have good English, I hope you understand
I will comment that my project is to know how I can help.
I have two rotary encoder, they send the absolute position by a frame of serial data by a Manchester code, the encoders are of 11 bits.
To get the position, I decode the signal. The Manchester decoder is not the problem, the problem is the timing, and for that I get a interrup for rising edge and falling edge to synchronize the decoder.
The delivery code encoder is shown in Figure
I must get the data (15 bits) of the first frame.
I do not know what idea you have to be able to help.
Attached two codes
One simulates the clock and then with a interrup on and off an output pin.
The other has a signal input to the decoder.
none works.
good afternoon
My application is decoding a serial data frame, it has a frequency of 1MHz. I need to generate an interrupt whenever there is a rising edge and a falling edge (1MHz). I have read the reference manual, also AN54460, and works by placing the interruption to digital input pin to a frequency of 10kHz. If the digital input signal is above this interruption of 10Khz not work. Theoretically interruption should not depend on the frequency, but do not know what might happen. I urgently need help from someone
Show LessHi all,
First, a bit of background. I last used the PSoC about 8 years ago, on a project that was strictly digital, programmed in assembly. It worked great. Fast forward to today, and I'm trying to use the 8C29466. Since this project is fairly simple, I decided it would make a good first intro into programming in C. Recipe for disaster? I hope not...
Here's what I'm up to. In short, I am building a small audio mixer. I started with the excellent app note AN16833 (http://www.cypress.com/?rID=2925) and the author's website and revisions here: http://www.cpeproto.com/mixer.html . What he's doing is using the SC and CT blocks in the PSoC to implement a 4 stereo input audio mixer, and in the process demonstrate some neat routing and use of the generic SC block User Module.
My device shares the analog layout of his, but the rest is rather different. I'm using the standard DMX512 UM to receive DMX data to adjust the levels of the mixer. I'm doing this for testing at the moment, as I am easily able to generate a DMX stream to experiment with. Later I may switch protocols. However, the idea will remain the same, and is fairly simple. Take the data in, and use it to modify the levels of the op-amps in the mixer. My goal here is to have a small digitally controlled mixer to combine a few different audio streams. It doesn't have to be perfect, but I will be listening to it for a few hours at a time, so I'm making an effort to keep it clean. I have run into a few problems though, and after working on this without a ton of progress for the last couple days, I need some help. I should mention that I am currently breadboarding this on the CY3210 sample board, so keep that in mind in case it's part of my problem.
My main problem right now is that the signal I'm passing is subject to a couple of different kinds of noise. First off, there is a hiss, centered around 4KHz, that is quite noticeable. That might be inherent in how the op-amps are configured, but I'm wondering if there's anything I can do to reduce it. The level does change as I adjust the op-amp levels, but even with everything at 0, it's still there.
Second is a bit trickier to explain. The DMX512 UM handles receiving data and puts it into a buffer for you. Originally I had a main while(1) loop that read the values, matched them to the gain they were supposed to be adjusting, and then updated the correct SC block register. This caused a high pitched whine. Through a bunch of trial and error, I seem to have determined that if that loop is a certain length, it generates noise in the op-amps. This is with all gains at 0. I pared the loop down to a single if statement that checked the first channel, if the old and new values were different, it would update the current value, then update the SC block. That ran without noise. I copied it so that it ran twice in succession, and it made the noise. Changing the number of times it ran seemed to change the frequency of the noise. In fact, just running a counter in that loop, and not updating anything made a noise.
What I've done for the moment is move those if statements into the DMX512 ISR, so that they only run once per packet. There's no reason to have them run more frequently, the data can't change in between packets anyway. It does feel like a bit of a cheat though, as I haven't really solved the problem. Even with this change, I can hear a ticking noise whenever I'm receiving DMX.
So...what am I doing wrong? I am really confused. I can't imagine that the analog system would be this noisy and subject to interference, or what could would it do folks who are trying to use it to measure things?
Any thoughts would be appreciated. I am happy to share my code and Designer files if that would help, I just didn't want to bombard the forum with files.
Thank you!
Josh
Show LessHi,
I am having cy8ckit-001 board with PSoC3. I am trying to create my own Filter component using APIs (API implementation). The flow is like:
8bit digital data from ADC --> DMA1 --> myOwnFilter --> ISR --> write Filter data to VDAC on interrupt triggering.
To create myOwnFilter:
* selected "add component" in components tab of creator s/w and selected "Empty symbol"
* in .cysym, drew a rectangle and attached a digital output pin for connecting to ISR. Here I want to make sure that after input gets processed from filter, interrupt should get raised from myFilter.
how to put/create Data enable signal.. (dma request/ Interrupt request/ Polled).
* created myFilter.h and myFilter.c under myFilter component .
, I am trying with an digital output pin to trigger interrupt, but during build/compilation I am getting error. For 8-bit input, I am not sure what to use.
Moreover, myOwnFilter should get listed during DMA configuration (Tools->DMA wizard) in both source end and destination end. but its not appearing.
standard Filter component has "Enable channel" option. Upon enabling it, Filter appears in Dma config wizard.
also,
Please help me out.