Command:
Byte
0
Checksum8
1
0xF8
2
0x11
3
0x28 (0x2b)
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
0x00
7
BlockNum
8-39
32 Bytes of Data
Response:
Byte
0
Checksum8
1
0xF8
2
0x01
3
0x28 (0x2B)
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
Errorcode
7
0x00
5.2.8 - EraseMem (EraseCal)
The U3 uses flash memory that must be erased before writing. Command number 0x29 erases the entire user memory area.
Command number 0x2C erases the entire calibration memory area. The EraseCal command has two extra constant bytes, to
make it more difficult to call the function accidentally. Do not call this function while streaming.
Command:
Byte
0
Checksum8
1
0xF8
2
0x00 ( 0x01 )
3
0x29 ( 0x2C )
4
Checksum16 (LSB)
5
Checksum16 (MSB)
(6)
(0x4C)
(7)
(0x6C)
Response:
Byte
0 Checksum8
1 0xF8
2 0x01
3 0x29 ( 0x2C )
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 0x00
5.2.9 - Reset
Causes a soft or hard reset. A soft reset consists of re-initializing most variables without re-enumeration. A hard reset is a reboot
of the processor and does cause re-enumeration.
Command:
Byte
0
Checksum8
1
0x99
2
ResetOptions
Bit 1: Hard Reset
Bit 0: Soft Reset
3
0x00
Response:
Byte
0
Checksum8
1
0x99
2
0x00
3
Errorcode
5.2.10 - StreamConfig
Stream mode operates on a table of channels that are scanned at the specified scan rate. Before starting a stream, you need to
call this function to configure the table and scan clock. Requires U3 hardware version 1.21.
52