PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I'm using the PSoC 5LP to overlay pixels on a 8-bit parallel (BT.656) video stream. I need to synchronize my DMA with the vertical sync signal embedded in the video stream. I'm using one DMA channel with four TD's. What is the proper way to reset the entire chain? Currently, I have the vertical sync signal generating an interrupt. Here is the ISR:
CY_ISR(SYNC_ISR)
{
CyDmaChSetRequest(DMA1_Chan, CY_DMA_CPU_TERM_CHAIN); // Terminate the entire chain of TD's
while(CyDmaChGetRequest(DMA1_Chan)); // Wait for the request to be processed.
CyDmaChEnable(DMA1_Chan, 1); // Re-enable the DMA channel.
}
Show LessI've been trying to get into contact with a Cypress engineer, but 2 hours on the phone system got me nowhere, so I'm posting this here.
I've been fooling around with a system that utilizes three CY8C29466-12PVXET PSoC1's running at 5v. I didn't handle the programming for that system, so I don't know exactly how the chip's resources are being utilized, but I ran the system with a 3.3v supply for unrelated reasons and noticed that they were still functioning perfectly.
I'm guessing that the M8C core runs on 3.3v internally anyways, and that that particular design did not make much use of any of the configurable blocks, which probably require the 5v supply.
Is there any validity to running these 29466's at 3.3v? I'd also like to know (if this is even possible) what effect lower voltages would have on their operation up near their max operating temperature at 125C.
Show LessHi
I am using the PSOC kit with the CY8C3866 (ES2 silicon)
I have to use the DAC, but the output signal is strange (see attachment). When I set the DAC to a new value, it does not settle like it should in less than 5us
The DAC output is directly into a 1M scope input, DC coupled.
The code, somewhat snipped: (also attached)
// Enable DACs
VDAC8_1_Start();
while (1) {
VDAC8_1_SetValue(100);
for (i=1;i<100;i++) {
value1 = 100;
}
VDAC8_1_SetValue(0);
for (i=1;i<100;i++) {
value1 = 100;
}
}
Show LessHello,
I'm working on a layout that is using a PSOC5LP. I'd like to run the PSOC5LP off 3.3V but still provide a USB interface with computers. With VDDD hooked to 3.3V, I'll have to set the USBUART block to run in 3.3 mode, is there anything I have to hook up externally to the USB pins to make it work with a computer? If VDDD is set to 3.3V and I use a 5V computer USB input, am I destined to destroy the PSOC?
Thanks for the help in advanced,
Show LessHow can I redirect the rx interrupt to my own handler code (PSOC5)? For the timer it is easy, just use TimerInterrupt_SetVector, but a comparable function for the UART interrupts does not seem to exist.
I really need to have my own code for the rx interrupt...
Thanks, Russ
Show LessHi,
I need to write a ECG signal on sd card but i can't because i can't get all samples with ADC.
This is code:
for (i = 0; i < 2000; i++)
{
if(ADC_DelSig_1_IsEndConversion(ADC_DelSig_1_WAIT_FOR_RESULT))
{
output = ADC_DelSig_1_GetResult32();
tensao_auxR = ADC_DelSig_1_CountsTo_mVolts(output);
a=a+1;
sprintf(buffer,"%4.2d\t %6.2f \n", a,tensao_auxR);
FS_Write(pFile,buffer,sizeof(buffer));
//CyDelay(0.1);
}
}
I can't find the error.
Can help me ?
Regards.
Show LessHello,
I have a problem with writing on a microSD connected directly to a PSoC 3 (CY8C3246PVI-147). It is set to work at 4MHz, and everything is OK when the PSoC is powered at 5V. However, when I power the PSoC at 3.3V, the microSD operations take a lot more time (tens of sceconds), and nothing is written on the memory card.
Is there a problem with the PSoC outputs, not being able to command the microSD at 3.3 V power supply? If so, is a buffer chip required between the PSoC and the microSD?
Thank you!
George
Show LessI have a shunt monitor using an A7840 isolating amplifier to monitor the current of a DC load.
I want the Sigma Delta data converter to double as a device that records current and acts as a circuit breaker.
Currently, I have the Sigma Delta putting the current (amps) samples into memory using the DMA. When the numbers exceed a certain value, I want an interrupt to fire triggering a GPIO flag that will light an LED. The interrupt will also remove current from the load.
What is the best way to code this? I could use a comparator but I am using the A7840 which has a small offset that I am using code to calibrate out. Also, its output is differential. For optimum accuracy, I think code is the best way, unless someone has another idea.
Show Less