English
Language : 

CC2570 Datasheet, PDF (23/32 Pages) Texas Instruments – 1- and 8-Channel ANT™ RF Network Processors
www.ti.com
CC2570
CC2571
SWRS095A – FEBRUARY 2011 – REVISED MARCH 2011
Table 6. ANT Extended Serial Message Format
Byte
Name
Length
Description
0
SYNC
1
Sync byte = 0xA4
1
LENGTH
1
Number of data bytes in message (n)
2
ID
2
Message identifier
3 to n + 2
DATA1–DATAn
n
Message data bytes
n+3
CHECKSUM
1
XOR of all previous bytes.
All extended message IDs begin with the top 3 MSBs set to 1 (0xE0). Note that responses and events for
ANT-FS also use the extended message ID format. A summary of FS and ANT-FS specific commands are listed
in the table below.
Class
MEMDev
commands
FS
commands
FS requests
Table 7. FS/ANT-FS Specific Serial Messages
Message (1)
ID
Description
EEPROM_INIT (2)
0xE220
Initialize the EEPROM memory
device.
INIT_MEMORY
0xE200
Initializes the FS on the memory
device. Saved memory preserved.
FORMAT_MEMORY
0xE201 Format memory.
DIRECTORY_SAVE
0xE207
Saves all open files to memory
device.
DIRECTORY_BUILD
0xE209
Rebuild FS directory and condense
directory size.
FILE_DELETE
0xE20C Delete existing open file.
FILE_CLOSE
0xE20D Close open flag or file.
FILE_SET_SPECIFIC_FLAGS
REQUEST_ID (3)
0xE212
Update application-defined flags on
file.
0xE100 Extended request message
GET_USED_SPACE
0xE202
Returns the number of used bytes in
FS in sector-sized increments.
GET_FREE_SPACE
0xE203
Return the number of free bytes in
sector-sized increments
FIND_FILE_INDEX
Returns the file index of first file in
0xE204 directory that matches specified
identifier.
Read from absolute offset into
DIRECTORY_READ_ABSOLUTE 0xE205 directory as if it were an ANT-FS
directory.
DIRECTORY_READ_ENTRY
Returns ANT-FS directory entry for
0xE206 the file matching the specified file
index.
DIRECTORY_GET_SIZE
0xE208
Return size in bytes of ANT-FS
directory.
FILE_CREATE
0xE20A
Allocates a free sector and saves
directory entry of new file.
FILE_OPEN
0xE20B Open an existing file.
FILE_READ_ABSOLUTE
0xE20E Read from absolute offset into a file.
FILE_READ_RELATIVE
0xE20F
Read from current read pointer in a
file.
FILE_WRITE_ABSOLUTE
0xE210 Write to absolute offset into a file.
FILE_WRITE_RELATIVE
0xE211 Write to current write pointer in a file.
FILE_GET_SIZE
0xE213 Return size of open file in bytes.
FILE_GET_SPECIFIC_FILE_
FLAGS
0xE214 Returns specific flags of open file.
Reply
Yes
Yes
Yes
Yes
Yes
Yes
Yes
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Requested
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Event
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
(1) Unless otherwise specified, precede with MESG_FS_
(2) Precede with MESG_MEMDEV_
(3) Precede with MESG_EXT_
Copyright © 2011, Texas Instruments Incorporated
Product Folder Link(s): CC2570 CC2571
Submit Documentation Feedback
23