Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastlock profile within Nios II #948

Open
TobyXue opened this issue Oct 17, 2023 · 1 comment
Open

Fastlock profile within Nios II #948

TobyXue opened this issue Oct 17, 2023 · 1 comment

Comments

@TobyXue
Copy link

TobyXue commented Oct 17, 2023

Hello everyone,

I am encountering some issues about perfoming fastlock profiles within Nios II. As described in "bladerf2_common.h" from line 270 to line 274, it seems it can also be performed within Nios II processor:

 /** Store Fastlock profile. (Write)
 *
 * Stores the current tuning into a fastlock profile, for later recall
 */
BLADERF_RFIC_COMMAND_FASTLOCK = 0x0B,

From its description, it seems this command can merely store tunings to a fastlock profile for later recall, but there is no specified command to "recall" the stored fastlock profiles within Nios II.

Can anyone please tell me how to perform it properly within Nios II?

Many thanks in advance.

@paulhprobert
Copy link

Hi Toby,
After grepping around in the source I don't see any commands at that level to recall the fastlock profile. But in ad9361.h and ad9361.c you can find references to registers such as REG_RX_FAST_LOCK_SETUP. So it looks like you might have to do your own spi.write operations into those registers. Inside the AD9361_Design_File_Package from ADI you can find a couple .pdf's that document those registers. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants