CY8CKIT-001 AM modulation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

CY8CKIT-001.I try the example:AN62582 - AM Modulation and Demodulation,I can't get correct modulation result.  The clock_carrier'Vpp is 5V,i can't set it to 1V.The Mixer'output is truncated down.Please help.Thanks

0 Likes
15 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The clock-carrier is an internal digital signal in the example, it will always be near Vdd and cannot be changed. Can it be thatyour input-signal is not symetrical to Vdd/2 ?

   

When you post your complete project here, we can have a look at the settings. To do so, use "Create Workspace Bundle" and attach resulting .zip (do NOT use chrome, that will not work)

   

BTW; Are you using latest update of Creator, there is a recent change.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

  I directly download the project from  http://www.cypress.com/?rID=44407    AN62582.zip (PSoC Creator 2.1 SP1) . Creator is also 2.1 SP1. I did not make any changes. I don't know how can my input-signal symetrical to Vdd/2 ? A 500Hz sine wave generated by  Function generator is directly sent to P0[4].The Mixer'output is attached. DVK SW3 is set to 3.3V.

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You have to offset analog signals being fed to PSOC so that they

   

meet Vssa < Vinput < Vdda.

   

 

   

Attached some methods of doing that.

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You may have damaged your PSOC on the board because your

   

function generator is typically 50 ohm driving which means it's

   

negative swing forced too much current thru input protection diode

   

triggering latchup.

   

 

   

Most function generators have an offset control to shift average

   

value of output from 0 volts to some other value.

   

 

   

    

   

          

   

http://en.wikipedia.org/wiki/Latchup

   

 

   

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

The waveform is correct after the addition of offset.Thank you for your help very much.

   

I now have an another question.I want to try the AM demodulation project,but i don't know how to join the inputsignal-signal after AM modulation.I have only one CY8CKIT-001.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Its not clear to me what you are trying to do, a schematic or signal

   

flow / block diagram or description would be helpful.

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Looks like you'll have to purchase a CY8CKit-050 with a PSoC5LP. Do not use for this purpose a PSoC4, is has not got a mixer. You could try with cut & paste to merge the two projects, but you have to care for the connected pins which are the same used in both projects.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Bob is right. I see i should do. Thanks a lot.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You could save some money by using a Pioneer kit, it has a 5LP that you can

   

program and use independently from the PSOC 4 on the kit, and costs a lot less.

   

 

   

    

   

          http://www.cypress.com/?rid=77780

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

...but isn't it that you need a miniprog as programmer when you want to program the PSoC5 on pioneer board?

   

 

   

Bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Oh, sorry a miniprog came together with the -001 Kit.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You do not need the Miniprog3 to use / program PSOC 5LP on Pioneer board

   

as a general purpose processor.

   

 

   

    

   

          http://www.element14.com/community/thread/25084/l/psoc-4-pioneer-kit-community-project036-what-i-can...

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, you can, but there are no debug capabilities. With Miniprog3 there are: Breakpoints, variable and memory inspection, call stack.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You can always debug thru a serial port, ugly, we have all done

   

that before. But Miniprog 3 much better for programmers who did

   

not attend the zero error school of coding......:)

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

I have many sets of PSoC3 FirstTouch Starter Kit,I need to try if these can be used.

0 Likes