This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Configuring(via I2C) FM Stereo Radio With Transmitter SN761633

Hello all,

    I am trying to configure/control SN761633 FM transmitter connected to DM6446 via I2C. I am interested in the FM receiver functionality. I have tried using both U-boot utility and my own I2C client but cannot even read the default POR values correctly. Using my I2C client, I can read/write other I2C slave devices (AIC33,RTC) but the FM transmitter continues to be a problem. 

Can anyone familiar with SN761633 please tell me the following?

  1. From the (SN761633) datasheet, it seems that there are no internal registers. Is my understanding correct? If yes, then how does the device hold 5, 8-bit config values?
  2. For the case where there are no internal registers,  how does one write to/read from the slave device?
  3. Are there examples of other I2C devices which do not use internal registers / use only 1 register?

I also found this interesting link where the author describes the types of I2C devices with different internal address widths.  http://lists.denx.de/pipermail/u-boot/2002-December/000209.html

I have looked at both the u-boot and the kernel sources but nothing seems apparent.

Any help is appreciated.

thanks,

Sachin

 

  • I am also trying to integrate the SN761633 but am immediately interested in TX Mode.  I too have an I2C rig that is successfully communicating with other parts but the SN761633 doesn't respond.  I am attempting to initially configure the 5 registers; setting the Port_1 and Port_2 bits to low so that I can verify that communication is working (have not been able to change the status of Port 1 or Port 2 yet despite several efforts).

    I am sending a 6-Byte stream with a clock frequency of ~100kHz and a delay of ~20us between bytes.  The ACK pulse from the slave appears to be happening ~2us after the SCL goes low and releases SDA.

    The initial configuration bytes after cycling power to the device are:

    0xC6 0x29 0xF6 0x76 0x12 0x4E

    I have tried to find Dev Kits, App Notes, and other tips and tricks but this appears to be the only source of assistance at this time.

    Any help or suggestions would be appreciated.

  • I had the communication with SN761633. First you should to clear standby bit and after that communicate.

     

  • Please help me,

    I am trying to configure SN761633 FM transmitter interfaced with at91sam7s . i had connected sda and sck to the port pin of microcontroller.....

    can any one help me out in configuring the reciver part of SN761633 . i am unable to find timing diagram.

     

    any help is appreciated

     

    thanks,

    Regards

    maximus

     

  • 1st - you must understand standard of i2c-bus (googling by "i2c standard" give me link:

    http://www.acroname.com/robotics/info/standards/iic/I2C-Specifications.pdf , latest ver.2.1)

    2nd -  from SN761633 datasheet you get required timing specification for

     yours I2C "hand-make" bus-controller (gpio-s of microcontroller?):

    page 8, table "I2C Interface", fSCL Clock frequency (SCL) = 400 kHz maximum

    3d - googling for software i2c-bus controller (best way - writing & debugging yours own software)

    http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4343,

    AT91SAM7S-EK Software Package for IAR 5.2, Keil and GNU (37 MB, revision 1.5, updated 12/08)
    This package provides software drivers and libraries to build any application for AT91SAM7S devices.

    4th - take oscilloscope and debug step-by-step software for verifing diagrams of your bus with

    specification i2c-bus

    5th - calculate register's values for SN761633 and try to program it. verify and enjoy

  • if you neen I can give you my code in C for MSP430 for communication to SN761633 with emulated I2C interface (using GPIO) Удачи

  • А вы бы не поучали человека, а помогли бы по существу

  • Igor, sorry, but it's the international forum - please, speak English

    1. two phrases from post: "i had connected sda and sck to the port pin of microcontroller"  and  "i am unable to find timing diagram"

    say me that maximus doesn't know about I2C bus.

    2. if you have some code for communicating the microcontroller with SN761633 (via GPIO pins) and you are able to share this with the

    community - you can put sources to the public place (for expl. -  gForge.ti.com)

    3. i don't write code for microcontrollers, but have some experience with i2c bus and h/w i2c-module of DSP

    best regards, Michael

     

  • Ok, as for I2C bus, if there are pull up resistors(about 10 kOhm) for the SCL and SDA pins, cleared standby bit and proper timing It should be working properly. I will share my project some later. Best regards, Igor.