MattairTech MT-X1S Manual Download Page 10

MT-X1S

Manual

J28

Serial TX (pin E3) to RS­232 DIN or RS­485 DI (external pullup)

J29

Serial Non­inverting screw­terminal to 680 ohm bias resistor to 3.3V (RS­485 ONLY)

J30

Serial Non­nverting screw­terminal to 120 ohm termination resistor to Inverting screw­
terminal (RS­485 ONLY)

J31

Serial Inverting screw­terminal to 680 ohm bias resistor to GND (RS­485 ONLY)

J32

3.3V to 33KOhm minimum current resistor to GND (MT­X1S ONLY) Disconnect for 
lowest power consumption, but observe 3.3V regulator minimum load specification

J33

Jumpers J33 and J34 allow routing of the USB data lines to either the XMEGA or the 
A90USB162. Jumpers J10 and J11 were changed to 3­pad to support this. The Serial 
RAM cannot be used when the XMEGA is connected to USB. See Board Variants 
section above.

J34

See J33

J35

J35 connects the STS_LED to TX (XMEGA F2) . This allows the XMEGA to control the 
STS LED when the AT90USB162 in not installed. See Board Variants section above.

J36

J36 connects the PROG button to XCK (XMEGA F1) . This enables bootloader entry 
selection for the DFU bootloader on the XMEGA when the AT90USB162 in not installed. 
See Board Variants section above.

J37

The XMEGA reset line is also the PDI_CLK line used for programming/debugging. It 
cannot have a capacitor installed. J37 disconnects the debouncing capacitor of the Reset
button for use with the XMEGA . See Board Variants section above.

J38

J38 connects Reset button to XMEGA PDI_CLK (also reset). This allows the XMEGA to 
be reset when the AT90USB162 in not installed. See Board Variants section above.

Headers / Pin Descriptions

Pin

Description

External Power Header

Under the default configuration, 5V should be supplied to this pin. Lower 
voltages may be used down to around 4V (or lower if using less current). 

Voltages greater than 5.5V require J2 to be disconnected

. Disconnecting J2 

will disable the 5V output pin and inductive kickback protection of the relay 
driver. But it will then allow voltages up to ~7.5V. This header is reverse 
polarity / reverse current protected using a schottky diode.

3.3V output headers (x4)

There are four 2­pin power output headers next to each port header group.  The 
header next to the analog ports (ports A and B) comes from the analog 3.3V rail.
Note that if these headers are installed, there will not be enough room to plug in 
IDC connectors next to each other.

Relay Header 3.3V

This can be used for the positive 3.3V side of a relay or other device.

March 2, 2017

10

http://www.mattairtech.com/

Summary of Contents for MT-X1S

Page 1: ...MT X1S Manual March 2 2017 1 http www mattairtech com...

Page 2: ...32KB SPI SRAM 15 RS 232 RS 485 15 Audio Amplifier 16 1 25V Precision Reference 16 Temperature Sensor 16 8 channel Lowside Relay Driver 17 Installation 18 AVRISP mkII Compatible PDI Programmer 22 Usin...

Page 3: ...VR which provides these features will automatically sleep when USB is disconnected Alternatively the XMEGA can be connected directly to the USB connector The board can be powered via USB or an externa...

Page 4: ...1 25V precision voltage reference Use for signed differential conversions from 0V to 2 5V at the pin Routed to both reference inputs via solder jumpers Choice of RS 232 or RS 485 serial interface wit...

Page 5: ...USARTs with IrDA support for one USART Four two wire interfaces with dual address match I2C and SMBus compatible Four serial peripheral interfaces SPIs AES and DES crypto engine CRC 16 CRC CCITT and...

Page 6: ...and packages l 78 Programmable I O pins l 100 lead TQFP l 100 ball BGA l 100 ball VFBGA Operating voltage l 1 6 3 6V Operating frequency l 0 12MHz from 1 6V l 0 32MHz from 2 7V March 2 2017 6 http ww...

Page 7: ...A F1 J37 disconnects the debouncing capacitor of the Reset button for use with the XMEGA J38 connects Reset button to XMEGA PDI_CLK also reset Board Variants Rev B only Board Variants Rev B only Revis...

Page 8: ...ected it will turn off both the STS and PWR LEDs and enter sleep The RESET button should not be connected to the XMEGA The AT90USB162 will reset the XMEGA after the button is pressed Because the seria...

Page 9: ...3 Pin D1 to LED_2 J14 Pin D2 to LED_3 J15 Pin D3 to LED_4 J16 SPI F SCK pin F7 to relay driver clock input J17 SPI F MOSI pin F5 to relay driver SI input J18 USART F0 RXD pin F2 to AT90USB162 USART TX...

Page 10: ...tion above J37 The XMEGA reset line is also the PDI_CLK line used for programming debugging It cannot have a capacitor installed J37 disconnects the debouncing capacitor of the Reset button for use wi...

Page 11: ...when debugging If serial TX is required when debugging the JTAG header can be used Alternatively an external USB serial bridge can be connected ISP Header ISP header for the USB AVR which can be used...

Page 12: ...ther pin is routed to a header Pins R0 and R1 Both of these pins are routed to an HC49 crystal footprint A 22pF capacitor is also connected to each line If an external clock is used connect it to R1 S...

Page 13: ...Not Installed USB Serial Bridge Power Status LEDs There are two green LEDs that are used to indicate USB status the mode of operation communication activity programmer status and more The following ta...

Page 14: ...illator and two different 32KHz oscillators are also available A PLL and prescalers can be used to obtain the various clocks Be aware that the ATxmega128a1u requires both the 2MHz and 32MHz oscillator...

Page 15: ...d slot has a spring loaded mechanism that locks the card in place when inserted push in push out The contacts are gold plated It is connected to SPI E using four pins All pins have external 47Kohm pul...

Page 16: ...is connected to the XMEGA DAC A0 on pin A2 which can be disconnected using a solder jumper The shutdown pin is routed to pin Q3 and has a 47 Kohm pull resistor to keep the IC in shutdown when Q3 is n...

Page 17: ...be disconnected using the solder jumpers Note that MISO is not connected so the XMEGA cannot read from the IC Also note that the SPI F SS line is not used as the chip select but instead Q2 is used Thu...

Page 18: ...t AVRISPmkII driver https www mattairtech com software MattairTech_AVRISPmk II_Driver_Signed zip CDC Driver latest CDC driver https www mattairtech com software MattairTech_CDC_Driv er_Signed zip AVR...

Page 19: ...R 20100110 and install it first To use AVRDUDE you will need to download and install an update to libusb win32 available at http sourceforge net projects libusb win32 files libusb win32 releases Choos...

Page 20: ...mulator can be configured Windows XP includes HyperTerminal which has been tested with the MT X1S and will be documented here There are several other terminal emulators available freely on the Interne...

Page 21: ...e viewtopic t 42631 All firmware written for the MT X1S is developed under Linux using this toolchain Drivers TODO drivers should already be installed GCC Toolchain TODO see opening paragraph AVRDUDE...

Page 22: ...ted Using Atmel Studio AVR Studio Start Atmel Studio and open or create a new project An example project which can be used as a template is available for the MT X1S at http www mattairtech com softwar...

Page 23: ...will be pulsing Select the ATxmega128A1 as the device and PDI as the interface and click Apply You should now be connected to the AVRISP mkII compatible programmer with serial number 000200012345 Now...

Page 24: ...ts flash memory Load your hex file then click Program The hex file for the MT X1S_Simple_Demo is located in the Debug folder You will need to erase the target first if you do not have Erase Flash befo...

Page 25: ...not be enabled in sampled mode when active or idle BODACT Sampled mode is OK for other sleep modes BODPD Now you may wish to look at the other pages Note that any firmware upgrade feature should not b...

Page 26: ...MT X1S Manual Using AVRDUDE TODO ie avrdude p x128a1 c avrisp2 P usb U flash w myfirmware hex March 2 2017 26 http www mattairtech com...

Page 27: ...ost Only the connection between the USB AVR and the XMEGA use these settings Note that when configuring the speed to be manual it is possible to set the speed higher than 2MHz but the maximum speed su...

Page 28: ...ter Value Manual Speed Async 1X Async 2X Synchronous UBRR fosc 16 BAUD 1 UBRR fosc 8 BAUD 1 UBRR fosc 2 BAUD 1 BAUD fosc 16 UBRR 1 BAUD fosc 8 UBRR 1 BAUD fosc 2 UBRR 1 where fosc 8000000 March 2 2017...

Page 29: ...SB is disconnected or suspended Power Down or Standby Ready Signal USB ready signal is open drain active low on XCK pin from USB AVR Disabled or Enabled AVRISPmkII select which software will be interf...

Page 30: ...th the XMEGA via the USB serial bridge MicroSD Card Demo The SD card demo makes use of the FatFS module from ChaN FAT12 FAT16 and FAT32 are supported Press h for a help menu Audio Demo You can load wa...

Page 31: ...ads required for Firmware Updates Software Version Driver URL MT X1S Firmware latest At90USB162 N A http www mattairtech com software MT X1S MT_X1S hex FLIP 3 4 2 DFU driver http www atmel com tools F...

Page 32: ...t the AT90USB162 Click on the File menu and open the appropriate hex file More information will appear about the program Be sure that erase is checked The MT X1S firmware cannot be loaded unless the f...

Page 33: ...eep files are just hex files but with the eep extension instead of hex More information will appear about the file when selected Both Program and Verify should be checked Click run to program the EEPR...

Page 34: ...on while powering the board or press reset then release This will start the DFU bootloader Now launch the FLIP utility When it has loaded click on the chip icon and select your XMEGA variant Next clic...

Page 35: ...ase dfu programmer atxmega128a1u flash Blink_128a1u hex dfu programmer atxmega128a1u flash eeprom YourEep eep if applicable dfu programmer atxmega128a1u start to jump to application section without re...

Page 36: ...x please ensure that you are using the new AVRISPmkII driver which now must be downloaded separately see installation Prior versions of Atmel Studio included this driver Support Information Support I...

Page 37: ...MT X1S Manual Schematic Schematic March 2 2017 37 http www mattairtech com...

Page 38: ...MT X1S Manual March 2 2017 38 http www mattairtech com...

Page 39: ...ed MattairTech LLC supplied this development product AS IS without any warranties with all faults at the buyer s and further users sole risk The user assumes all responsibility and liability for prope...

Page 40: ...that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific written prior permission The author disclaim all warranties with regard...

Page 41: ...ling CAUTION Improper fuse settings may result in an unusable AVR Be certain that you know the effects of changing the fuses that you understand the convention used for describing the state of the fus...

Page 42: ...B 8KB SRAM 5V 500mA LDO regulator 3V 30V input Auto power source selection IC USB External 16MHz and 32 768KHz crystals Arduino compatible CDC or DFU bootloader MT DB X4 USB AVR XMEGA board ATxmega128...

Reviews: