Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: CC2640R2F, CC2640
Tool/software: Code Composer Studio
Hi,
In the likeness of my other post for the CC2640R2F devices (link: e2e.ti.com/.../856175), I'm attempting to implement a modification to the existing CC26x2 RTLS programs in Code Composer Studio (CCS) to force the AGC constant in the RF core. The approach I found that works for the CC2640 devices is to change the second parameter in the HW_REG_OVERRIDE(...) call in the "urfc.c" program like so:
The approach is supposed to be similar for the CC26x2 files (the rtls_master device, specifically), however the overrides are composed/referenced a little differently. I traced the overrides down to the radio config .c/.h files located in the "syscfg" folder of the Debug build in the workspace, but I'm not sure which struct I need to add the override to fix the AGC (the override was suggested by Christin for the CC26x2 device in the previously mentioned post, I'm just not sure where it belongs in the CC26x2 program). Just to be clear about what I'm trying to do, I'm attempting to conduct relative electrical measurements for a project of mine using the CTE measurement methods, but I need every packet the IQ data is measured from to have the same gain. To summarize the questions, I was hoping to ask:
- Are the radio config .c/.h files I mentioned the correct files that I need to modify?
- If the radio config files I mentioned are the appropriate ones to modify, which struct should I add the override to guarantee a fixed AGC during the CTE measurements?
- Are there other overrides I could use to force the AGC to other fixed gain values (like it was discussed in the initial post)?
I'll gladly provide more details if necessary. Thank you for your time!
All the best,
Matt
