ALFAT-SC-340 GHI Electronics, ALFAT-SC-340 Datasheet - Page 22
![no-image](/images/no-image-200.jpg)
ALFAT-SC-340
Manufacturer Part Number
ALFAT-SC-340
Description
Processors - Application Specialized FILE SYSTEM SoC with DUAL USB HOST & SD
Manufacturer
GHI Electronics
Type
File Systemsr
Datasheet
1.ALFAT-SC-340.pdf
(51 pages)
Specifications of ALFAT-SC-340
Rohs
yes
Core
ARM Cortex M3
Processor Series
ALFAT
Data Bus Width
32 bit
Maximum Clock Frequency
24 MHz
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
LQFP-64
Interface Type
I2C, SPI, UART
Part # Aliases
GHI-ALFAT-SC-340
GHI Electronics
Rev. 1.13
S - Set Current Time and Date
G - Get Current Time and Date
B - Set UART Baud Rate
I - Initialize and Mount MMC/SD or USB
This command should be called to initialize and mount the file system. Any other file-
related commands will fail if this was not called first.
Format
Example S
Format
Example B
Format
Bits(s)
31..25
24..21
20..16
15..11
10..5
4..0
*Time and Date structure is a 32-bits standard structure used in FAT system. For
example, 0x34212002 is 01/01/2006 – 04:00:04
Field
Year1980 Years since 1980
Month
Day
Hour
Minute
Second2
G
MM-DD-YYYY
!00
G
HH:MM:SS
!00
S
!00
!00
B
!00
!00
!00
!00
<SP>
<SP>
<SP>
<SP>
<SP>
<SP>
<LF>
<LF>
<LF>
<LF>
<LF>
<LF>
<LF>
<LF>
ddddtttt
34210000
ssssssss
1C200
D
T
<LF>
<LF>
<LF>
Description
1..12
1..31
0..23
0..59
Seconds divided by 2 (0..30)
<LF>
<LF>
<LF>
<LF>
<LF>
Page 22 of 51
Get current date.
Get current time.
ddddtttt time and date 32bit structure*
Set 1/1/2006 00:00:00
ssssssss: The standard baud rate value in
HEX.
The first !00 will be sent when the baud
rate value is correct.
Set the baud rate at 115200.
0x34212000 Bits in Binary
ALFAT SoC Processor
ALFAT Command Set
www.ghielectronics.com
001 1010
00 0000
0 0001
0 0100
0 0010
0001