This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA308: SWL not stays at 101

Part Number: PGA308

hi everyone, 

I've write a beginning of PGA308 driver to be used as front-end amp with stm32 micro controller familly 

I'm planning to use the PGA constantly in Software Lock Mode and manage parameters in microcontroler flash for differents reasons 

but when i'm trying to write SWL bits into SFTC and reading back SWL bits don't changed 

my init phase looks like this 

- reading all OTP and all RAM registers 

- writing DISOUT to 1, OWD and OWDOFF to 0 into CFG2 (working great) 

- writing SWL to 0x5(101b) in SFTC (not wrote when reading back

- planing to setup ram offsets & gains (not done yet)

- writing DISOUT to 0 into CFG2 (ok)

if I refer to usermanual state machine it look's I 've not forgot anything prior to writing into SFTC but may be I made something wrong ???

thank's for any help

  • Hi ol,

    Is the PGA308 in three-wire or four-wire configuration?

    What are the values of the RAM registers when you perform your initial read after POR?

    What are the contents of the SFTC register when you read it back after the attempted write?

    Have you programmed this device OTP yet?

    Also, this should be ok either way but it is not necessary to write OWD and OWD OFF bits in the CFG2 register as these bits are ignored in software lock mode. see figure 5-14.

    Regards,

    Zach

  • hello zach 

    it's in 4wires config and SFTC is 0 but I found my mistake (bit order definition in a struct) sorry for this noob error

  • Hi ol,

    No problem, I'm glad you were able to find the error. I'll go ahead and close this thread, let me know if you need any more support on this issue.

    Thanks,

    Zach