MotoHawk L9780 Set

This block allows the setting of internal parameters on the L9780 WideBand O2 device as defined by L9780 Definition block.

The block parameters dialog contains checkboxes that correspond with port names. Only the selected ports will be exposed and written.
Refer to the L9780 device datasheet for detailed explanation of parameters.

Block ID

L9780 Set

Library

motohawk_L9780_lib

Description

Block Inputs

Parameter Field Values Comments/Description
INRCPD uint8 [0-1] Enable pull down current
STGINRC uint8 [0-1] Enable short to gnd diagnostics on INRC
INRCGAIN uint8 [0-1] Gain on INRC 4.2 or 2.1
TGEN uint8 [0-1] Enable TG switches
VCCSEN uint8 [0-1] Enable VCCS or 'Park'
VCCSOUT uint8 [0-1] Select output channel 1 or 2 (TG and OUT)
VCCSPD uint8 [0-1] Enable VCCS pull down
COMPSEL uint8 [0-1] Select compensation network (0=A)
CLAMPEN uint8 [0-1] Clamp enable
CLAMPCL uint8 [0-1] Clamp voltage (CL1, Cl2)
CLAMPSIM uint8 [0-1] Clamp Asymetric
CLEARFLT uint8 [0-1] Clear faults when CSN (SPI CS) bit returns to 1
CCS uint8 [0-7] Clean current source on INRC 0,-14,-20,-24,-40,-54,... -154uA. Enumerated by motohawk_L9780_CCS_enum M-script
SAMP uint8 [0-7] Scaling of FVOUT amplifier. Enumerated by motohawk_L9780_SAMP_enum M-script
VCCSCAP uint8 [0-63] Compensation capacitor, set based on Rtot. 0==1pF, 63=64pF
MCP uint8 [0-3] Measurement clock period in oscillator ticks. Enumerated by motohawk_L9780_MCP_enum M-script. @4MHz 0=10ms, 1=20ms, 2=50ms, 3=100ms
STBHTH uint8 [0-1] Heater short to battery threshold. Enumerated by motohawk_L9780_STBHTH_enum M-script. 0=250mV,1=450mV
ITPT uint8 [0-127] RCT1 switch time pulse duration (tR) Eg: 127 * 2 = 63.500uS (At 4Mhz)
SNC uint8 [0-1] Synchronised mode using SY pin
CBT uint8 [0-127] Bandgap switch time pulse duration (tB) Eg: 127 * 2 = 63.500uS (At 4Mhz)
STBHFT uint8 [0-3] Heater short to battery fault time duration. Enumerated by motohawk_L9780_STBHFT_enum M-script. 0=80, 1=60, 2=40,3=20 [oscillator ticks]. @4MHz 0=20us,1=15us,2=10us,3=5us
ISPT uint8 [0-7] INRC switch time pulse duration (tINRC), 992*value * 1/Oscillator. @4MHz gives 0, 248, 496, 744, 992, 1240, 1488, 1736uS
PG2EN uint8 [0-1] Enable protection FET channel 2
PG1EN uint8 [0-1] Enable protection FET channel 1


Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single quote enclosed Name references L9780 Definition block. 
Set INRCPD boolean Enable INRCPD port
Set STGINRC boolean Enable STGINRC port
Set INRCGAIN boolean Enable INRCGAIN port
Set TGEN boolean Enable TGEN port
Set VCCSEN boolean Enable VCCSEN port
Set VCCSOUT boolean Enable VCCSOUT port
Set VCCSPD boolean Enable VCCSPD port
Set COMPSEL boolean Enable COMPSEL port
Set CLAMPEN boolean Enable CLAMPEN port
Set CLAMPCL boolean Enable CLAMPCL port
Set CLAMPSIM boolean Enable CLAMPSIM port
Set CLEARFLT boolean Enable CLEARFLT port
Set CCS boolean Enable CCS port
Set SAMP boolean Enable SAMP port
Set VCCSCAP boolean Enable VCCSCAP port
Set MCP boolean Enable MCP port
Set STBHTH boolean Enable STBHTH port
Set ITPT boolean Enable ITPT port
Set SNC boolean Enable SNC port
Set CBT boolean Enable CBT port
Set STBHFT boolean Enable STBHFT port
Set ISPT boolean Enable ISPT port
Set PG2EN boolean Enable PG2EN port
Set PG1EN boolean Enable PG1EN port