Home › ELEKTOR FORUMS › RF & Communications › SDR: Not working

ELEKTOR FORUMS

Please log in to post a reply or subscribe / unsubscribe to topics

Topic: SDR: Not working

Author Post

millsey

9 posts

Popping In
Popping In

Read post 05-02-2010 22:02

Finally built my SDR from the May 2007 article. Although the 10Mhz clock is working I cannot seem to get any tuning or signals using any software, cannot hear the 5Mhz test signal either. Only doubt I have is that my synth chip is type CY27EE16FZEC - I cannot see if this is different from that specified as all data sheets come back to the CY27EE16ZE ? Maybe the FT232RL is not talking to it ?? Can anyone tell me some voltages / waveforms to expect on the control bus ? I have uploaded the binary file btw.
Any help appreciated.
John

sarma

199 posts

Diehard
Diehard

Read post 06-02-2010 06:22

Hi ,
you may check the 5V supply at the Vcc pin of FT232RL.

you might have loaded the driver (CDM_setup) for FT232RL , as you said you are able to load the .bin file. Both are same perhaps, and for your information, I am using CY27EE16FZXEC.

ensure that there are no shorts at pins of SMD chips. the supply to CY27EE16 is 3.3V derived from FT232RL.

Post edited by sarma on 06-02-2010 06:24

Post edited by sarma on 06-02-2010 06:26

millsey

9 posts

Popping In
Popping In

Read post 06-02-2010 13:08

The CY27 appears to be stuck on 103.70748MHz. If I measure at IC1 pin 3 or 11 I get 25.92687MHz. Have checked all connections, the FT232 clock is running ok @ 12MHz and I can see a change of logic on TXD and RXD if I change frequencies in the ElektorSDR screen, but the CY27 stays fixed on the same frequency. Maybe the CY27 is faulty, I got it on Ebay from HK. I installed the FT software first and my PC correctly recognises the device. It also shows as a USB device on COM2.

sarma

199 posts

Diehard
Diehard

Read post 07-02-2010 07:44

Millsey,
I had occasions when there was no change in frequency even on changing the same thro the program.

A restart from CDM_set up and re loading the initcal.bin from the same software always helped me. perhaps it is not a chip fault.

(there are initcal.bin for 3 versions of SDR designed by Burkhard Kainka and I generally use SDR2 as it permits frequency change in 1KHz steps)

i always used to measure the frequency at the output pins of the 74AC74 which feeds the IQ demod switching.
At this point you get the same frequency as shown on the screen menu.

as per datasheet the chip you have with suffix FZEC is field programmable and suitable to us. I t appeared thet "F" is field programmable.
see the note 7 below the datasheet of 27EE16ZE appended below.

The CY27EE16ZEC-XXX, CY27EE16ZEC-XXXT, CY27EE16ZEI-XXX and CY27EE16ZEI-XXXT are factory-programmed configurations. Factory programming is available for high-volume design opportunities of 100Ku/year or more in production. For more details, contact your local Cypress field application engineer or Cypress sales representative.

Post edited by sarma on 07-02-2010 07:56

millsey

9 posts

Popping In
Popping In

Read post 07-02-2010 19:23

Sarma,
Thanks for your patience. I have reinstalled the CDM and uploaded the initcal.bin using the ElektorSDR software but the CY still refuses to tune. You mention SDR2 .bin - where can I find this ? I am currently using the .bin downloaded from the Elektor page here. Am I correct that I must load the .bin from the Elektor SDR program, you seem to indicate it should be uploaded using CDM in your last post ?
Millsey

sarma

199 posts

Diehard
Diehard

Read post 10-02-2010 13:03

please see http://www.b-kainka.de/sdrusb2.html
this is Burkhard Kainka's site
as you go down you find a link for downloading sdr2.exe

all the best
sarma

Post edited by sarma on 10-02-2010 13:08

millsey

9 posts

Popping In
Popping In

Read post 10-02-2010 21:44

I downloaded both the SDR and SDR2, but still it refuses to tune. I guess maybe one of the chips is faulty. On both downloads there are two .bin files now, init.bin and initcal.bin. In any event I tried both to no help. Guess maybe I have to give it up now.
Millsey

sarma

199 posts

Diehard
Diehard

Read post 11-02-2010 10:41

please check whether your USB is USB1 or USB2
perhaps you can also have a USB card in a slot if needed and run the USB2 diver if needed.

giving up could be a lost resort. But there is charm an in facing the obstacle and overcoming it, i believe.
please check with a frequency counter or scope the 10MHz oscillation on Cy27chip
perhaps you know that the 10 or22pF caps are not to be mounted around 10MHz crystal.
then, you may check with some without loading it by using a buffer tanaistor Or FET., whether the SDA and SCL pins are sending messages when you change the frequency. This could be heard on the headset itself in the form of chirps.
Anyway, you may try to red a document at following link of Burkhard Kainka's site , and check whether you followed the procedure properly.

http://www.b-kainka.de/sdrusb.html

You know that using Google translate, you can translate the contents of the site to another language.

Hope you would overcome and start enjoying the Reception soon.
All the best
sarma

Post edited by sarma on 11-02-2010 10:56

millsey

9 posts

Popping In
Popping In

Read post 11-02-2010 19:20

