MattairTech MT-X1S Скачать руководство пользователя страница 38

MT-X1S

Manual

March 2, 2017

38

http://www.mattairtech.com/

Содержание MT-X1S

Страница 1: ...MT X1S Manual March 2 2017 1 http www mattairtech com...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 37: ...MT X1S Manual Schematic Schematic March 2 2017 37 http www mattairtech com...

Страница 38: ...MT X1S Manual March 2 2017 38 http www mattairtech com...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: