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.

How we can transmit packet grater than 64 bytes using only GDO0 pin ???

Other Parts Discussed in Thread: CC1101, CC2500

Hi,

i want to transmit packet grater than 64 bytes using only GDO0 pin configuration.when i am transmitting data (to host ) polling GDO0 interrupt pin . Asserts gdo0 when sync word has been sent and de-asserts at the end of the packet. but i want to transmit packet by polling resister ???

But i do not know how to poll GDO0 pin status resister for transmitting packet greater then 64 bytes???

Please find attach code of transmitting data < 64 bytes from target to host. 

let me help plz

regards,

shailesh

  • I am assuming your question is based on a CC1101 device because you mention a 64 byte packet, but generally the comment will apply for most of our packet based transceivers.

    You can set the packet length to values above the FIFO, all the way up to 255 bytes. Then set something called a FIFO threshold and place this signal on GDO0 pin using GDOx_CFG = 0x02 option as described on page 62 of the CC1101 user guide.

    Then you have to create a simple ISR that refills the FIFO before it runs out and keep doing this until the end of the packet.

    We have fully working code examples of this for the CC112x series of devices.

    Regards,
    /TA 

  • Hi,

    My device is cc2500.

    I am already used GDO0 pin as  assert sync trans/received and de-assert at end of packet. by writing GDOx_CFG = 0x06.

    so I am asking that Now how can i use this pin for transmitting greater than 64 Bytes packet???? 

    Is it possible to poll IOCFG0 resister status or something else???

  • It is described in detail on page 30 of the datasheet of the CC2500. We have described how to do up to 255 (easy) and >255 which is a little more complicated.

    Its based on using the fifo threshold indicator, every time it runs low you fill up the fifo with more data until you have reached the end of your packet, whatever size it might be.

    Regards,
    /TA