PSoC™ 5, 3 & 1 Forum Discussions
I am wondering, can I connect a CyFi module to a CY8CKIT PSOC Development Kit?
I know about the FirstTouch development kit, but I happen to have a CY8CKIT on order and thought maybe the CyFi plug in boards would be compatible. Don't see anything in the user guide about CyFi though.
A second, somewhat related question: in the glossy PSOC brochure it shows CyFi as though it is a configurable PSoC block just like SPI, USB etc. But I don't think that it's available built into a PSoC yet. Can anyone confirm PSOCs don't yet include an RF block?
Thanks! Show Less
Hi,
The weather station card mentioned in cy3271-exp1 environmental sensing kit was attached to a RF unit and AA battery pack.
The USB based PC Bridge was programmed as a hub to receive this data. SCD 1.0 was used to acquire and display the data.
However, the SCD does not display the data from Weather Station after acquiring a few points from the PC Bridge.
The green LED on the WS is off after a few points have been transmitted.
How do I fix this problem?
Thanks
ananth
Show Less
I just got my PSoC FirstTouch Starter Kit and I'm blown away at what the PSoC chips can do! It's like having an analog workbench plus a powerful microprocessor on the end of your USB cable.
Can anybody tell me how I can modify the "Component Block for LED Control" shown in the TopDesign.cysch window of the BubbleLevel project that comes with the FirstTouch kit? It comes with just seven wires connected to the control register and wire 3 is connected to two LEDs. This gives you a two LED wide dot when the board is exactly level, but I want to change that.
I can right click on the LED_Control_Reg and change the number of bits from 7 to 8 and ditto with the inverter between the LED_Control_Reg and the LEDs, but how do I change the wires? I want to run an 8 wire bus with each wire controlling a single LED.
I'm hoping for a graphical way to do this, but if I have to dig into files, how do I do that?
Thanks,
Dave Show Less
I am all new to PSOC, so I excuse myself in advance if I ask simple questions!
I just bought the development kit for the PSOC3 and PSOC5. Got everything out of the box, installed the softwares needed, and opened PSOC Creator to get started. However, I systematicly get this error message after trying to build the example projects :
[...]
Clean Temporary Files ...
c51.exe C:\Documents and Settings\Jonathan\Bureau\PSOC_Projects\Design01_Ex2\Ex2_ADC_to_LCD\Ex2_ADC_to_LCD.cydsn\Generated_Source\PSoC3\ADC.c NOIV LARGE MODDP2 OMF2 VB(1) DB NOIP OT(0) INCDIR(Generated_Source/PSoC3) OJ(C:/Documents and Settings/Jonathan/Bureau/PSOC_Projects/Design01_Ex2/Ex2_ADC_to_LCD/Ex2_ADC_to_LCD.cydsn/DP8051-Keil_Generic/Debug/ADC.OBJ)
The command 'mkdepend' failed with exit code '3221225785'.
--------------- Build Failed ---------------
Does anyone knows where does it come from?
Thank you for your help,
Jonathan L. Show Less
or is API updated in the future?
Or must I change the value of the registers directly? Show Less
or is API updated in the future?
Or must I change the value of the registers directly? Show Less
I don't know how to start the program.
I have an example about an InvAmp writed its main file
in assembly code.
I have this files in the source Files folder:
-- main.asm
-- mainasm.asm
-- mainc.c
-- boot.asm
The main.asm make calls to mainc and mainasm.asm
By the other hand mainc make calls to this functions:
"
//Start AMPINV with high power
AMPINV_Start(AMPINV_HIGHPOWER);
//Start PGA with hign power
PGA_Start(PGA_HIGHPOWER);
//get AGND to AnalogOutBuf_0
ACB00CR2|=0x17;
//loop infinitely
"
That I supose are created by the programer, since this examplke is how to create an InvAmp. And mainasm.asm starts the component.
my problem is how to start to program, which files I must create.
You will be able to find this example in this website:
http://www.cypress.com/?rID=3727
It's the 28 pins example, the first one.
Thanks again. Is difficult to find good examples to how to program.
It's not so intuitive as I thought at first sight.
If I create a new proyect I have only a main.c
I want to create a diffAmp.
I think I only have to create the main file, since the boot.asm is created when you select the device. That's true?
How do I can to refresh the analog and digital interconnection scheme?
Maybe I guess I have to delete some files in the main.c or in the main.asm.
Do I?
Apart that, there's any way to see the scheme implementation are you getting with your program in PsOC design? I mean the electronic scheme. It's a bit annoying to have to imaging at every moment what are you designing.
And finally:
Anyone knows whats the pragma directives?
I found them in the C languaje User's guide page 21.
But anyway I don't know how to use it.
I'm watching a diffAmp user module example downloaded from
www.cypress.com/psocexampleprojects
Why this basic user module it not available in the user module list?
Thanks. Show Less
I use PSOC3 to do ADC->DMA ->Memory to sample my analog input data then post- processing my ADC data.
ADC( 300K sps, 10 bits) Memory (xdata, ADC_data[300]).
I try to modify some c codes from DMA example projects, but I did not get right sample data from ADC.
Here is my c code:
ADC_DelSig_1_start();
ADC_DelSig_1_start_convert();
Isr_start();
MyChannel=DMA_DmaInitialize(2,1,0,0);
Td=CyDmaTdAllocate();
CyDmaTdSetConfiguration(Td,2,Td,TD_INC_DST_ADR|TD_TERMOUT0_EN);
CyDmaTdSetAddress(td,ADC_DelSig_1_OUTSAMP, (uint16)&ADC_data[0] );
CyDmaChEnable(MyChannel,Td);
CyDmaChSetRequest( MyChannel,1);
Anyone knows how to do it?
Thanks,
Will Show Less