PSoC™ 5, 3 & 1 Forum Discussions
In my project I use PSOC5 FTK.
GPIO strange behavior has been detected. Two subsystems, two problems.
First - IR receiver, connected to P5[1]. In receive cycle (RC6 protocol) there are avalanche interrupt req., 1000 and more. GPIO settings ( CMOS, TTL, pull-up, pull-down and others ) have no effect. Pulses are clear, no noise, no jitter; fronts normal too.
Only with external shmitt trigger (74AHC14) RC receiver work normally. Pulses picture on oscilloscope (after shmitt and before) doesn't differ (omly one - after trigger fronts are little straight).
In second subsystem symptoms are similar. Quadrature encoder misses pulses. (1000 cpr encoder). On 100 full shaft evolutions there are 700 - 800 missed pulses. Oscilloscope picture is very good, no phase shift between channels, no jitter, no noise, fronts very clear. Good encoder. But it works only after 74AHC14 channels signal precondition.
I think, that PSOC5 is super sensitive to signal front duration. Can anyone tell something about it?
Show LessHello,
I am a newbie to Psoc 1 and I have started writing some codes but it doesn't seem to work. What I am trying to do is: connect voltage supply to the Psoc 1 as an input and when I change the input voltage it will output a different frequency PWM on the oscillascope. However, on my oscillascope it only shows 5V DC. I have attached my codes below, could anyone please help me.
Thank you!
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
#pragma interrupt_handler ADCINC14_1_ISR
void ADCINC14_1_ISR(void)
{
int ADC_Result;
int pwmValue,pulseWidth;
ADCINC14_1_GetSamples(0);
ADC_Result = ADCINC14_1_iGetDataClearFlag();
ADCINC14_1_StopAD();
pwmValue = ADC_Result/300;
/*Set period*/
PWM16_1_WritePeriod(pwmValue);
/*set pulse width to generate a 50% duty cycle*/
pulseWidth = pwmValue/2;
PWM16_1_WritePulseWidth(pulseWidth);
/*Disable Interrupt*/
PWM16_1_DisableInt();
return;
}
void main()
{
//Enable Global Interrupt
M8C_EnableGInt;
//Start ADC
ADCINC14_1_Start(ADCINC14_1_HIGHPOWER);
/*start the PWM16!*/
PWM16_1_Start();
}
I have Vddios configured at at 5V, 3.3V, and 2.8V. I want to use the SIO output pins to drive 5V levels. I have the output pins configured for strong drive, slew rate slow, drive level: vref. I've tried both 8mA and 25mA drive current with the same results. I get the following error when I try to build:
Location for SIO port "Spare_0" is invalid; SIO ports must align with the start of an SIO pair.
The user assigned location for the SIO port specified is incorrect. An SIO port must align with the start of the physical SIO pair.
The fitter will now quit.
The SIO pins are designated correctly for the CY8C3866AXI-40 package that I am using.
I get the same results with both the Beta Creator and the latest Production version. If I delete the pin generating the error, the error just moves to the next SIO.
Any ideas?
Show LessIn one of the earliest successful PSoC3 designs, it has established itself as one of the best choice for System Management solutions.
Avnet's low power Xilinx-Spartan-6 LX16 FPGA Evaluation Kit show cases PSoC3 functionalities integrating Power Management, CapSense, USB.UART/SPI connectivity and configuration of the FPGA directly on board.
More on this cab be found at : http://www.eetasia.com/ART_8800619904_499501_NP_11826c08.HTM
Show LessI'm trying to hook an output column back to the input side of the chip so I can use the signal in a different row. I need to go through the Row to output interconnect to perform an exclusive or between to blocks on the row. This prevents me from using the broadcast feature of the row. I notice that whether I select input to output interconnect or vise versa the icon remains the same: input to output. Where do I find information about this resource? Or can someone explain?
Show LessI have one chip connected with address 04. I can't communicate with it via I2C although I am able to program it.
During I2C session response alwas is FF-
I conclude miniprog3 failed, because I't worked with several chips in the morning, but now it don't wiht neither of them.
ALso there is a strange device listing. Can someone try listing devices connected.
Miniprog3 device listing (using List button:
Devices list: 8bit 7bit
address: 0C 06
address: 0E 07
address: 1A 0D
address: 26 13
address: 32 19
address: 3E 1F
address: 4A 25
address: 56 2B
address: 62 31
address: 64 32
address: 70 38
address: 7C 3E
address: 7E 3F
address: 8A 45
address: 96 4B
address: A2 51
address: AE 57
address: BA 5D
address: BC 5E
address: CA 65
address: D6 6B
address: E2 71
address: EE 77
address: FA 7D
In PsOC Designer we have available the SC generic Blocks.
I have read there is SC blocks in PsOC Creator too, but I can't see it into the Catalog.
Where is it?
Can I create myself user modules?
I saw also an ADC Sigma & Delta 2.0 User Module, ad I have available in y program only until 1.3.
How I can add the ADC 2.0 User Module into my catalog?
Thanks very much.
Show LessI am very new to programming microcontrollers so if I am asking a dumb question, sorry. I downloaded the "USB Interrupt Loopback Example" but it has a while loop in the beginning of main c that is preventing me from implementing the rest of my program. I need it to operate similar to your "nesting interrupts example". Is there a way to keep the loop out of main c, or a way to ignore it until the usb cable is plugged into the board? I have been working with c programming and Psoc less than 3 months so any help would be appreciated. Thanks.
Show LessI wish to feed an externally-generated 32.768 KHz clock signal into the XTALin pin (P1[1]) of an 8-pin PSOC 1 device, and use this to synchronise the PLL. Since the XTALout pin (P1[0]) will not be needed, can I use this pin for general purpose I/O ?
Show LessHi guys,
PSoC3 and PSoC5 are the latest progarmmable device that Cypress has releases. If you are new to PSoC3/PSoC5 architecture and PSoC Creator, the tool that allows you to extract the power of these devices, go through the Application Note and book listed below.
AN54181-Getting started with a PSoC 3 design project - http://www.cypress.com/?rID=39157
My First Five PSoC® 3 Designs - http://www.cypress.com/?rID=43123
Getting Started with PSoC® Creator™ - http://www.cypress.com/?rID=46665
-Udayan
Show Less