Home
File - ATX-PRO
Contents
1. Port Pin Net Name l O Description PG5 SD_CS O SD Card enable PG4 A16 O High address line of the external SRAM PG3 CE O External SRAM chip enable 0 enables SRAM 1 disables PG2 ALE O SRAM address latch enable PG1 RD O SRAM read enable PGO WR O SRAM write enable PORTG 0x00 Enable external SRAM RLY1 NC DDRG 0b00111111 0x3F Port Pin Net Name O Description PH7 FLASH_CS O External SPI flash chip select PH6 DT_S RTS l O Connected to daughter board connector PH5 DT S CTS l O Connected to daughter board connector PHA DT S DCD l O Connected to daughter board connector PH3 DT_S DSR l O Connected to daughter board connector PH2 DT S DTR l O Connected to daughter board connector PH1 GPS RX 3V3 O UART2 GPS module data transmit 8N1 9600bps default PHO GPS TX 3V3 UART2 GPS module data receive 8N1 9600bps default PORTH 0x04 DDRH 0b01100110 0x66 note UART2 must be enabled Port Pin Net Name O Description PJ7 DT_NET_AVA l O Connected to daughter board connector PJ6 ACC INT1 Accelerometer interrupt input PJ5 ACC INT2 Accelerometer interrupt2 input PJ4 RTC_INT RTC interrupt input PJ3 IGNITION_IN __ Ignition input sense PJ2 GSM_RING RING signal for GSM modem Use depends on the setting of the Telit modem s R command PJ1 DTS TX O Connected to daughter board
2. 8 3 2 TOMA a casas inde ce cay oia 8 3 3 Port E 8 3 4 Pont D pr 9 3 5 Pom Eere one A E A NN 10 3 5 A nant ins ensenetes esse ane sante en ste P attends le ne tntenienn tease t neige tant ane c te ee nue S ta 10 RR ee xcu ta Le RE AS E 10 3 6 POTt G e dons 11 3 7 yo dc M 11 3 8 lod M 11 3 9 luo qc ut 11 SEMEN d PEE 11 3 1 IO Expander aret nr RE te aei td es PEE ri EHE Ee ia pub 12 Interface Ports C 13 4 1 CONT iisdem o e iaa 13 ALE Conector cocer ete taa oi 13 4 2 uu li siteides 14 4 3 WD 16 4 4 16 4 5 UU SENSERI HIRED NINE IM UL A 16 4 6 Id J4 ria m th ne RD rope ton e eae 17 4 7 NN tette dr iie oes 17 4 8 p ei 17 Peripheral c 18 5 1 A 18 5 2 GSMO GM OGG i sis oben eni opt Fates besa ka as M a as stabs es deal vi i eee ee ees
3. External RAM Page 1 A16 1 0x2200 OxFFFF Although the ATMegal280 supports only 64kB of RAM total internal and external the external memory can be paged out using Port G Bit 4 to set or reset address bit A16 If the external memory is to be used in a paged fashion make sure that the stack heap and other system RAM sections generated by the compiler all lie in internal memory below 0x2200 to avoid catastrophic system failure Using paged memory is good for storing large amounts of logged data To enable external SRAM set registers XMCRA to 0x80and XMCRB to 0x00 See section 8 of the ATMegal280 Hardware Manual for more details on the external memory Section 8 1 4 of the manual details how to utilize the normally unavailable first SKB of external memory due to it being masked by the internal memory space This will give a potential total of 136KB of RAM to use The AVR LIBC FAQ at http www nongnu org avr libc user manual FAQ html 2 2 2 3 2 3 1 Details setting up the external memory registers as soon as the CPU comes out of reset The manual also has in http www nongnu org avr libc user manual malloc html malloc_where a good discussion of allocating internal and external RAM with AVR GCC Reset There are several sources of external reset on the ATX PRO These are e U14 MAX6326 R29 brown out reset detector e J9 ISP programming port e J7 JTAG port e J6 Serial port for Arduino IDE compatibility The
4. 10 Batch Programming with the FTDI C232HM Glyn can supply the FTDI C232HM DDHSL 0 SPI ISP programming cable for either low cost development or rapid batch programming for the factory or in field This is used in conjunction with Windows and a free program called AVRDUDE to quickly read write and verify the non volatile memories in the ATMega1280 10 1 Installation of the C232HM On Windows Vista and Windows 7 plugging in the C232HM will cause Windows to automatically seek an FTDI driver from Microsoft Once installed it will show up in the devices tree as follows Es Device Manager w File Action View Help EI B PEE 4 Acerlaptop gt 4 Batteries 4M Computer gt cg Disk drives s Display adapters gt l DVD CD ROM drives b QA Human Interface Devices gt Gq IDE ATA ATAPI controllers gt 2 Imaging devices gt Junge USB Serial Port COM34 lt Driver Provider FTDI Driver Date 18 03 2011 Driver Version 28 140 Microsoft Windows Hardware Compatibilty Publisher To view details about the driver files gt lt Keyboards b F Mice and other pointing devices To update the driver software for this device b Monitors EY Network adapters Roll Back Driver F the device fails after updating the driver roll 29 Ports COM amp LPT back to the previously installed driver J USB Serial Port COM34 b D Processors b Sound video and game controllers
5. gt lt Storage controllers b 4 System devices 5 Universal Serial Bus controllers Disables the selected device To uninstall the diver Advanced ok Conca AVRDUDE requires the installation of the open source libusb driver in order to work with the FTDI chip AVRDUDE uses the high speed SPI mode of the FTDI 232H chip in order to rapidly write and verify the flash memory on the AVR chip it is no a so called bit banger To install the libusb driver go from http sourceforge net projects libusb win32 files libusb win32 releases 1 2 6 0 libusb win32 devel filter 1 2 6 0 exe download This driver is for all versions of Windows from XP to Windows 7 and will work with 32 and 64 bit systems Once downloaded install the executable The Start Menu should have a new entry called LibUSB Win32 From that menu item run Filter Wizard which will bring up the follow screen Information This program adds removes libusb win32 as a driver to an existing device installation The libusb win32 filter driver allows access to usb devices using the libusb win32 api while maintaining compatibility with software which uses the original driver Install Remove Device Filter s 9 Install a device filter Remove a device filter Remove all device filters Select Install device filter Make sure that the C232HM is the only FTDI device plugged in fa o ie Device Selection Connect your
6. dy ATX PRO Hardware amp Software Manual 2012 GLYN Ltd Australia Unit3 Building B 64 Talavera Rd Macquarie Park NSW 2133 Sydney Australia ABN 45573558770 Tel 61 0 2 9889 2520 Fax 61 0 2 9889 2954 http www glyn com au For sales enquiries mailto sales O glyn com au Table of Contents 1 2 S ATX BRO Hard Ware P O rnt 5 IES AP E T dut uses 5 2 1 RAM ora sets esrb odere ii een eren irit er iieri i te o es bae 5 2 2 Reset ste eot A T Poire E 6 2 3 POW L 6 2 3 1 Man Supply s e ciere re tt Petre eee wc resign vd vit tere ee pe i PO ver eri tex ee HERES Paene 6 2 32 GPS NI M cuebs 6 2 3 3 Expansion Port Power Supply enitn rete ge cir pee nee Fe Ed e arae ee Nego e eU urea sien neue 6 2 3 4 GSM Power Supply reete is iii vedete EP epe ts 6 2 4 Battery Backup eet oe pt ele e drea eei Np in iere R In edge tie e e aegris 6 241 Lithium Polymer Battery ertet erret beo er te t hne ain ra rio E stone dents ein nest es eue 6 pu RTC EE 7 2 5 Orderly Power Down 7 2 6 Battery Charge Indicator iet etm eiit ir ce e PED ai 7 CPU POTS 7 3 1 POA e
7. D IO p5 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vi OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 21 D IO p4 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vi OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 22 GND System ground 23 GND_2 Ground for Opto coupler 2 24 GND_1 Ground for Opto coupler 1 15 4 3 P2 4 3 PN 2 1 h 4 4 4 J6 Microfit male Pin Net Name V_IN y o Description System supply input VRANGE 8V to 28V Ignition A voltage present on this pin will assert port PJ3 on the CPU This will allow the CPU to recognise that a vehicle key is in the ignition position Vii OV 1 1V Vin 6 5V 40V Rin 14 5kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range V IN OV System supply return or ground path Inhibit Used in conjunction with R117 and R57 this pin should be connected
8. 18 513 SBD9602 9603 Mod em eee nao dee e v e e p c eeu HU Tp ee REIN 18 5 4 MMATA95 LE Accelerometer es en tese deme oem tete tm Pete dee o Peer 18 5 5 TMP75 Temperature Monitor vinotinto dc Eo aen eee 18 5 6 SD Car ei o eB RR ER E ERREUR RET UO SER E ME Rer STORE Uus 19 5 7 RTC tt o AR aes el Roh ae 19 61 JUMPS LS cases sce RO dam uat eda tpud uda He M 19 6 1 MEC M 19 T Software Tools etes ii edge tbe aie DA esc ae bei d dou ao 21 7 1 Installing AVRStudio 4 and the GNU Tool Chain ss 21 TLT SII QUISE SEE 21 7 12 Downloading AVRStudio4 and AVRStudio6 ie 21 713 Installing AVRSt dio 4719 nt sn ant eto Rete acu atre le te eres 21 7 1 4 Installing the AVR GNU Compiler Tools sise 23 7 2 Installing AVRStudio06 5 er ure tetro Ha Het See nn ERR sense Roe eii ES e une ele 23 7 3 JTAG Debuggers and ISP Programmers seen 23 8 Installing the Arduino IDE tete et ene ue NE epe dete 25 8 1 Alternative Arduino Bootloader sense 25 8 2 Adding a New Board to the Arduino IDE is 25 DO Operating Systems E 26 10 Batch Programming with the FTDI C232HM iii 26 10 1 JInstallaton oEthe C232 IM EE SERE EHE PERIERE al NEGRO IRE SERE TUR 26 10 2 Installaton of AVRDUDE sie ice ere irn e re ee e e GO HR ett 28 10 5 Using AVRDUDE and the CLIMA RE etta s 28 11 Getting Started Glide vicio etie tg Rer HORDE RR UE T Ro ERIT AER RO PER QR as
9. 30 Revision Table Version Date Description 1 Nov 2011 Initial release for v3 hardware March 2012 Updates for v3 1 hardware May 2014 Updates for V5 hardware 1 ATX PRO Hardware The ATX PRO board contains the following hardware and features Atmel ATMegal280 embedded CPU 128KB of external paged SRAM memory Serial port dedicated to a GPS with a 1PPS signal and up to 10Hz cycle Serial port dedicated to a Telit HSPA GPRS CDMA 3G 4G modem module Serial port dedicated to an Iridium satellite modem module optional Wi FI and Bluetooth Main RS232 serial port for connection to a PC or other serial device Digital IO expansion interface including one NO NC relay 2 optically isolated outputs 4 status LEDs and 8 bit digital IO bus configurable as A D digital inputs or outputs Lithium ion polymer battery charger circuit MicroSD card for non volatile storage 3 Axis Accelerometer Battery backed up RTC On board temperature sensor 2 CPU Sub System The CPU on the ATX PRO is an Atmel ATMegal280 Although this part is rated to 5V it operates at 3 4V to help conserve power consumption and so runs at a reduced speed of 11 0592MHz This clock speed readily divides to support common standard serial port speeds 2 1 RAM The ATX PRO contains a 128kB asynchronous SRAM device for RAM use in the range 0x2200 to OxFFFF External RAM Page 0 A16 0 0x2200 OXFFFF Internal RAM 0x0 0x21FF
10. Digital Input Output Pull down jumper fitted Vit OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 8 D IO p2 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vit OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 9 D IO pi 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vit OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kO Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 10 PWR GOOD O Depending on the fitting of J26 this pin can be configured to either indicate Or External power good to an external lamp or be an alternative external battery supply Battery for the system 11 OP2 O Optically isolated open collector output Sharp PC3H7 Absolute maximum collector current 50mA Minimum Vce breakdown voltage 70V Emitter connected to GND 1 2 12 OP1 O Optically isolated open collector output Sharp PC3H7 Absolute maximum collector current 50mA Minimum Vce breakdown voltage 70V Emitter connected to GND_1_2 13 V
11. IN GND Complementary ground for V IN 14 INHIBIT Used in conjunction with R117 and R57 this pin should be connected to ground or earth pin 4 on P2 when the battery or external supply is required to be disabled even if they are connected and available 15 RL1 NO Relay 1 Normally Open Omron G5V 1 Vmax 60VDC 125VAC Imax 1A Pmax 30W 62 5VA 14 16 3V PWR OUT Option to provide 3V power to peripherals 17 D IO p8 1 0 Protected Scaled Digital Input Output suitable for 1 Wire bus This port is configured to drive a 1 Wire iButton bus There is a pull up of 1 5kQ to 3 3V to supply power to the 1 Wire devices Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 18 D IO p7 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vi OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 19 D IO p6 1 0 Protected Scaled Digital Input Output Pull down jumper fitted Vi OV 5V Vin 7V 36V Rin 14 5kQ Pull down jumper not fitted Vit OV 1V Vin 2V 36V Rin 110kQ Optional on hardware change to get extended input range output with range 0 3 3V current sensing Analog input with configurable range 20
12. LT3690 that it is providing a regulated 4 5V supply to the ATX PRO from an external source J43 If fitted this will allow the serial device on J6 to force a reset of the ATX PRO This is necessary for correct Arduino IDE operation note that the Arduino boot loader will have to be installed on the CPU 6 1 Web links shifted once to set the address in the correct position Port bit P06 on the IO expander U13 is connected to the Alert signal on the TMP75 and can be used to alert the CPU if the temperature has fallen outside two programmable high and low temperatures Here are web links to manufacturers of the devices used on the ATX PRO Direct links are not provided due to the ever changing nature of the vendors websites The following peripherals can be purchased from the Glyn online store at http www glynstore com ATX PRO module http www glyn com au Telit GSM and UMTS modems http www telit com Fastrax UP501 GPS modules http www fastraxgps com Digi m10 Iridium modem http www digi com Glyn also supply a range of suitable GPS GSM UMTS 3G and Iridium antennas to suit your application Links to manufacturers of the other parts on the board AVR Atmegal 280 http www atmel com TMP75 Temperature Sensor MMA7455L Accelerometer All power supply chips MCP7941 RTC One Wire Bus Other Industrial grade SD card Iridium Network SD Card Programming amp Spec h
13. accommodates this and has enough power stored in an on board capacitor to guarantee the completion of a write of the currently pending block or sector to flash memory if the main supply drops or glitches This will prevent the card being corrupted and unusable but won t always stop a file system becoming inconsistent but this depends entirely on the file system being used and it s resilience to interrupted writes Many commercial grade SD cards will stop working at all if their power is interrupted during a write 5 7 RTC The RTC chip MCP7941 U19 also sitting on IIC bus its address is Ox6F and is intended to allow the ATX PRO to keep track of the current date and time even when the CPU is powered off or in a sleep mode Some Telit modems also have an RTC function built to them that can be used in conjunction with or in place of the MCP7941 but not all applications of the ATX PRO will use a Telit modem 6 Jumpers Jumper Description if Fitted J13 This provides 3 3V to a JTAG device if the device needs to be powered by the ATX PRO Not all JTAG programmers need this power Models with optical isolation or level shifting buffers usually require this jumper fitted J26 Setting the right and centre pad connects port P1 pin 5 to the positive rail of of the LiPo battery circuit to allow an external LiPo battery to be fitted Setting the left and centre pad makes port P1 pin 5 available to drive a lamp or LED to indicate the status of U1 the PG pin on the
14. device and select it from the list of unfiltered devices below If your device isn t listed it may already be filtered be in a driverless state or incompatible with the libusb win32 filter driver Select the device with VID 0403 and PID 6014 rev 0900 USB Serial Converter This should be the C232HM Select Install Hardware ID Description 4 vid 1a2c pid 0002 rev 0110 mi 00 USB Input Device vid 1a2c pid 0002 rev 0110 USB Composite Device vid 046d pid c0 19 rev 4300 USB Input Device USB Serial Converter vid 0402 pid 9665 rev 0009 mi 00 USB Video Device vid 0402 pid 9665 rev 0009 USB Composite Device fa sasam asna ER As 27 r 8 TestLibUsb Windows Version DIL version 1 255 Driver version 1 2 6 0 m bus device idVendor idProduct bus 0 Nlibusb0 0001 0x0403 0x6014 0403 6014 Manufacturer DI Product C232HH DDHSL 0 Serial Number FTUJK2JU bLength 1 bDescriptorType Oih bcdUSB 0200h bDeviceClass 00h bDeviceSubClass 00h X Once installed run the Test Win Program to check that it has installed The above picture shows and example of a successfully installed filter driver In the Windows device manager there should be no change to the state of the C232HM serial port and any Windows based applications that use FTDI s device drivers should still work 10 2 Installation of AV
15. download this file is http www atmel com dyn resources prod_documents A vrStudio4Setup exe e Back in the AVRStudio 4 section scroll down to the Atmel AVR Toolchain 3 3 0 for Windows and click on the disk icon to register and download the installer The direct path to download this file is http www atmel com dyn resources prod_documents avr toolchain installer 3 3 0 710 win32 win32 x86 exe e Back in the Tools tab select Atmel AVR Studio 5 1 Scroll down to the AVR Studio 5 Installer Full and click on the disk icon to register and download The direct path to download this file is http www atmel com Images asSinstaller stable 5 1 208 full exe Installing AVRStudio 4 19 Open the file AvrStudio4Setup exe file with a right click and select Run As Administrator Follow the next 4 dialogue boxes as shown 21 Agreement he following lice Welcome to AVR Studio from Atmel Corporation AVR Studio is a Development Tool for the entire AVR family of microcontrollers including tinyAVR megaAVR picoPower and XMEGA AVR devices The AVR Studio is free of charge and may be freely copied and ditibuled in ts original form AVR Studio enables the user to fully control execution of programs on the AVR In Cicul Emulator or on the included AVR Instruction Set Simulator AVR Studio supports source level execution of Assembly and C C programs assembled with the Atmel Corporation s included AVA Assembler or tools from 3id
16. message will always be emitted after the rising edge of the PPS GSM 3G Modem The ATX PRO can be fitted with a range of GSM and UMTS 3G modems from Telit and supplied by Glyn that use the Molex 53949 0878 male 80 way connector The modems feature a built in TCP IP stack for IPv4 so that the ATX PRO doesn t need to include its own TCP IP stack UDP and TCP are supported by these modems If IPv6 is needed the ATX PRO will have to support it with its own TCP IP stack Some models such as the Telit UC864 G have a GPS function built in precluding the need to have a separate GPS module The GPS function built into the modems doesn t have PPS output though so at best time synchronisation to UTC will be 1 second using the SGPRMC message The default data rate for most of the Telit modems is 115200bps but can be set higher Hardware handshaking using CTS and RTS on the AVR must be used in the ATX PRO serial port driver to avoid serial overruns and the resulting data corruption SBD9602 9603 Modem The Iridium SBD9602 9603 modem can be fitted so the ATX PRO can operate globally using the satellite based Iridium short message system Hardware serial flow control CTS and RTS is disabled by default and isn t available to the ATX PRO but shouldn t be needed due to the low data rates Satellite Available line is available to alert the CPU of status changes to the modem MMA7455L Accelerometer The MMA7455L Accelerometer is a 3 axis programmable range d
17. modem is off e Shut down the power supplies to the GSM modem GPS and Iridium modem e Set the accelerometer into standby mode and the temperature sensor into shut down mode e Turn off the relays opto couplers and LEDs unless absolutely necessary the relays drawn 50mA each when energised e Disable all interrupts including the watchdog the 2 wire 12C external interrupts and brownout e Set the CPU SM2 0 register to 010 set the SE bit to 1 and execute the SLEEP instruction to put the processor to sleep The only way to way the CPU in this state is to provide a reset Alternatively setting SM2 0 to 011 and execute the SLEEP instruction to put the CPU into power save mode and use Timer 2 to occasionally wake the CPU to check the state of the battery or other stimulus to decide when to bring the CPU back into a fully operational mode 2 6 Battery Charge Indicator LED D7 reflects the state of the CHRG pin on U16 See the Linear LTC4095 data sheet for details e LED off Battery is not charging e LED on Battery is charging e LED dim then Bright NTC or battery fault The dim state is the signal being turned on and off at 35KHz The duty cycle of the brightness indicates the particular fault This same signal can also be monitored by software on Port L bit 0 3 CPU Ports The following is an itemisation of the I O port pins utilisation on the ATMega 1280 along with recommended configuration values for the ATX PRO As the CPU is
18. operating at 3 4V the following input output voltage levels to the port pins apply Vy OV to 1 02V Vig 2 04V to 3 4V Vor 0 to 0 6V Von 3 1 Port A 3 2 Port B 3 3 Port C 2 3 to 3 4V Port Pin Net Name I O Description PA7 PAO AD7 ADO X Serves as multiplexed address and data bus ADO 7 for external RAM Set whole port to TRISTATE PORTA 0x00 DDRA 0x00 Note External RAM must be configured first by setting XMCRA 0x80 and XMCRB 0x00 Port Pin Net Name O Description PB7 PCINT7 optional for daughter board PB6 DT IO 1 Connected to daughter board PB5 BAT PWR Battery power status A 1 means the battery is powering the ATX PRO a 0 means the auxiliary power plug pack or other source is powering the ATX PRO PB4 SD_IN Micro SD plug unplug sense PB3 MISO SPI Master In Slave Out PB2 MOSI O SPI Master Out Slave In PB1 SCK O SPI Master Slave Clock PBO SD_CS O SPI Slave select connected to daughter board extension connector Port Pin Net Name I O Description PC7 PCO A8 A15 X External SRAM address bits PORTC 0x00 DDRC 0x00 Note External RAM must be configured by setting XMCRA 0x80 and XMCRB 0x00 3 4 Port D Port Pin Net Name l O Description PD7 LED_R O Digital output Red LED 1 is on 0 is off PD6 LED_O O Digital out
19. to ground or earth pin 4 on P2 when the battery or external supply is required to be disabled even if they are connected and available Female DB 9 Connector 4 5 U7 U15 Pin Net Name I O Description 1 4V2 This is a 4 2V direct connection optional not connected by default Even though it is fused for 200mA be very careful with this pin Do not connect it if it s not required 2 RS232_TX l Data from DTE PC to DCE ATX PRO This is the TX pin for a PC 3 RS232_RX O Receive DCE ATX PRO to DTE PC This is the RX pin for a PC 4 RESET l This is the DTR signal on a PC As per the Arduino usage of this pin dropping the DTR signal from high to low will cause a short reset pulse to allow the ATX PRO to reset For Arduino users this will need the modified Arduino boot loader to be installed on the ATX PRO This reset will only work if J43 is closed 5 GND System Ground 6 NC 7 NC 8 NC 9 NC Microfit male 6 way connector facing view and SIP header 6 5 t 4 4 1 Pin Net Name I O Description 1 GPS_TXD O CPU to GPS serial data signal Default 9600bps 2 GPS_RXD l GPS to CPU serial data signals Default 9600bps 3 GND 4 GPS 3V3 Power to GPS controlled by bit PE2 5 GPS VBAK Battery backup power to GPS This keeps the RAM state clock and GPS almanac valid so the GPS can have a rapid reacquisition the next t
20. AT LED 3V3R GSM status indicator This signal is normally used by the modem to drive a LED used to monitor the function state of the modem by observing the duty cycle of the signal Read the Telit hardware manuals on the use of this pin PLO GSM OnOff O This is connected to a FET used to pull the GSM power activation line on and off This is a toggling function Read the Telit hardware manuals on the procedures and timing to toggle the modem on and off IO Expander Port Pin Net Name O Description P17 OPMCU2 O Output for Opto coupler 2 P16 OPMCU1 O Output for Opto coupler 1 P15 RELAY O Relay control P14 DT_ONOFF l O Connected to daughter board connector P13 DT PWR CTRL l O Connected to daughter board connector P12 GPS 3V3 EN O External GPS power control P11 GSM PWR O GSM 3G Modem power supply control P10 GSM RST 3V3 O GSM 3G modem RESET P07 DT SUP OUT l O Connected to daughter board connector P06 TMP75 INT Temperature sensor interrupt P05 DT S RI l O Connected to daughter board connector P04 TP10 l O Connected to test pad 10 P03 TP8 l O Connected to test pad 8 P02 HW BIT2 P01 HW_BIT1 POO HW_BITO 12 4 Interface Ports 4 1 CON1 4 1 1 Connector CONI is a 30 pin connector that breaks out many of the signals on the ATX PRO in order to provide scope to expand the application of the ATX PRO w
21. GNU Compiler in section 1 4 e Open the Makefile in a text editor in the path lt INSTALLPATH gt arduino 1 0 hardware arduino bootloaders atmega Makefile TARGET ATX PRO MCU TARGET atmegal280 CFLAGS DMAX TIME COUNT F CPU gt gt 4 DNUM LED FLASHES 0 DBAUD RATE 57600 AVR FREQ 11059200L LDSECTION section start text 0x1r000 S PROGRAM _ATX PRO hex e Add the following at line 191 then save the Makefile If the GCC tools are installed correctly type in to a command line in the same directory as the makefile make ATX PRO The new hex file called ATmegaBOOT 168 ATX PRO hex will be generated and can be installed via JTAG or the ISP port Once this new version is generated and installed it will accept code downloads from the Arduino IDE 8 2 Adding a New Board to the Arduino IDE A board configuration can be added to the Arduino IDE so that it appears in the menu Tools gt Board gt Glyn ATX PRO e Open the boards txt file in a text editor in the path lt INSTALLPATH gt arduino 1 0 hardware arduino boards txt e Add the following cut and paste at line 1 then save the file 25 RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO name Glyn ATX PRO upload protocol arduino upload maximum size 126976 upload speed 57600 bootloader bootloader bootloader bootloader bootloader bootloader bootloader low fuses 0OxFF high fuses 0xDA extend
22. RDUDE A version of AVRDUDE that will work with the C232HM is avrdude 5 11svn1068 Patch7729 win32 zip This is available from Glyn and new versions will be downloadable from http helix air net au The AVR Toolchain typically installs the older version 5 10 of AVRDUDE in C Program Files x86 Atmel AVR Tools AVR Toolchain bin Back up the files avrdude exe and avrdude conf in this directory and replace them with the files in the zip archive This will make sure that whenever you run avrdude that the correct version will be executed Once installed open up a command window and type in avrdude v and the response should be as follow avrdude Version 5 11svn1068 patch7729 compiled on Feb 25 2012 at 22 00 35 10 3 Using AVRDUDE and the C232HM The ISP header J9 on the ATX PRO and cable on the C232HM should be connected as follows Pin Colour Net Name I O Description 1 Green MISO O Master In Slave Out 2 N C 3V3 O ISP Sense no connection 3 Orange SCK ISP Clock 4 Yellow MOSI l Master Out Slave In 5 Brown RESET l Reset 6 Black GND System ground To program in a hex file generated by AVRStudio the following command should be invoked avrdude c c232hm p m1280 b 2500000 U flash w ATmegaBOOT_168_ATX PRO hex The invocation arguments are as follows c The programmer type This is defined in the avrdude conf file p The chip type The ATX PRO uses the Atmega1280 b Th
23. al See Table 4 of UC864G hardware user guide Digital Voice Interface clock signal for Telit modem 24 SPI CLK 1 0 O SPI Clock 25 EAR HF DVI TX lO Hands free earphone negative signal See Table 4 of UC864G hardware user guide Digital Voice Interface transmit signal for Telit modem 26 SPI MOSI 1 0 O SPI Master Out Slave In 27 MIC HF DVI RX lO Hands free microphone positive signal See Table 1 of UC864G hardware user guide Pin Net Name l O Description 28 SPI_MISO l SPI Master In Slave Out 29 MIC HF DVI WAO Hands free microphone negative signal See Table 1 of UC864G hardware user guide 30 SPI_S_CS O SPI_CTRL signal 4 2 P1 Microfit male 24 way connector facing view 24 23 22 21 20 19 18 17 16 15114 13 12 11 1009 8 7 6 4 3 2 1 PN Pin Net Name I O Description 1 V IN Alternative system supply input 2 Ignition Ignition input A voltage present on this pin will assert port PJ3 on the CPU This will allow the CPU to recognise that a vehicle key is in the ignition position VIL OV 8V VIH 9 36V 3 RL1 Com Relay Common Pin Omron G5V 1 Vmax 60VDC 125VAC Imax 1A Pmax 30W 62 5VA 4 RL1 NC Relay 1 Normally Closed Pin 5 Optional l 3V3 CMOS UARTO external interface receive optional EXT_UART_RX 6 Optional O 3V3 CMOS UARTO external interface transmit optional EXT_UART_TX 7 D_IO_p3 1 0 Protected Scaled
24. censes are reproduced below GNU Binutils GNU Compiler Collection GCC GNU Debugger GDB Lic Installshield Installation folder 7 2 7 3 e In the last dialogue box select only the 8 bit tool chain for the Atmel AVR chip This will complete the installation of AVRStudio4 and the Atmel GCC tools Installing AVRStudio6 AVRStudio 6 is a new consolidated IDE and debugger developed by Atmel to support both their 8 bit and 32 bit microcontrollers It uses the Microsoft Visual Studio IDE framework so may be familiar to some users Click on the asSinstaller stable 5 1 208 full exe with Administrator rights if possible and follow the installation instructions Both AVRStudio4 and AVRStudio 6 and the GCC tools can be installed at the same time without conflict AVRStudio 5 will install it s own private copy of GCC that won t conflict with the separately installed v3 3 0 AVRStudio 6 is relatively new and isn t as mature as the older but still very capable AVRStudio4 JTAG Debuggers and ISP Programmers The following JTAG debuggers are recommend for use with the ATX PRO connected to J7 and both AVRStudio4 and AVRStudio 6 They support code downloading memory inspection and breakpoints ISP only programming is also available using the JTAG programmers on J9 as well as other ISP only devices The ISP port uses the SPI protocol to read and write the all the memory spaces on an AVR chip ISP is especially suited for pr
25. connector PJO DTS RX Connected to daughter board connector Port Pin Net Name VO Description PK7 PKO DIO_8 DIO 1 IO Configurable GPIO Input Output or ADC Port Pin Net Name lO Description PL7 GSM_DCD DCD signal for GSM modem Carrier Detect Use depends on the setting of the Telit modem s amp C command PL6 GSM_RTS O RTS signal for GSM modem Ready to Send Set to 0 means the modem can send data to the CPU Set to 1 means the modem should 11 3 11 stop sending data to the CPU It is strongly recommended that use of this pin is included in the serial port driver for UART1 to ensure no data is lost due to buffer overruns PL5 CHARGE_STAT Battery charge status signal from the LTC4095 charger chip PL4 GSM_DTR O DTR signal for GSM modem Data Terminal Ready Set to 0 means force the modem into command mode Set to 1 means force the modem into transparent data mode PL3 GSM_CTS CTS signal for GSM modem Clear to Send A 0 means the modem is ready to receive data A 1 means stop sending any more data to the modem It is strongly recommended that use of this pin is included in the serial port driver for UART1 to ensure no data is lost due to buffer overruns PL2 GSM_DSR DSR signal for GSM modem Data Set Ready Use depends on the setting of the Telit modem s amp S command PL1 ST
26. d 5 Peripherals 5 1 5 2 5 3 5 4 5 5 GPS The external GPS function is designed to fit a Fastrax UP501 family device either on board via the header on U15 or externally via the connector U7 with the UP501 mouse Other makes and models may be used though so long as the can be powered by 4V and their serial and PPS I O is compatible with 3 3V CMOS If other voltages are needed reconfiguration of U3 will be required By default the UP501 emits many GPXXX messages every second but not all are necessary to acquire time and location Most applications only need the GPRMC message for a time stamp and location fix See the UP501 manual on how to enable and disable which the messages to be emitted Minimising the amount of data coming from the GPS will keep the serial processing overhead down on the CPU To enable only the GPRMC message to be sent from the module the following command PMTK314 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 followed by the checksum The PPS pulse per second signal from the UP501 is available once a valid 2D fix is acquired It s rising edge is at the top of the second i e the instant the seconds value changes and lasts for 100ms This PPS signal can be used to align any internal clock that the application may have to UTC with an accuracy of lus but practically more like Ims to UTC Relying on the serial messages alone will only give an accuracy of 1 second According to Fastrax the GPRMC
27. e SPI bit rate This is 1 4 or less of the CPU clock speed For an 11MHz ATX PRO 2500000Hz works reliably U The memory region flash the operation w for write and the hex file name The output from AVRDUDE for the above command is as follows AVR device initialized and ready to accept instructions DRA RRHH RRA 100 0 04s Device signature 0x1e9703 NOTE FLASH memory has been specified an erase cycle will be performed To disable this feature specify the D option erasing chip reading input file ATmegaBOOT 168 ATX PRO hex input file ATmegaBOOT 168 ATX PRO hex auto detected as Intel Hex writing flash 129406 bytes HARARE AE HE AE ARE EEE HE AE AE HE E AE FE AE EEE AE AE AE HE AEAEE AE EEE 100 1 70s 129406 bytes of flash written verifying flash memory against ATmegaBOOT_168_ATX PRO hex load data flash data from input file ATmegaBOOT_168_ATX PRO hex input file ATmegaBOOT 168 ATX PRO hex auto detected as Intel Hex input file ATmegaBOOT 168 ATX PRO hex contains 129406 bytes reading on chip flash data AE AE E HE AE AE AE AE HE AEA aE AE aE AR AEE HE AER AEE ERRATA EERE HEH 100 1 74s verifying 129406 bytes of flash verified Safemode Fuses OK done Thank you The complete AVRDUDE manual is available at http www nongnu org avrdude user manual avrdude html 29 11 Getting Started Guide 30
28. ed fuses OxF5 path atmega iu un lock bits 0x3F lock bits 0xO0F build mcu atmegal280 build f cpu 1 build core arduino build variant mega 1059200L HARARE AE HE HE 9 Operating Systems le ATmegaBOOT 168 ATX PRO hex HARARE HE AE AREA AE AE HE AEE AE HE HE EEE HE E AE AE FE HE HE AE E E EHE AE The ATX PRO has been tested and operated with the following operating systems Name URL Description FreeRTOS http www freertos org This is a popular and well tested RTOS with many powerful features for creating a robust embedded system Examples excising the ATX PRO are available upon request from Glyn using AVRStudio 6 BeRTOS http www bertos org This is a modular pre emptive kernel with many peripheral drivers and utility functions The system driver model is highly abstracted This has been successfully compiled and debugged using AVRStudio4 Arduino http www arduino cc Arduino is a well known development system for AVR chips A lot of the complexity of programming the chip is hidden at the cost of limited debugging Source code and examples exercising the ATX PRO specific functions are available upon request from Glyn MK RTOS N A This is a simple scheduler and includes some timers and serial drivers The source code and examples exercising the specific functions of the ATX PRO are available upon request from Glyn This has been successfully compiled and debugged using AVRStudio4
29. evice that can measure acceleration peaks of 2G 4G or 8G to 10 bit resolution It is intended to operate off the I2C or Two Wire Interface bus built into the Atmegal280 The I2C address is OXID Application notes AN3468 and AN3745 discuss the calibration procedures needed for the device along with application uses to detect freefall shock and vibration Port bits PJ5 and PJ6 on the CPU are hooked to the interrupt lines on the accelerometer to allow for rapid detection of adverse accelerations TMP75 Temperature Monitor The temperature monitor is designed to record the ambient temperature of the ATX PRO PCB This device also sits on the I2C bus and has its address pins configured to have an I2C address of 0x4F This too must be left 5 6 SD Card The SD card port can fit standard micro SD flash memory cards The cards are accessed using the SPI port built into the Atmegal280 The user will need to supply a software stack that can handle any files systems on the card MSDOS FAT16 and FAT32 formats are most commonly used but SD cards are not restricted to these two Port bit PB4 on the CPU is connected to the card carrier to allow the CPU to detect whether or not a card has been fully inserted SD cards indeed any flash based media are prone to gross file system corruption or even catastrophic failure if the power being applied to them is interrupted in any way while they are writing to the flash memory cells Cactus Technology do make an SD card that
30. ime it s powered up the so called hot start If GPS VBAK fails the GPS will be forced to take a long duration cold restart cycle 6 GPS 1PPS Provides a rising edge signal of 100ms duration that is aligned with the UTC second when the receiver has a valid 3D fix available 4 6 J3 and J4 Pin Net Name Description 1 4V2 4 2V LiPo battery rail 2 BAT NTC NTC temperature sensor inside the LiPo battery pack On J3 this is connected to U16 s NTC input On J4 this is connected to ADC13 on the CPU 3 GND System ground 4 7 J9 This is the ISP header as used by AVR compatible FLASH programmers to rapidly configure the FUSE bits and access the EEPROM and FLASH memory on the Atmegal280 Pin Net Name I O Description 1 MISO O Master In Slave Out 2 3V3 O ISP Sense 3 SCK ISP Clock 4 MOSI Master Out Slave In 5 RESET l Reset 6 GND System ground 4 8 J7 This is the JTAG header as used by AVR compatible JTAG debuggers Pin Net Name I O Description 1 TCK l JTAG Test Clock 2 GND System ground 3 TDO O JTAG Test Data Out 4 3V3 O Sense voltage for JTAG debugger 5 TMS l JTAG Test Mode Select 6 RESET l JTAG Reset 7 3V3 Power for JTAG debugger If the JTAG module needs power supplied by the 17 ATX PRO then J13 will need to be closed 8 NC 9 TDI JTAG Test Data In 10 GND System groun
31. ith custom daughter cards and cable assemblies Some of the signals routed to this connector are also routed to the CPU The CPU can be disengaged from the nets by removing certain resistor and resistor block jumpers Note that some of the connections are directly connected to the GSM 3G modem and will require 1 8V or 2 6V CMOS logic levels Check the relevant modem hardware manual for details Pin Net Name lO Description 1 2 4V2 PWR This is a filtered and fuse protected version of the main power supply input The supply can be in the range of 6V to 28V This connection should only be ever used to source power to the ATX PRO not provide power All external power should be sourced from connector P2 3 4 GND PWR System ground 5 DT ONOFF lO I O from IO expander chip U13 P14 6 DTS TX O UARTS TX from MCU PJ1 7 DTS RX l UART 3 RX from MCU PJO 8 DT_PWR_CTRL lO 1 0 from expander chip U13 P13 9 DTS_DCD VO I O from MCU PH4 10 DTS_DSR l O I O from MCU PH3 11 DTS_CTS lO I O from MCU PH5 12 DTS RI lO 1 0 from expander chip U13 P05 13 DTS RTS l O I O from MCU PH6 14 DTS_DTR VO I O from MCU PH2 15 GND PWR System Ground 16 SDA I O IC SDA from MCU PD1 17 DT_NET_AVA l O I O from MCU PJ7 18 SCL lO IIC SCL from MCU PDO 19 DT_INT_1 VO 10 from MCU PE5 20 DT_SUP_OUT lO 1 0 from expander chip U13 PO7 21 DT_ADC_1 l O 10 from MCU PF2 22 DT IO 1 l O IO from MCU PB6 23 EAR HF DVI CLK lO Hands free earphone positive sign
32. ogramming the flash memory on the ATX PRO for batch production in a factory Development using the ISP port only is not recommended as it doesn t support breakpoints and code inspection 23 Name URL Description AVRDragon http www atmel com JTAG Debugger and ISP Programmer AVR JTAGICE These programmers are officially supported by Atmel and mkll the AVR Studio IDEs AVR ONE The AVRDragon has been tested with AVRStudio 4 and 5 JTAGICE 3 with the ATX PRO JTAGICE mkII CN http www mcuzone com JTAG Debugger and ISP Programmer This is a 3 party JTAG debugger that is compatible with Atmel s JTAGICE mk Il and can be used for programming and debugging in AVRStudios 4 and 5 This has been tested with AVRStudio 4 and 5 and the ATX PRO Arduino http www arduino cc Serial Port Programmer The serial port on J6 and a standard RS232 cable are used to download and debug code using the Arduino IDE FTDI UM232H http www glyn com au ISP Only Programmer C232HM and AVRDUDE is an open source utility designed to read and AVRDUDE AVRDUDE Software for write the non volatile memories on Atmel AVR components UM232H The FTDI UM232H module and C232HM cable supplied by http helix air net au Glyn can be used with an updated version of AVRDUDE Programming using the ISP port and a UM232H module with AVRDUDE has been tested with the ATX PRO In order for this to work download AVRDUDE from http helix air net au O
33. party Welcome to the InstallShield Wizard for AVRStudio4 The InstallShield Wizard will install AVRStucio4 on your computer To e click Next AVA Studio runs under Microsoft Windows 98 Windows NT Microsoft Windows 2000 Windows XP and Windows Vista AVR Studio is continously developing In order to get latest upgrades of AVR Studio please visit our web site Destination Location where setup will install fle to install and AVR Tools MENTE id Windows NT WEA ital sel e Proceed with the installation This will install AVRStudio4 and the Jungo USB drivers for the JTAG debugger 22 7 1 4 Installing the AVR GNU Compiler Tools Once AVRStudio4 is installed open the file avr toolchain installer 3 3 0 7 10 win32 win32 x86 exe with a right click and select Run As Administrator Follow the next 4 dialogue boxes as shown GNU Binutis is cistibuted under the GNU GPL version 3 License GNU Compiler Collection GC is distributed under the GNU GPL version 3 License avrlbc is distibuled under a BSD License lavrdude is distibuted under the GNU GPL version 2 License GNU Debugger GDB is distributed under the GNU GPL version 3 License Welcome to the InstallShield Wizard for AVR Toolchain AVARICE is distributed under the the GNU GPL version 2 License SRecord is distributed under the GNU GPL version 2 License Split is distibuted under the GNU GPL version 2 License Newib is distibute under several icenses These li
34. put Orange LED 1 is on O is off PD5 LED G O Digital output Green LED 1 is on O is off PD4 LED_Y O Digital output Yellow LED 1 is on 0 is off PD3 GSM TXD 3V3 O UART1 data transmit to GSM 3G modem PD2 GSM RXD 3V3 UART1 data receive from GSM 3G modem PD1 SDA VO Two Wire Interface IC data pin PDO SCL lO Two Wire Interface I C clock pin 3 5 Port E 3 5 Port F 1 1 Port Pin Net Name l O Description PE7 GPS 1PPS 3V3 GPS 1PPS input PE6 INT6 Connected to daughter board connector PE5 DT INT1 Connected to daughter board connector PE4 IO EXP INT IO expander interrupt input PE3 PWR MON 3V3 GSM 3G 4G modem power status input PE2 PE2 l O Connected to daughter board connector PE1 TXO O UARTO Transmit data to RS232 port PEO RXO UARTO Receive data from RS232 port Port Pin Net Name l O Description PF7 ADC7 TDI JTAG TDI Optional for the second battery NTC monitoring need disable JATG to enable this ADC input PF6 ADC6 TDO JTAG TDO PF5 ADC5 TMS JTAG TMS PF4 ADC4 TCK JTAG TCK PF3 ADC3 Connected to daughter board connector PF2 DT_ADC_1 Connected to daughter board connector PF1 VIN ADC l External power supplier voltage monitoring working as ADC 10 3 6 PortG 3 7 Port H 3 8 PortJ 3 9 PortK 3 10 Port L
35. r the downloads section of http www nongnu org avrdude This binary version is currently only available for Windows The website http helix air net au has detailed instructions on using installing connecting and using the UM232H and will be kept up to date over time It is expected that AVRDUDE v6 onwards will fully support the FTDI based parts and models in Windows Linux and FreeBSD 8 Installing the Arduino IDE The ATX PRO can also be programmed and driven using the popular Arduino suite A slightly altered Arduino bootloader will need to be installed though this will be covered below To install the Arduino programming environment follow the instructions at http arduino cc en Guide HomePage The ATX PRO has been tested with Arduino version 1 0 Glyn can preload the modified bootloader if required before shipping All that is required to develop with the Arduino IDE and the ATX PRO is a standard RS232 cable native or USB based connected to J6 8 1 Alternative Arduino Bootloader The Arduino bootloader code expects to communicate with the host computer at 56700 baud The default Arduino bootloader for the Atmegal280 is configured for the Arduino Mega board and expects that the system clock runs at 16MHz As the ATX PRO operates at 11 0592MHz the serial port speeds will be wrong using the default image file from Arduino To build the corrected bootloader the following prerequisites of Arduino 1 0 and the AVR
36. reset signal is active low See chapter 11 of the ATMegal280 manual for more information on the reset behaviour of the CPU Power The ATX PRO has a sophisticated and flexible power supply system The main supply is driven by an external source which can charge a local LiPo battery as well as power the board Main Supply The primary power supply is connected to the 4pin Molex connector Pin 1 is the positive rail and pin 3 is the negative rail or ground reference This supply is reverse polarity protected by D14 as well as fused on both the positive and negative rail to 4 amps each For reliable operation the input supply voltage must be between 7V to 36V Do not exceed 36V The primary supply is dropped to a system supply voltage of 4 2V from which all other on board voltages are derived 2 3 2 GPS Supply The GPS power supply is provided by a linear regulator to minimise power noise and maximise GPS sensitivity CPU control of the supply is done by setting or clearing GPS 3V3 EN P12 of U13 A weak pull down on the control pin of the regulator will ensure the GPS is powered off while the CPU is in reset Peak current available for the GPS modules is 150mA 2 3 8 Expansion Port Power Supply The expansion port P3 provides 4 2V for powering the optional daughter modules CPU control of the supply is provided on the IO expansion chip U13 DT ONOFF P14 and DT_PWR_CTRL P13 2 3 4 GSM Power Supply 2 4 2 4 1 The GSM 3G modem power s
37. to interpret the 2 blinking states Provision has been made to plug in two LiPo battery packs in parallel Connector J3 is the primary battery connector and all single battery applications must use this connector Use of J4 alone will cause the battery to discharge because the battery NTC is not connected to the charger on this port The charger chip will not charge a lone battery only connected to J4 indicates a battery fault The NTC on J4 is connected to ADC7 on the CPU instead 2 4 2 RTC The RTC Real Time Clock chip need and use a battery backup to keep it running in a valid and useful state in the event there is no primary or LiPo battery power The RTC needs to keep the time and date current RTC chip using IIC to MCU it connected to PDO and PD1 and the IIC device address for this RTC chip is Ox6F 2 5 Orderly Power Down In the event that the ATX PRO is shut down either by desire or the need avoid discharging the LiPo battery too deeply the following sequence should be used to power off the ATX PRO to minimise any further power consumption e In the case of a low LiPo battery shut down is needed send an alert message back to base if possible e Save Iridium messages and other necessary state data to flash memory or the SD card e Cease any reads and writes to the SD card and any flash memory e GSM Modem Use the correct power off cycle on Port D bit 6 as indicated by the Telit manual Monitor Port D pin 5 until it goes low meaning the
38. ttp www ti com http www freescale com http www linear com http www microchip com http www maxim ic com http www cactus tech com http www Iridium com http www sdcard org 20 7 Software Tools 7 1 7 1 1 Installing AVRStudio 4 and the GNU Tool Chain Prerequisites Windows 7 32 or 64 bit Windows Vista or Windows XP The installation procedures in this manual were developed using Windows 7 Home Edition 64 Bit AVRStudio 4 and the Atmel AVR GNU tool chain are the free Atmel supplied and supported IDE assembler and C amp C compiler for use with family of Atmel AVR microcontrollers This document will guide the reader through the steps of downloading and installing the tool chain in preparation for starting to write code for the ATX PRO development system 7 1 2 Downloading AVRStudio4 and AVRStudio6 7 1 3 e Using a web browser go to http www atmel com e Select Atmel AVR 8 and 32 bit from the Products menu then select 8 Bit MegaA VR Products Applications Microcontrollers Atmel AVR 8 and 32 bit Atmel ARM based Solutions MCU Wireless 8051 Architecture e Click on the Tools tab Overview Parametric Documents Tools e Select AVRStudio4 AVR Studio 4 IDE for Atmel 8 bit AVR Microcontrollers Details e Scroll down to AVR Studio 4 19 build 730 and click on the disk icon to register and download the installer The direct path to
39. upply is a filtered and controllable version of the primary 4 2V power supply CPU control of the supply is done by setting or clearing P11 of U13 Once power is applied toggling Port L bit 0 will cause the modem to to turn on and off internally See the Telit hardware design manual for details on the toggling cycles Reading Port E bit 3 will reflect the state of the power supply to the modem but functional testing by sending AT lt CR gt to the modem and getting an OK response back within about a second A weak pull down on the gate of the control FET Q4 will ensure the GSM 3G modem is powered off while the CPU is in reset Resistor R143 will ensure the power to the modem is properly drained when switched off Battery Backup Lithium Polymer Battery The ATX PRO can charge and be powered by a Lithium Polymer LiPo battery An LTC4095 chip provides all the voltage and temperature monitoring and charging functions for the battery The upper limit for charge current is set to 460mA A discharged 3500mAh battery will therefore take almost 8 hours to charge Monitoring the battery state can be done by reading port L bit 5 The State this signal also directly drives LED D7 A steady high state means the battery is charging a steady low off state means the battery is not or no longer charging charge current has dropped to lt 10 of 460mA and a blinking state means there is a battery or NTC fault See the LT4095 manual on how to use the CPU
Download Pdf Manuals
Related Search
Related Contents
manuel d`installation installation manual - Pioneer Europe ダウンロード FP3710-T - Pro-face America HMI Store und Montageanleitung von RADEMACHER Rohrmotoren Benroy User Manual MANUAL DE INSTALACION CoCentric™ SystemC Compiler Behavioral Modeling Guide Minicom Advanced Systems VGA Extender POOL HEAT PUMP UNIT SHP48 HP Mini 5103 Copyright © All rights reserved.
Failed to retrieve file