Hi @FelipeGarcia
Thanks for your reply.
Yes, I saw the same behavior, and MOD and IDLY registers are correctly updated on writing '1' to LDOK field but not able to see the '1' written on LDOK bit as the processor clears the LDOK automatically after updating the MOD and IDLY and this is happening very quickly.
But I am able to verify the LDOK is setting to 1 but for below 4 configuration of SC Register only I am not able to verify/set LDOK to '1':
{ TRGSEL, LDMOD ,PRESCALER, MULT , CONT , res_pdb_sc_reg_val }
{ 0x0, 0x0 , 0x0 , PDBDriver::MULT_ONE , false , 0x81 },
{ 0x4, 0x0 , 0x4 , PDBDriver::MULT_ONE , false , 0x4481 },
{ 0x8, 0x0 , 0x0 , PDBDriver::MULT_ONE , false , 0x881 },
{ 0xC, 0x0 , 0x4 , PDBDriver::MULT_ONE , false , 0x4C81 },
For other configurations I am able set/verify for the LDOK, for eg:
{ 0x1 , 0x1 , 0x1 , PDBDriver::MULT_TEN , true , 0x41187}
{0x2 , 0x2 , 0x2 , PDBDriver::MULT_TWENTY, false , 0x82289}
etc...
Only when the MULT bit is set to "MULT_ONE" and CONT bit is "false" then only I am facing this issue.
Regards,
Parth Rastogi