Part Number: LMX2595
Hi Dear TI Team
I development my own board with LMX2595. I can read and write registers as expected. I can measure the RF power from spectrum analyzer and change the rf power writing the register 44. PLL is lock. The problem is that I can not change the frequency. I could not solve this problem . I am loading the register map that I extracted from TICsPro. and the code is below :
LMX2595_writeReg(34, 0x0000);
LMX2595_writeReg(36, 0x0192);
LMX2595_writeReg(42, 0x0000);
LMX2595_writeReg(43, 0x0001);
LMX2595_writeReg(38, 0x0000);
LMX2595_writeReg(39, 0x0002);
LMX2595_triggerFCAL_only();
There is no problem about SPI and writing the registers. What can be the problem.
void LMX2595_triggerFCAL_only()
{
// 1) Read current R0 (e.g., your table ends with 0x241D)
uint16_t r0 = LMX2595_readReg(0);
// 2) Write back the SAME R0 but with only FCAL bit set
// (This triggers calibration; bit auto-clears internally after calibration)
LMX2595_writeReg(0, (uint16_t)(r0 | LMX_R0_FCAL_BIT));
}
HexRegisterValues2.txt