RBDS/RDS decoding

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I seen a datasheet on the TDA7330 RDS RBDS decoder, and want to build an RDS decoder.

well the datasheet explains the timing diagram and operation of the IC, but i cant find the RDS commandset anywhere to write an AVR program to decode the data the chip puts out.

any ideas?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I used google with

RDS decoding

http://www.atoomnet.net/atmega16...

well, actually a hit was also:

http://users.pandora.be/hollie/p...

so we may have another PIC vs. AVR round here !

The RBDS standard is here:

ftp://ftp.rds.org.uk/pub/acrobat...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i see the RBDS standard link. it confused the crap out of me so i closed it. ROFL.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yeap i seen all 3 of those l inks. im not into pic, and the atmel code the one person provides is in C, and i cant interpret or even code C. I use ASM or BASIC.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've seen a tuner module (Mitsumi? and others too) which spit out data and clock signals for RDS information.

The info was then decoded with Mega8 and C code, so it can be done.

Unfortunately, I can't give much implementation details, but you really have to use the RDS specs how to decode the bitstream or some readily available code.

- Jani

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mr. Mic did one

http://www.mictronics.de/?page=r...

I dont know the chip he used ,oops the one you mention :oops:

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
i cant find the RDS commandset anywhere

I know nothing about all this, so bear with me. I looked at the datasheet for the IC, the C code for the AVR project, and the 1998 standards document. I did not do any other searching, although that may prove fruitful for you.

It looks to me like you're just going to need to bite the bullet and get your hands dirty. The standard has all the information you need. If you look at the index first, you'll start seeing how they've organized it. They walk you through the layout of the bitstream that your chip is going to throw at you.

It doesn't look much worse than reading an MCU datasheet and actually understanding it, other than the fact that the standards committee wasn't trying to sell you something (i.e., they didn't have to deal with the marketing department barking at them to make things clearer).

I'd also suggest that this might be a good time to pick up a reading understanding of C. It will help you now (you can't get much better than a working project on the MCU of you choice), and it will certainly help you in the long run. It wouldn't take more than an hour to get a reasonable understanding of the language and its syntax so that you could at least follow the gist of a program. When you can identify parts of interest, you can pick up more a more subtle understanding as you need to.

Five years from now you will/should know C, so why not use this as an opportunity to make the leap?

I'll admit the guy could have done a better job with the code, and a comment here and there wouldn't have killed him, but I think with the standard in one hand, his code in the other, and a motivation to understand how this stuff works, you'll succeed without much difficulty.

Chuck Baird

"I wish I were dumber so I could be more certain about my opinions. It looks fun." -- Scott Adams

http://www.cbaird.org

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

because im not going to get my hands dirty in C. LOL. i hate C. never did like it.

ill stick to ASM or BASCOM.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, good luck decoding RDS with ASM or BASCOM then.

I just have the feeling it is too complex and takes a lot of time to do it in Assembler, or the BASCOM implementation is too slow or requires data structures that is not efficient to handle. Okay the bits are coming at what, between 1 and 10kHz anyway so it might work.

- Jani

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you are clever and really love assembler, do it
in assembler. It can be done, I did it 15 years ago
using a 8051.

If you want to minimize your workload, you should
try to understand the example-codes given in C.

Main problematic part is frame-synchronisation.
Once you have that up and running, decoding
the information-payload is fairly simple.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Master Bates, you don't want to get your hands dirty? Do you want someone to give you the solution on a plate? You tell us you don't understand 'c' but yet you hate it? If you were really skilled, you could compile the 'c' code then write your own interpretation in assembler and tell us how much more efficient the code is. But you won't want to tell us how long it took to debug............
On the other hand, translating the PIC assembler should be a doddle- its so brain dead that you'd only need to use half the instructions the AVR has! Only real men program PICs in assembler, me I don't need an assembler,I eat machine code for breakfast!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
Master Bates, you don't want to get your hands dirty? Do you want someone to give you the solution on a plate? You tell us you don't understand 'c' but yet you hate it? If you were really skilled, you could compile the 'c' code then write your own interpretation in assembler and tell us how much more efficient the code is. But you won't want to tell us how long it took to debug............
On the other hand, translating the PIC assembler should be a doddle- its so brain dead that you'd only need to use half the instructions the AVR has! Only real men program PICs in assembler, me I don't need an assembler,I eat machine code for breakfast!

and you really need to be banned.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

and you really need to be banned.

Sigh. Guy posts that he wants a particular microcontroller implementation for an apparently well-documented interface. When we poke fun at that, then we get banned.

After we all get banned, the Forum can consist of nothing but "do my homework/project for me" requests.

BTW, I want someone to send me complete implementations of a certified DeviceNET stack. In Pascal please. Oh, yeah, Zigbee, too, while you are at it. And I don't want to change any pin assignments, so what you give me MUST match my layout. If I don't get it soon, all who do not send it to me will be banned.

"Freedom is irrelevant. Resistance is futile."

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

LOL that doesnt have nothing to do with anything. i was talking about the guys damn attitude towards my comment. sheesh. :roll:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please take a look back through all the posts and check out how the attitudes manifested. You asked for some help, and you got several reasonable responses with good advice. Your comeback was not particularly neighborly - essentially you don't want to do the work necessary to gain the benefit.

At that point a couple of the guys who don't suffer fools gladly joined in. They're both extremely knowledgeable and quite helpful, but they want the recipient to carry his or her weight. They were both somewhat subdued in responding to you, actually.

I can only speak for myself, but I think you might give some consideration that the "damn attitude" might be yours. Everyone here is delighted to help out; that's why we hang around. But you have to share in the burden by doing your part as well.

Chuck Baird

"I wish I were dumber so I could be more certain about my opinions. It looks fun." -- Scott Adams

http://www.cbaird.org

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lee and Chuck - I think you described my feelings exactly. Hopefully I gave some larfs along the way.

Mr Bates - do a search and you'll see most of my customers are happy, i do try to give quality responses to quality questions. There are some that don't like my warped sense of humour - last week I was called a 'Jackass' - I wasn't sure what to make of that. Jackass to me was a funny movie.....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

LOL that doesnt have nothing to do with anything. i was talking about the guys damn attitude towards my comment. sheesh.

Quote:

After we all get banned, the Forum can consist of nothing but "do my homework/project for me" requests.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ill just shutup now and go do my own thing. :P :oops: