amex research corporation technology module (rev. 1.1, 25 feb. 2012).pdf · fig. 1. proton module...

12
© 2012 AMEX Research Corporation Technology www.amex.pl Page 1 of 12 AMEX Research Corporation Technology PROTON Microcontroller Module Data Sheet Document Date: 25 th February 2012 Document Revision: 1.1

Upload: others

Post on 01-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

© 2012 AMEX Research Corporation Technology www.amex.pl Page 1 of 12

AMEX Research Corporation Technology

PROTON Microcontroller Module

Data Sheet

Document Date: 25th February 2012Document Revision: 1.1

Page 2: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 2 of 12

PROTON Microcontroller ModuleDescriptionThe PROTON Microcontroller Module (Fig. 1) is intended for use in prototype electronic devices andequipment. It can also be uses as a low-cost evaluation board. The heart of PROTON Module is Basic ATOMPro 64 TQFP Chip (56KB of program code and 4KB of RAM microcontroller, based on the a powerful 32 bitcore Renesas HD64F3687GFPV processor) with more hardware and all math functions. The PROTONModule is equipped with over 50 I/O ports which enables it to connect to external peripheral devices. Suchtechnology allows for rapid and frequent construction changes which is valuable advantage forprofessional and educational purposes. Programmable in BASIC, C or ASM.

Fig. 1. PROTON Module board view (v1.1)

The PROTON module is a smart solution for building own different electronic circuits and embeddedsystems dedicated for control, robotics, measurements, data recording, signal processing, transmission,and others. The HD64F3687GFPV processor is a 32-bit microcontroller which offers a rich and functionalinstruction list. It includes mathematical functions (32 Bit Floating Math and 32 Bit Integer Math). Theclocking frequency is 20 MHz.

Technical data:· 32 bit core· 56 KB of Program Space (FLASH)· 4 KB of User Data Storage· 4 KB of User Memory (RAM)· 51 Input / Output Pins (terminal labels: P0-P31 and P34-P52)· 8 Analog-to-Digital Capable Input Pins (10 or 16 bit resolution)

J2 connector

J1 connector

USB

Page 3: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 3 of 12

· 2 Hardware Serial Port with Buffers· 3 Hardware Timers· 6 Hardware PWM I/O Pins· 8 Capture / Compare Pins· Hardware Interrupts· 32 Bit Floating Math· 32 Bit Integer Math· Resolution of timing processes (eg. for PWM) 0,5 µs· Speed of instruction execution: up to 500,000 MBASIC language instructions/second· Power supply: 5V, +/-5%· External dimension: 53 mm x 46 mm, hight: 8 mm (excluding connectors)

Additional accessory:· USB port based on FTDI FT232 (for memory programming)· Internal EEPROM data memory: 4KB· Additional serial EEPROM or FRAM memory: 32 KB (I2C Interface)· Hardware SPI and I2C· Capability to 32 Servo Background Control· Terminal count: 64 (2 x 32)

Terminals description

Terminal indexJ1 Connector

(terminal label)J2 Connector

(terminal label)1 P5 P82 P4 P93 P3 P104 P2 P115 P1 P126 P0 P137 P23 P148 P22 P159 P21 P37

10 P20 P4911 P19 P3412 P18 P3513 P17 P5014 P16 P5115 P31 P5216 P30 GND17 P29 Vcc (+5V)18 P48 GND19 P27 Vcc (+5V)

Page 4: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 4 of 12

Terminal indexJ1 Connector

(terminal label)J2 Connector

(terminal label)20 P28 GND21 P36 Vcc (+5V)22 P26 GND23 P25 Vcc (+5V)24 P24 GND25 P47 Vcc (+5V)26 P46 GND27 P45 P3928 P44 GND29 P43 P3830 P42 P731 P41 NMI32 P40 P6

J1, J2 connectors terminals(top view)

31 29 27……………………………………… 5 3 1

31 29 27……………………………………… 5 3 1

32 30 28……………………………………… 6 4 2

32 30 28……………………………………… 6 4 2

J2

J1

USB

Page 5: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 5 of 12

Full description of PROTON Module teminals

Terminallabel

Connectorand its

terminalindex

Description

P0 J1.6 · General purpose I/O Pin.· Interrupt input pin WKP0 (low enabled).

P1 J1.5 · General purpose I/O Pin.· Interrupt input pin WKP1 (low enabled).

P2 J1.4 · General purpose I/O Pin.· Interrupt input pin WKP2 (low enabled).

P3 J1.3 · General purpose I/O Pin.· Interrupt input pin WKP3 (low enabled).

P4 J1.2 · General purpose I/O Pin.· Interrupt input pin WKP4 (low enabled).

P5 J1.1· General purpose I/O Pin.· Interrupt input pin WKP5 (low enabled).· Analog to Digital (A/D) Trigger input. Low enabled. ADTRH.

P6 J2.32· General purpose I/O Pin.· 3.3V Output only. 5V tolerant input.· Hardware I2C Data input pin (SDA for I2C 32 kB EEPROM memory).

