|
From: UDDIN, M. (N. - US) <mos...@no...> - 2016-09-07 17:22:24
|
I have read the datasheet about that part. Following is what I have tried but it didn't work
1. First I set the MDMTST0.TX_1MHZ_OFFSET_N=0 and FSDIV to channel-1
Then I move the state from SFSON to STX (the way did in your code), and TX ADV packet.
2. After that I set the MDMTST0 .TX_1MHZ_OFFSET_N=1 and keep the FSDIV as it was.
Then I move to SRX state from SFSON to receive the SCAN_REQ or CONNECT_REQ packet.
Note that I used sync word of ADV access address to capture the packet.
But No luck.
Does cs_threshold setting has anything to do with it.
Regards
Mostafa
-----Original Message-----
From: Mike Ryan [mailto:mik...@la...]
Sent: Tuesday, September 06, 2016 2:46 PM
To: UDDIN, Mostafa (Nokia - US)
Subject: Re: [Ubertooth-general] (no subject)
On Tue, Sep 06, 2016 at 06:43:06PM +0000, UDDIN, Mostafa (Nokia - US) wrote:
>
> Hello guys,
>
> Can I do advertising and then receive the CONNECT_REQ in ubertooth.
>
> I have tried, but it seems switching between TX to RX mode require more time then T_IF.
>
> Can you tell me how to do fast switching between TX to RX mode.
>
> By the way I was using cc2400_rx_sync() function to switch from TX to RX mode.
It's possible to TX in direct conversion mode to switch between RX and TX in less than T_IFS. However you will need to manually control the radio state machine. Attempting to do it in helper methods in C is too slow.
Check the CC2400 datasheet for info about "1 MHz IF" and disabling it for TX.
|