PSoC™ 5, 3 & 1 Forum Discussions
I am using three PGA's a project to buffer R/C filtered PWM outputs. All are configured with a gain of 1. I am using a CY8C3866PVI-021ES2 for the development. The problem PGA has input on P2_6 and the output on P2_4. If I bypass the PGA with internal routing I see the signal on P2_4 range from about 0V to about 5V as expected per the PWM output. If route through the PGA the maximum output voltage is about 2.6V. I connected a VDAC8 to the PGA input and saw about the same results. I get a slightly higher output when the PGA power is increased. Is this an ES2 problem or a Creator problem?
Placement looks like this:
@[Chip=0][FFB(SC,2)]: \PGA_0_10:SC\
SC[2]
SC[3]
@[Chip=0][FFB(SC,3)]:
\PGA_0_1:SC\
SC[0]
@[Chip=0][FFB(SC,0)] : \PGA_4_20:SC\I tried to force other usage with the directive
PGA_4_20:SC ForceComponentFixed F(SC,1) but it was ignored during synthesis. Any ideas?
Show LessMy design uses an external power monitor/watchdog driving XRES for PUR and Watchdog functions. Unfortunately the Miniprog3 also uses XRES. Any suggestions on how to overdrive the external XRES signal (the watchdog will timeout during programming). I could use something like a resistor to isolate the external XRES, but I have no idea on the miniprog drive strength, and whether it can successfully overdrive in this mode.
Show LessHi.. I'm facing a couple of funny problems...
I want to run my PSoC 5 as fast as possible, so I set the IMO to 48MHz and the PLL to 76MHz (the fastest it'll go with the error limits not exceeding 80MHz). The UART complains that the error in clock is too much. So I pulled down the IMO slower; the only possible setting is the slowest, i.e. 3MHz. so the first Q is
1. Is it ok to run the PLL this way? (3M input and 76M output?)
Then I added a pair of SAR ADCs, which now complain that the internal clock frequency is too high and can at most be 18MHz. I have selected external clocking and am providing 18M to it. (See attached). Now the only way to fix that is to slow my PLL down or use only IMO directly; thereby slowing the entire chip to a crawl.
2. What is the workaround?
Thanks in advance,
Abhijit K
Show Lessmixed analog-digital scope http://www.cypress.com/?id=3312&conID=235
Wonderful project for the study of PSoC. I'm trying to figure out.
Found the problem:
1. Require () for triggerActive?16:0
..................................
327 +(triggerActive?16:0) // if no other triggers are active, trigger with bus count
....................................
2. Posted by hysteresis in triggers Comp_1 Comp_2 and for greater stability of the front.
There are questions:
3. 2-bit resolution ADC (figure1) - why?
4. There is a shift of channel 2 increases over time (figure2).
If possible, tell me the reason or solution.
Sincerely Eugene.
Russia
sorry for the meaningless name of the theme
hi this is vishnu
in my project i am using two uarts . i have written recieve interrupt for one uart. how we can write another recieve interrupt for uart2?
Show LessI am trying to design some flexible I/O, for example a pin could be configured at runtime to be a input, output, PWM or ADC. In the pin datasheet it states:
"An analog Pins component may also support digital input or output connections, or both, as well
as bidirectional connections. It is possible to short together digital output and analog signals on
the same pin. This can be useful in some applications; however, it is an advanced topic and
should be used with care."
This seems to indicate this is possible, but when I tried to hook up a port of pins that configured as both analog and digital to an Analog Hardware Multiplexer, I get the following error:
"mpr.M0098:Signal "Port4_0 is expected to connect to an analog pin but instead connect to Port_4(0). Please fix the connection."
Am I going about this the wrong way? Is there more documentation about the "advanced topic" of having a pin be both digital and analog?
Show LessI have set up a PWM module running at 40khz, and wired the interrupt output to an ISR as shown in the attached file.
The problem is that execution nevert reaches the interrupt handler...
I have called the initialisation functions for the PWM module and I know that the PWM is up and running fine. I have also called <ISR>_Start() which internally calls <ISR>_Enable... Did a single step debug to ensure that these functions are indeed called. The PWM is working fine since I have checked it on a 'scope. Cant figure out what I'm missing... Also, what is to be expected if I tie the Interrupt output of the PWM Block to a digital output pin?
Thanks!
Show Less