Futek Qia128 Digital Low Power Controller With Spi And Uart User Guide

Futek Qia128 Digital Low Power Controller With Spi And Uart User Guide

FUTEK LogoQIA128 Digital Low Power Controller with SPI and UART
User Guide

General Description

The QIA128 is a single-channel ultra-low-power digital controller with UART and SPI outputs.
Pin Configurations and Function Descriptions

FUTEK QIA128 Digital Low Power Controller with SPI and UART - PIN ConfigurationsTable 1.

#PinDescription J1 #
Active low reset pin.
2TMSJTAG TMS (Test Mode Select). Input pin used for debugging and download.
3TXTransmit Asynchronous Data output.7
4RXReceive Asynchronous Data input.6
5GNDGround pins are connected to each other internally.1
6– ExcitationSensor excitation return (connected to Ground).2
7– SignalSensor negative Input.5
8+ExcitationSensor excitation.3
9+SignalSensor Positive Input.4
10VINVoltage input 3 − 59
11Active low chip-select. Do not drive the line low until the device has booted up completely. Also, ensure that the line is not driven low unless the is low.14
12SCLKThe serial clock is generated by the master.13
13MISOMaster-In-Slave-Out.12
14MOSIMaster-Out-Slave-In.11
15The active-low pin is used to keep all communication synchronized. It notifies the master device when new data from the sampling system is ready. This ensures that the master is always collecting the latest data. When the pin goes low, it indicates that the data is ready to be clocked out. This pin can be used to externally interrupt the master. The pin returns high when the system is in a conversion state and returns low once new data is ready.
*Note: The pin does not return high once data is read—it will only return high once the system enters a conversion state.
16VDDDigital rail (2.5V).
17NTRSTJTAG NTRST/BM Reset/Boot Mode. Input pin used for debugging and download only

and boot mode ( ).

18TDOJTAG TDO (Data Out). Input pin used for debugging and download.
19TDIJTAG TDI (Data In). Input pin used for debugging and download.
20TCKJTAG TCK (Clock Pin). Input pin used for debugging and download.

QIA128 UART Configuration
Table 2. 

Data8-Bit
Operation Baud Rate:320,000bps
ParityNone
Stop bits1-Bit
Flow Control:None

Pin Functionality

When the pin goes high, it means the device is in the process of A/D conversion. goes low as soon as the conversion is complete.
* Note: Since UART is asynchronous, the is provided to make the communication synchronous if required.
Period

FUTEK QIA128 Digital Low Power Controller with SPI and UART - DRDY Period

The following table shows the period of the pin for all sampling rates.
Table 3.

()(µ)Description 
2401254 SPS
5520 SPS
1950 SPS
9100 SPS
4.5200 SPS
1.5500 SPS
1.1850 SPS
0.61300 SPS

“Stream” Mode

The Set System Stream State (SSSS) [with a payload of 1] command may be sent to activate the stream mode. The device will stop streaming as soon as the Set System Stream State command [with a payload of 0], or any other command is sent to QIA128.
*Note: There may be no response from the QIA128 if an incorrect command is sent.
UART Packet Structure
The packet structure and length for every command may vary due to their type (GET and SET) and functionalities; refer to the Command Set Table for further information.
System Behavior
Start-up and Self-Calibration Mode
When the system powers ON, it starts reading the data from EEPROM and goes to the internal calibration mode.
*Note: The first pulse could be used as an indicator for when the device is ready for communication.
Sampling Rate Change
When a sampling rate change is requested, it will take no more than 0.5 seconds (depending on the selected sampling rate) to see the change in the period.
Sampling Rates
Table 4.

Maximum Approximate data rate change timing ()SR CodeSampling Rate
≅2500x004 SPS
0x0120 SPS
0x0250 SPS
0x03100 SPS
0x04200 SPS
0x05500 SPS
0x06850 SPS
0x071300 SPS

Command-Set List

Table 6. 

TypeNameDescriptionTX Packet StructureRX Packet StructureBytes in Payload
GetGSAIGet slave activity inquiry
(Used to test communication)
00 05 00 01 0E00 05 00 01 0EN/A
*GetGCCRGet channel current reading00 06 00 05 00 20See Payload Example4
SetSSSSSet system stream state OFF00 06 00 0C 00 3C00 05 00 0C 3AN/A
*SetSSSSSet system stream state ON00 06 00 0C 01 4100 05 00 0C 3A … [Stream Bytes]N/A … [4]
*GetGDSNGet the device serial number00 05 01 00 0DSee Payload Example4
*GetGDMNGet device model number00 05 01 01 11See Payload Example10
*GetGDINGet device item number00 05 01 02 15See Payload Example10
*GetGDHVGet device hardware version00 05 01 03 19See Payload Example1
*GetGDFVGet device firmware version00 05 01 04 1DSee Payload Example3
*GetGDFDGet device firmware date00 05 01 05 21See Payload Example3
*GetGPSSNGet profile sensor serial number00 06 03 00 00 15See Payload Example4
*GetGPSPRGet profile sampling rate00 06 03 1E 00 8DSee Payload Example1
SetSPSPRSet profile sampling rate 4SPS00 07 04 1E 00 00 9200 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 20SPS00 07 04 1E 00 01 9800 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 50SPS00 07 04 1E 00 02 9E00 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 100SPS00 07 04 1E 00 03 A400 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 200SPS00 07 04 1E 00 04 AA00 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 500SPS00 07 04 1E 00 05 B000 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 850SPS00 07 04 1E 00 06 B600 05 04 1E 8EN/A
SetSPSPRSet profile sampling rate 1300SPS00 07 04 1E 00 07 BC00 05 04 1E 8EN/A
*GetGPADPGet profile analog-to-digital
calibration value 0 (Direction 1)
00 07 03 19 00 00 7BSee Payload Example4
*GetGPADPGet profile analog-to-digital
calibration value 1 (Direction 1)
00 07 03 19 00 01 81See Payload Example4
*GetGPADPGet profile analog-to-digital
calibration value 2 (Direction 1)
00 07 03 19 00 02 87See Payload Example4
*GetGPADPGet profile analog-to-digital
calibration value 3 (Direction 1)
00 07 03 19 00 03 8DSee Payload Example4
*GetGPADPGet profile analog-to-digital
calibration value 4 (Direction 1)
00 07 03 19 00 04 93See Payload Example4

QIA128 UART Communication Guide

*GetGPADPGet profile analog-to-digital calibration value 5 (Direction 1)00 07 03 19 00 05 99See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 6 (Direction 2)00 07 03 19 00 06 9FSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 7 (Direction 2)00 07 03 19 00 07 A5See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 8 (Direction 2)00 07 03 19 00 08 ABSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 9 (Direction 2)00 07 03 19 00 09 B1See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 10 (Direction 2)00 07 03 19 00 0A B7See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 11 (Direction 2)00 07 03 19 00 0B BDSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 12 (Direction 1)00 07 03 19 00 0C C3See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 13 (Direction 1)00 07 03 19 00 0D C9See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 14 (Direction 1)00 07 03 19 00 0E CFSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 15 (Direction 1)00 07 03 19 00 0F D5See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 16 (Direction 1)00 07 03 19 00 10 DBSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 17 (Direction 1)00 07 03 19 00 11 E1See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 18 (Direction 2)00 07 03 19 00 12 E7See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 19 (Direction 2)00 07 03 19 00 13 EDSee Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 20 (Direction 2)00 07 03 19 00 14 F3See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 21 (Direction 2)00 07 03 19 00 15 F9See Payload Example4
*GetGPADPGet profile analog-to-digital calibration value 22 (Direction 2)00 07 03 19 00 16 FFSee Payload Example4

*Note: The Payload bytes are located directly before the last byte of the packet which is the Checksum.

Payload Example
The following transaction is the response to the GDSN command (Get device serial number). This command has a payload of 4 bytes.
TX: 00 05 01 00 0D
RX: 00 09 01 00 00 01 E2 40 49
Hex to decimal: 0x0001E240 -> 123456

ADC Data Conversion

The following formula could be used to convert the raw ADC data: FUTEK QIA128 Digital Low Power Controller with SPI and UART - Icon 6

Here are the variables:
ADCValue = the most recent analog-to-digital conversion value.
Off-set Value = the analog-to-digital conversion value stored during calibration that corresponds to the offset (zero physical loads).
Full-Scale Value = the analog-to-digital conversion value stored during calibration that corresponds to the full scale (maximum physical load).
Full-Scale Load = the numeric value stored during calibration for the maximum physical load.

ADC Data Conversion Examples (Direction 1, 2-point Calibration)

Calibration Data
Get profile analog-to-digital calibration value 0 (Direction 1) [GPADP]:
Hex to decimal: 0x81B320 -> 000,500,8
Get profile analog-to-digital calibration value 5 (Direction 1) [GPADP]:
Hex to decimal: 0xB71B00 -> 12,000,000
Get channel current reading (GCCR):
Hex to decimal: 0x989680 -> 10,0000,00
Calculation
OffsetValue = 8,500,000
FullScaleValue = 12,000,000
FullScaleLoad = 20g (Available on the calibration certificate)
FUTEK QIA128 Digital Low Power Controller with SPI and UART - Icon 7

Firmware Revision

FUTEK QIA128 Digital Low Power Controller with SPI and UART - Icon 8

Firmware Notes
New Features
• N/A
Changes
• N/A
Fixes
• Changed the hardware revision from “0” to “1”.

FUTEK QIA128 Digital Low Power Controller with SPI and UART - IconSensor Solution Source
Load • Torque • Pressure • Multi-Axis • Calibration Instruments • Software
10 Thomas, Irvine, CA 92618 USA
Tel: (949) 465-0900
Fax: (949) 465-0905
www.futek.com

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals