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.

SmartRF04EB

Other Parts Discussed in Thread: CC2430

I am using smartRF04EB to program my cc2430EB. So far i have been using

the built in buttons, Joystick ... as inputs. But now i want to give an external

input through one of the ADC pins in the i/o connectors. The problem is

i have to remove one of  the 0 ohm resistors and i DON'T know which to

remove without affecting the smartRF04EB board.

 

Waiting for your kind and quick reply

 

 

 


  • If you refer to the table on page 80 of the CC2430 data sheet you will see the ADC's are ports P0_7 to P0_0

    Page 17 of 34 in the SmartRF04 user guide (SWRU40C) has the schematic of the board.  You can see it is resistor R100 thru R107 that affect these ports.

    Since the ports support multiple functions you have to be careful which one you disconnect. If you are not using the MIC input I would think it would be a good candidate.  Another thought is to use a port without disconnecting anything.  An example would be the button_push (P0_1) port. Since the switch is normally open this port could be used without disconnecting anything provide your application is not real sensitive to noise due to the extra line lenght on the board.

     I would also suggest looking at the CC2430Em reference design to see which pins are actually wired to P1 or P2.You may find the

    SMA connector to be a good canidate since the SOC EMs do not use many of the P2 pins.

    I've used the schematic and an ohm meter to figure out which resistor is the one I'm looking for.  Maybe someone knows where the reference design is for the SmartRF04 is located.

     

  • Thank you for the quick and helpful reply .

    i have another  doubt:

    In the mannual for the development kit (rev 1.2) in page 13  i found this paragraph

    "The signal lines from the EM connectors run via 0-ohm resistors to the USB MCU and the
    various peripherals on the SmartRF04. This allows connecting an EM module to other
    applications. The USB MCU can be disconnected from the signal pins by removing the 0-ohm
    resistors. The I/O connectors are located on the “outside” of the 0-ohm resistors, so they are
    still connected to the EM connectors even if the 0-ohm resistors are removed. "

    there is also a figure which shows how the USB MCU, I/O connectors ,peripherals are connected.doe it mean that when i disconnect any of the 0 ohm resistors i will also disconnect any connectionwith the USB MCU. For example if i disconnect the 0 ohm resistor which connects the MIC, will the smartRF04EB work properly?

     

  • You remove the resistors by de-soldering them. It is hard on the board even with special tools and can only be done a few times before scrapping the board which is expensive.

    Most often someone might remove 1, maybe 2, to gain access to specific ports while leaving the interfaces to the C8051F320 for external programming to include RF Studio and Flash Programmer  / IAR in place.

    Before I would remove the resistors to isolate the sockets I would buy a couple SamTek connectors and wire up the 6 or 7 connections to the EM module. Another good approach is to use the Ti   BB_SOC   battery module which provides battery power and headers for access to the ports and programming.

    This way the SmartRF04 boards are still available for use with RF Studio as a trusted packet generator / receiver and to determine and test register set values. It also provides the interface with Ti's Flash Programmer, and Packet Sniffer. 

  • Miz,

    In case you haven't seen it, there is schematics of the SmartRF04EB in the CC2430/CC2431DK Development Kit User Manual (swru133) that shows the connections. On the newest revisions of the board (rev 2.0.1 or later) the 0-ohm for P0.0/MIC_INPUT (R104) is not mounted by default. This line is not connected to the C8051F320 USB MCU in any way, so it will not break anything by removing it (SmartRF Studio/Flash Programmer/IAR debugger). It will just disconnect the mic. minijack and 10 kHz front-end filter from the CC2430/System-on-chip. You can then use the the port0/pin0 pin on the "I/O A" (P10) pin header to interface the CC2430's ADC, if you want.

  • hi,

    As you suggested in your previous reply i was trying one of the options you told me.i tried to use the port which is connected to switch s1, (P0-1). I configured that port as ADC inpuwith resolution 12bit and VDD as a reference . I tested it . But when i keep the switch open it doesn't give me 0 value.

    is there any thing i missed?

     

    waiting for your kind reply

     

  • If the pin is left floating you will get a range of counts.  Try grounding it or applying a know volatge.

  • Hi,

    Thank  you for your very helpful and quick answers. your advices mean a lot to me.

    when i connect the pin to either 3.3V pin  or to the ground pin in i/o connector of  development

    board and shift the result by 4 to the right , the out put ranges from 13 to 15 on the lcd.

    is there any thing you would say about it?