Source code for Tx and Rx mode

Discussion in 'Programmer's Corner' started by alkid, Sep 24, 2007.

  1. alkid

    Thread Starter Member

    Sep 20, 2007
    12
    0
    Hi
    Anyone try before any source code which use C8051F120DK to configure nRF24L01 into transmitter mode and receiver mode( as i have 2 nRF24L01)? :)
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Source code? Rx is set by PWR_UP bit high, PRIM_RX bit high, and CE high. Tx is set with PWR_UP bit high, PRIM_RX bit low, and CE pulsed high for more than 10us - as long as there is a packet in the TX FIFO. This is just bit twiddling.
     
  3. alkid

    Thread Starter Member

    Sep 20, 2007
    12
    0
    :confused: but like that i don't need initialization the C8051F120DK for its SPI peripheral. Okok sorry for so longwinded if like how i going to set what you said as i never really ever used or learnt both the C8051F120DK and nRF24L01 as the more i read about them the more i getting confused. :)
     
  4. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    You seem to be between a rock and a hard place. None of us have any experience with that setup either so I guess you're just going to have to buckle down and figure this stuff out. I don't know what you expect us to do for you.
     
  5. alkid

    Thread Starter Member

    Sep 20, 2007
    12
    0
    i don't expect anything i just thought there might be people who know have experience with it sorry for being as annoying :(
     
  6. Papabravo

    Expert

    Feb 24, 2006
    10,142
    1,790
    Nobody said it was annoying. We just don't have any familiarity with the setup. The documentation is inadequate to answer your problem. I'm at a loss to figure out how the people who make this stuff expect people to deal with it. That's not your fault. You may have purchased pieces that are beyond your ability to use. It happens.
     
  7. jut

    Senior Member

    Aug 25, 2007
    224
    2
  8. alkid

    Thread Starter Member

    Sep 20, 2007
    12
    0
    ya i have seen but sad to say i can't use that source code as i used C8051F120DK not the MCU itself on the nRF24F01. :)
     
Loading...