P7 J2.30· General purpose I/O Pin.· 3.3V Output only. 5V tolerant input.· Hardware I2C Clock pin (SCL for 32 kB EEPROM memory).

P8 J2.1· General purpose I/O Pin.· FTIOA0: Capture Compare Pin.· Timer Z

P9 J2.2· General purpose I/O Pin.· FTIOB0: Capture Compare Pin.· PWM Output, Timer Z

P10 J2.3· General purpose I/O Pin.· FTIOC0: Capture Compare Pin· PWM Output, Timer Z

P11 J2.4· General purpose I/O Pin.· FTIOD0: Capture Compare Pin.· PWM Output, Timer Z

P12 J2.5· General purpose I/O Pin.· FTIOA1: Capture Compare Pin.· Timer Z

P13 J2.6· General purpose I/O Pin.· FTIOB1: Capture Compare Pin.· PWM Output, Timer Z, SCK3(2).

P14 J2.7· General purpose I/O Pin.· FTIOC1: Capture Compare Pin.· PWM Output, Timer Z, RXD(2).

P15 J2.8· General purpose I/O Pin.· FTIOC1: Capture Compare Pin.· PWM Output, Timer Z, RXD(2).

Page 6: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 6 of 12

Terminallabel

Connectorand its

terminalindex

Description

P16 J1.14 · General purpose I/O Pin.P17 J1.13 · General purpose I/O Pin.P18 J1.12 · General purpose I/O Pin.P19 J1.11 · General purpose I/O Pin.P20 J1.10 · General purpose I/O Pin.P21 J1.9 · General purpose I/O Pin.P22 J1.8 · General purpose I/O Pin.P23 J1.7 · General purpose I/O Pin.

P24 J1.24 · General purpose I/O Pin.· TMOW

P25 J1.23 · General purpose I/O Pin.· 14 Bit PWM Square Wave Pin.

P26 J1.22 · General purpose I/O Pin.P27 J1.19 · General purpose I/O Pin.

P28 J1.20 · General purpose I/O Pin.· IRQ0, Analog to Digital (A/D) AN7.

P29 J1.17 · General purpose I/O Pin.· IRQ1, TMIB1, Analog to Digital (A/D) AN6

P30 J1.16 · General purpose I/O Pin.· IRQ2, Analog to Digital (A/D) AN5

P31 J1.15 · General purpose I/O Pin.· IRQ3, TRGV, Analog to Digital (A/D) AN4.

P34 J2.11 · TMCIV· External event input pin.

P35 J2.12 · TMOV· Pin for waveforms generated by the compare function.

P36 J1.21 · SCK3· Clock I/O pin.

P37 J2.9 · SCK3_2· Clock I/O pin.

P38 J2.29 · RXD2· Receive pin UART 2.

P39 J2.27 · TXD2· Transmit pin UART 2.

P40 J1.32 · AN0 – Analog pin.· Input only pin.

P41 J1.31 · AN1 – Analog pin.· Input only pin.

P42 J1.30 · AN2 – Analog pin.· Input only pin

P43 J1.29 · AN3 – Analog pin.· Input only pin.

P44 J1.28 · AN4 – Analog pin.· Input only pin

P45 J1.27· AN5 – Analog pin.· Input only pin.

Page 7: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 7 of 12

Terminallabel

Connectorand its

terminalindex

Description

P46 J1.26 · AN6 – Analog pin.· Input only pin.

P47 J1.25 · AN7 – Analog pin.· Input only pin.

P48 J1.18 · General purpose I/O Pin.

P49 J2.10 · TMRIV· General purpose I/O Pin.

P50 J2.13 · General purpose I/O Pin.P51 J2.14 · General purpose I/O Pin.P52 J2.15 · General purpose I/O Pin.NMI J2.31 · Connect to VCC through 10K pullup resistor.

GND

J2.16J2.18J2.20J2.22J2.24J2.26J2.28

GNDGNDGNDGNDGNDGNDGND

Vcc

J2.17J2.19J2.21J2.23J2.25

Vcc (+5V)Vcc (+5V)Vcc (+5V)Vcc (+5V)Vcc (+5V)

In order to avoid errors and distinguish between J1 and J2 connectors their corresponding terminals weremarked in red and blue.Examples:J1.14 - pin 14 in J1 connectorJ2.6 - pin 6 in J2 connector

Electrical Characteristics

Characteristic Units Min MaxVCC Range VDC 4.75 5.25Current Draw (Sleep mode) mA 10Current Draw (Idle) mA 20Current Draw (maximum) mA 50I/O Voltages (Low/High) VDC 0 0.0 / 5.0VI/O Logic TTLIndividual I/O Sink/Source mA 3Total I/O Sink/Source(for all output ports)

mA 45 mA sink/ 40 mAsource

Temperature Range °C -20 +75

Page 8: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 8 of 12

WARNING: The maximum load of each output terminal cannot exceed 3 mA (45 mA / sink and 40 mA /source for all output terminals)

Programming of the PROTON Module

The PROTON Module is programmed in MBASIC high-level language developed by BASIC MICRO company(www.basicmicro.com). Programming of program memory is performed through USB interface build intothe module. There is no need to use any other external memory programmer. Such solution has practicalbenefits – it enables fast and efficient learning without the necessity of having knowledge of theHD64F3687GFPV microcontroller architecture and its assembly language. From educational point of viewsuch an approach offers the user fast and efficient way to learn the secrets of microcontroller technologyespecially for users who are not experts in the field or for students whose curriculum is not directlyconnected with electronics or information technology. Not only does it enable to design simple devicesand applications but also more complex ones for all users who want to use microcontrollers in theirprofessional work. Such a rule works in practice in many technical universities in the USA and in EUcountries. This is evidenced by many publications and studies of different institutions dealing withtechnical education. The skills gained during the work with the PROTON Module enables for much easiermigration towards the use of complex applications based on other types of microcontrollers.

The PROTON Module also allows for more efficient realization of the main user’s goal (such as sensortechnology, measurements, control, robotics etc.) without focusing on details connected withmicrocontroller itself, which is only an auxiliary device and not an end in itself. In this case, the didactic andcognitive qualities are very important.There is also a possibility to program the PROTON Module in C language. It is worth noticing however, thatprogramming in C language becomes very efficient but it requires good knowledge of it. Reaching this goalis not easy which is due to the fact that C language offers enormous capabilities which makes learningquite difficult for many users. It is also important that professional C compilers are very expensive whichmakes them unavailable for many users who wish to use microcontrollers in their projects or foreducational purposes.

The user can create his software in Basic Micro Studio programming environment. The software iscompiled and loaded to program memory. After loading, the software can run without Basic Micro Studioand PC computer control. When the PROTON Module works independently (without computer control) itstarts executing user software after power-up.

The newer versions of high-level languages such as Pascal, Basic, C, C++ etc. are very well developed andare most often used in application where time-to-market must be taken into consideration. The instructionlist is closely linked to the given type of microcontroller which use all its hardware features which are insome cases designed especially for automatics, control, robotics and also graphic displays drivers.

In order to be familiar with the MBASIC language it is advised to read “BASIC MICRO STUDIO, SYNTAXMANUAL”.

http://www.basicmicro.com/Downloads_ep_43.html

Page 9: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 9 of 12

Programming Language

MBasic is the programming language that is used to program the PROTON Module (and all BasicATOMseries). MBasic is based on a subset of BASIC. In general, it is a widely used language aside from C. Thelanguage itself has been around for years. It was the first product created by Microsoft in the early daysfor one of the first home built programmable computers called the Altair. The PROTON Module (and allBasicATOM Pro) does support C but the primary focus of the BASIC MICRO manual is centered aroundMBasic.

Software

Basic Micro Studio is the main piece of software that you will use to write code for the PROTON Module(based on the Basic ATOM Pro 64 TQFP Chip). It is commonly referred to as an Integrated DevelopmentEnvironment or IDE for short. The IDE contains three main parts, a text editor for writing programs, acompiler to translate your program into something the microcontroller will understand and a loader todownload your program to the microcontroller. There are several advanced features documented in thismanual that will help in creating your program.

Studio Setup

Before using Basic Micro Studio you must set the microcontroller that will be used. There are 3 drop downmenus as shown below. The first, sets the microcontroller family. The second, sets the microcontrollertype and the last, sets what COM port the microcontroller is attached too.

1 2 3

Page 10: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 10 of 12

1. Microcontroller Family is the main microcontroller family groups: BasicATOMPro, BasicATOM andBasicATOM NANO. Choose the microcontroller BasicATOMPro family from drop down (1) as shown below:

2. Microcontroller Type is the specific microcontroller. For the PROTON Module select the BAP IC642-20chip using from the drop down menu. If Basic Micro Studio is having a problem detecting themicrocontroller or you are unsure of its type choose “Auto” for the microcontroller type in the drop down(2) as shown below:

1

2

Page 11: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 11 of 12

3. COM Port is the communications port the device is attached to. This can be any port number from COM1 to COM 255. Choose the COM port from the drop down (3) as shown below:

For the details please see: BASIC MICRO STUDIO SYNTAX MANUAL

The Basic Micro Studio Reference Manual. This manual is updated frequently.Current version is V2.1.

http://www.basicmicro.com/Downloads_ep_43.html

NOTE:

For customers interested in PROTON Module, the producer (AMEX Research Corporation Technologies) isgoing to publish a series of white papers concerning PROTON circuitry and related software for beginnersand advanced users. We also plan to manufacture different devices based on PROTON Module.

Contacts:

AMEX Research Corporation Technologies

Modlinska Str. 1PL 15-692 Bialystok, POLANDEmail and Tech support: [email protected]: http://www.amex.pl

3

Page 12: AMEX Research Corporation Technology module (Rev. 1.1, 25 Feb. 2012).pdf · Fig. 1. PROTON Module board view (v1.1) The PROTON module is a smart solution for building own different

AMEX Research Corporation Technologies

© 2012 AMEX Research Corporation Technology www.amex.pl Page 12 of 12