MC33771 SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC33771 SPI

826 Views
mohamed-moustafa
Contributor I

How can i know SPI commands to control PGA or IC at all ?

0 Kudos
Reply
2 Replies

814 Views
mohamed-moustafa
Contributor I

I cannot access those files 
where I have no response on my NDA request.

What should I do?

 

0 Kudos
Reply

816 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Mohamed,

The setting of the PGA gain in manual or automatic mode can be performed by configuring ADC_CFG[PGA_GAIN] register (0x06).

ADC_CFG.JPG

The setting of the PGA gain in automatic mode will also be performed by the automatic gain control. Automatic gain control allows the device to obtain the most appropriate gain setting for the amplifier input signal level. In automatic gain control mode, the conversion result is digitally compared with internally programmed thresholds.

Figure 14.JPG

You might find useful information about programming/setting the MC33771 in the AN12084 (MC3371/MC33772 Programming Guide) which is available on the product website under Secure Files requiring an NDA:

AN.JPG

In the Software section under Secure Files is also available complete BCC Software Driver:

Driver.JPG

Best regards,

Tomas

0 Kudos
Reply