PSoC™ 5, 3 & 1 Forum Discussions
Hi everyone,
I tried to use single adc for multi channel data extraction, I added the mux for dynamic changing between channels and get the value. But it turn out to be that the value extracted from channels always dominated just by one, all the other channels value is corrupted. I tried to add some delays between channel switching and it didn't work as well. Could you give me some suggestions about how to use for multi channel extraction?
Thank you so much in advance!
AMUX4_InputSelect(AMUX4_PORT0_1); //sample the value of P0[1]
for(i=0;i<30;i++) {;}
if (ADC1_fIsDataAvailable() != 0)
{
ADC_pot_Result = ADC1_wClearFlagGetData();
Cresult_2_1 = (float)ADC_pot_Result * 128 / 4096;
*level1 = 128 - (unsigned int)Cresult_2_1;
}
AMUX4_InputSelect(AMUX4_PORT0_3);
for (i=0;i<30;i++){;}
if (ADC1_fIsDataAvailable() != 0)
{
ADC_pot_Result = ADC1_wClearFlagGetData();
Cresult_2_2 = (float)ADC_pot_Result * 128 / 4096;
*level2 = 128 - (unsigned int)Cresult_2_2;
}
AMUX4_InputSelect(AMUX4_PORT0_7);
for (i=0;i<30;i++){;}
if (ADC1_fIsDataAvailable() != 0)
{
ADC_pot_Result = ADC1_wClearFlagGetData();
Cresult_2_3 = (float)ADC_pot_Result * 128 / 4096;
*level3 = 128 - (unsigned int)Cresult_2_3;
}
Hi Everybody.
I am looking for app note AN86206 - PSoC® 5LP Low Voltage (12-24 V AC/DC) Powerline Communication Solution that is mentioned in AN76458.
Any idea where I can find it.
Your help will be appreciated.
Matt
Show LessI recently ordered this Board
When I plugged in the USB programming port J1 to PC using the cable provided with Kit, PC has enumerated device as DVKProg5/0000000001D1, and an unknown Device (ID: 0X2ba01477).
But as per the Psoc 5LP Device famaly, CY8C5868AXILP035 device has Device ID: 0X2E123069.
and the Programmer has identified the device but programing operation failed.
did anyone else faced this issue?
Why this Device is not identified.
Show LessI have a FreeSoc board that utilizes a CU8C5868axi-lp035
The core of the problem that has been frustating me for hours with no avail is how to see the Psoc as a com port. I have placed the USBUART component, started, initalized as has been posted, but there is never a "new device connected" screen in windows. There is no virtual com port in the device manager, and all that shows up is "dvkprog5"
What should I be looking at to make a com port visible to my computer? Is there something very simple I'm missing? I have tried the USBUART example code and was unsuccessful as well.
Any help would be much appreciated!
Show LessI want to order a CY8CKIT-050B development kit.
please guide me about this kit
programming of this kit with USB can be easy as using a MINIPROG3 ?
thanks
Show LessHello All:
I'm developing a PSoC3 device on the CY8CKIT-030 development board. I plan on using the USBUART component to communicate with it serially when plugged into a computer. It will be a self-powered device, so it may be plugged into the host computer while already running. I would like to have an interrupt service routine run when a rising edge is detected on the VBUS/VCC pin of the mini USB port (connected to a pulled-down digital input pin), which will then start the USBUART component, enumerate on the host, and transfer my data.
The issue I'm having is that according to the development board user guide, the USB connector's VCC pin is tied to both the 9V battery input and the 12V AC adaptor input. The schematic shows VBUS connected to Pin 9 on the PSoC3, and when I use a voltage probe on that pin, it reads 5V if my adaptor is plugged in.
How can I develop and test a VBUS-based ISR on this development board when all the power inputs are tied together?
Thanks in advance for your help.
Show Less Opening a workspace with bootloader example(bootloadable blinkLED.cyprj with SCB_bootloader.cywrk), Creator returns with exception ’System.NullReferenceException’.
When 'contiue' clicked, a window opens with 'Reload Modified files ?'
All other projects/examples tested were loading properly.
file: CY8CKIT-049-41xx Example Projects.zip
PSoC Programmer 3.20.0, PSoC Creator 3.0 Component Pack 7, USB-Serial driver 3.13.0.21
WinXP SP3, 2GB RAM, >10GB Disk
Any hints ?
Show Less Opening a workspace with bootloader example(bootloadable blinkLED.cyprj with SCB_bootloader.cywrk), Creator returns with exception ’System.NullReferenceException’.
When 'contiue' clicked, a window opens with 'Reload Modified files ?'
All other projects/examples tested were loading properly.
file: CY8CKIT-049-41xx Example Projects.zip
PSoC Programmer 3.20.0, PSoC Creator 3.0 Component Pack 7, USB-Serial driver 3.13.0.21
WinXP SP3, 2GB RAM, >10GB Disk
Any hints ?
Show LessHello,
I am using CY8Ckit-030 PSoC3 development kit..If i want to transmit AT commands to gsm modem then how UART of PSoC and UART of gsm modem should be connected ? And if i use UART_TX example project available in PSoC Creator then what should necessary changes should be done on UART and Character LCD components in Topdesign.cysch ? I have go through this topic http://www.cypress.com/?app=forum&id=2232&rID=52896 still there is no communication between the two.And how DCE to DCE communication done when there are female DB9 connector on both the sides?
Show Less