Hi Sarma,
I don't want to give up, but I'm from the days of valves and my knowledge of modern chips is very limited. Your mention of USB does make me wonder, but I have tried this on 3 PC's I have here, at least two are USB2. I am confused about the FT drivers, they mention choosing VCP or D2XX first, but I always end up with the same download CDM20600.exe whatever I choose, so I assume the software works it out ? I have removed the drivers as explained on the FTDI website, and the Rx is always recognised and the drivers are re-installed after I do this and plug it into the USB again.
When I monitor the 10MHz signal with my scanner I can hear a burbling noise if I move the frequency slider or the offset or xtal sliders, so it seems the CY is getting the serial data. I will try your suggestion to listen to SDA and SCL at the weekend when I have some more time. Yes, I know to leave the capacitors out, the 10Mhz is measured at 10.006MHz with my counter so I am happy about this working. Perhaps at worst case I should try to replace the CY27 before I abandon it. Not knowing the reason that is causing the problem is the most irritating fact.
Millsey

sarma

199 posts

Diehard
Diehard

Read post 12-02-2010 09:13

Dear Millsey,
Me too, a person of valve days, running 65th year. By the way , please check for any possible shorts other than those intended by design on the CY and FT chips. I forgot to mention this last time. perhaps we need a magnifier to help us.
always try to check the CY output at the output of 74AC74 ( you may not use LS74) at this point it would give you 1/4th of the frequency generated by CY chip and this what we are interested.

Secondly, configure that the sound card MIC jack is diaabaled, Line IN enabled and stereo setting at the middle and volume level at say 50%.
Likewise the Line out jack may be configured as Headphones. Perhaps all these things are described in detail in Kainka's article.

Let us see why we cant manage.
Regards
Sarma

millsey

9 posts

Popping In
Popping In

Read post 13-02-2010 13:43

Hi Sarma,
I am 5 years your junior then !! I have checked the frequency at the output of the 74AC74 and it remains fixed at 25.92687MHz. I am now becoming convinced that the CY27 is faulty. I connected my Oscilloscope to the SDA and SCL pins, and when I vary the frequency in the Elektor tuning software I see negative going pulses on both pins. So I can conclude the FT232 is working I guess.
I have not bothered connecting the audio yet, until the CY27 frequency can be made to change it is pointless. I will consider ordering another CY from Germany this time.
I have used a 200x electronic microscope and cannot see any problems with connections or shorted pins.
I will keep you updated. Are we the only two people using this forum ??
Regards
Millsey

millsey

9 posts

Popping In
Popping In

Read post 28-02-2010 16:28

Hi Sarma,
Have changed the CY27 and can actually now get the osc to change frequency, but oddly I seem to be getting a 15MHz test signal instead of 5MHz. At least I can now see some light towards the end of the tunnel. I have had no success in connection it to my PC soundcard yet, but at least I have solved one problem. I'll report further news when I can.
Millsey

sarma

199 posts

Diehard
Diehard

Read post 06-03-2010 06:30

millseyHi Sarma,
Have changed the CY27 and can actually now get the osc to change frequency, but oddly I seem to be getting a 15MHz test signal instead of 5MHz. At least I can now see some light towards the end of the tunnel. I have had no success in connection it to my PC soundcard yet, but at least I have solved one problem. I'll report further news when I can.
Millsey

Sorry for late reply, Millsey !!
It is nice that you replaced the chip. Perhaps you are measuring harmonic as your frequency counter may be having higher gain. once you reduce the front end amplification of the measuring device, you might read the fundamental 5MHz.

for your ready reference, I am attaching a table of test results across the band , the LO output measured after 74HC 74
now you may select other channel number (in3) and go ahead to tune from aerial, wish you all the best

Attachmenttest measurements on Kainka SDR may2007.xls


Post edited by sarma on 06-03-2010 06:54

Post edited by sarma on 06-03-2010 06:55

millsey

9 posts

Popping In
Popping In

Read post 09-03-2010 21:07

Hi Sarma,
Working at last ! Have managed to hear some MW stations and Shannon Volmet, but there is so much noise and interference it's not quite what I had expected. Using the G8JCFSDR software. Need to change the decoupling caps to ceramic as I used polyester ones and I think this may help. Not as good as my Softrock receivers that are very sensitive and quiet, but at least it does something now. Thanks for your ongoing assistance.
Millsey

sarma

199 posts

Diehard
Diehard

Read post 10-03-2010 07:34

Congratulations, Millsey !!!

I am getting things fine. Never had much of Noise, unless QRM is bad . especially the DRM signal is like CD quality. I saw some reports that in UK and other places where power line modems are used for remote metering etc, the Noise in unbearable.
But as you said, SOFTROCK works same time silent, the SDR needs to be checked perhaps !!
I too tried Softrock but the pnp/npn based crystal oscillator gave trouble and the board was partially SMD . I kept it on hold.
Incidentally which model you have?

The advantage of Kainka's SDR is that, it could be software tuned across the entire band.

Regrading sensitivity, perhaps the 0, 10, and 20 db gain adjustment helps.
You can even try a better component at the Op amp instead of TL084.

I am presently using an active miniwhip antenna designed by PA0RDT. performance is almost like LW antenna with no much space needed. If you did any mods , you may try to upload a note with a photograph, Millsey.

Post edited by sarma on 10-03-2010 07:38

Elektor Editor

587 posts

Power User
Power User

Read post 10-03-2010 13:11

congrats Millsey -- persistence pays.

The SDR Preselector described in the December 2009 edition may also prove useful in getting better reception. I know it did here at the Elektor lab location, which is abominable in terms of SW reception.

Jan

Post edited by Elektor Editor on 10-03-2010 13:12

Please log in to post a reply or subscribe / unsubscribe to topics

Follow Elektor

      

Act now!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF