GHI Electronics,LLC
G30 SoC User Manual
Table of Contents
Table of Contents
1.Introduction...................................................................................4
8.3.PWM..................................................................................27
1.1.G30 SoC Key Features.......................................................4
8.4.Signal Generator...............................................................28
1.2.Example Applications..........................................................4
8.5.Signal Capture...................................................................28
1.3.The .NET Micro Framework................................................5
8.6.Serial Port (UART).............................................................30
1.4.GHI Electronics and NETMF...............................................6
8.7.SPI.....................................................................................31
2.The Hardware...............................................................................7
8.8.I2C.....................................................................................32
2.1. Microcontroller....................................................................7
8.9.One-wire............................................................................33
3.Pin-Out Description.......................................................................8
8.10.Graphics..........................................................................33
3.1.Pin-out Table .......................................................................8
8.11.Accessing Files and Folders............................................34
4. G30 SoC boot up.......................................................................12
SD/MMC Memory..............................................................36
5.The GHI Boot Loader..................................................................13
8.12.Networking (TCP/IP)........................................................36
5.1.The Commands.................................................................13
8.13.USB Client (Device) ........................................................36
6.NETMF TinyCLR (firmware).......................................................14
8.14.Real Time Clock..............................................................36
6.1.Assemblies Version Matching...........................................14
8.15.Watchdog.........................................................................38
6.2.Deploying to the Emulator.................................................15
8.16.Power Control..................................................................38
6.3.Deploying to the G30 SoC.................................................16 9.Advanced use of the Microcontroller .........................................41
6.4.Targeting Different Versions of the Framework.................17
9.1.Register.............................................................................41
7.The Libraries...............................................................................19
9.2.AddressSpace...................................................................41
7.1.Finding NETMF Library Documentation............................20
9.3.Battery RAM......................................................................41
7.2.Loading Assemblies...........................................................20
9.4.EEPROM...........................................................................41
8.The G30HDR Board....................................................................22 10.design Consideration................................................................42
8.1.Digital Inputs/Outputs........................................................23 Legal Notice...................................................................................43
Interrupt Pins.....................................................................26
Licensing..................................................................................43
8.2. Analog Inputs....................................................................27
Disclaimer................................................................................43
G30 SoC
Page 3 of 43
www.ghielectronics.com
GHI Electronics,LLC
G30 SoC User Manual
Introduction
1. Introduction
The G30 SoC is a powerful, yet low-cost, surface-mount System on Chip (SoC) running
the .NET Micro Framework software, which enables the SoC to be programmed from
Microsoft's Visual Studio, through a USB cable. Programming in a modern managed
language, such as C# and Visual Basic, allows developers to accomplish much more work in
less time by taking advantage of the extensive built-in libraries for networking, file systems,
graphical interfaces and many peripherals.
A simple two layer circuit, with just power and some connectors, can utilize the G30 SoC to
bring the latest technologies to any products. There are no additional licensing or fees and all
the development tools and SDKs are freely available.
1.1. G30 SoC Key Features
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
.NET Micro Framework
84 MHz ARM Cortex-M4 processor
96 kB RAM
512 kB FLASH
Embedded LCD controller
46 GPIO Pins
46 Interrupt Inputs (16 at a time)
2 SPI
I2C
2 UART
16 12-Bit Analog Input
4Bit SD/MMC Memory card interface
15 PWM
112 mA max @ 25ºC
1.5 mA Hibernate Mode
-40ºC to +105ºC Operational
RoHS Lead Free
Dimensions: (16.7 mm x 16.7 mm)
●
File System (SD)
1.2. Example Applications
●
●
●
Measurement tools and testers
Networked sensors
Robotics
Page 4 of 43
www.GHIElectronics.com
Rev. 0.01
GHI Electronics,LLC
G30 SoC User Manual
Introduction
●
●
●
Central alarm system
Smart appliances
Industrial automation devices
1.3. The .NET Micro Framework
Inspired by its full .NET Framework, Microsoft developed a lightweight version called .NET
Micro
Framework (NETMF).
NETMF focuses on the specific requirements of resource-constrained embedded systems.
Development, debugging and deployment is conveniently performed using Microsoft's
powerful Visual Studio tools, all through standard USB cable.
Programming is done in C# or Visual Basic. This includes libraries to cover sockets for
networking, modern memory management with garbage collector and multitasking services.
In addition to supporting standard .NET features, NETMF has embedded extensions
supporting:
●
●
●
●
●
●
●
General Purpose IO (GPIO with interrupt handling
Analog input/output
Standard buses such I2C, SPI, USB, Serial (UART)
PWM
Networking
File System
Display graphics, supporting images, fonts and controls.
Rev. 0.01
Page 5 of 43
www.GHIElectronics.com