background image

4.4. 

EEPROM Data Settings

The EEPROM of the Atmel

®

 ATA8510 and ATA8515 device includes the configuration of the device and

the settings for the RF protocol. This EEPROM must be programmed before running application software
either as an embedded Flash application or as a host application using the SPI communication link. The
Atmel ATA5831 device has to be selected instead of the Atmel ATA8510 or ATA8515 within the
programming dialog of Atmel Studio 6. Make sure that the ISP signals are available for the programmer
only and that the device is not in OFF mode by pulling an NPWRONx pin to GND level, i.e., connect the
PC1 pin to GND.

A Java GUI tool is used for generating the EEPROM programming file in HEX format (see [7] for the tool
software and user guide, which is not included in the tool pack [10]). This tool can save all settings in an
xml file and handling is described in the user guide [7] and the settings in the user manual [9].

The tool pack includes two subdirectories which contains the xml and HEX files for the base and the
remote sensor:

..\Software\base\EEPROM Configuration file for the Atmel ATA8515 base station device

..\Software\sensor\EEPROM Configuration file for the Atmel ATA8510 remote sensor device

Only service 0 with channel 0 is used for the RF telegram. All other service settings can be ignored. For
the base station the polling is defined in the polling tab of the GUI.

Atmel User Guide for the Evaluation Kit ATA8510-EK1 [APPLICATION NOTE]

Atmel-9343D-ATAN0046_Application Note-09/2016

20

Содержание ATA8510-EK1

Страница 1: ...on board Xplained PRO ATA8510 15 extension board Remote temperature sensor with Atmel ATA8510 running a Flash application The Atmel ATA8515 is used as an RF transceiver in the base station and runs in polling mode to detect data telegrams and displays the received message on the OLED The received message is also streamed to a PC terminal program using a virtual COM port connection The remote senso...

Страница 2: ...eet 4 http www atmel com 5 http www iar com 6 Atmel ATAN0096 ATA8510 Programmers Guide 7 Atmel ATAN0035 ATA583x and ATA578x Configuration Tool Guide and software 8 Atmel ATAN0036 ATA583x and ATA578x Flash Application Development 9 Atmel ATA8510 ATA8515 User Manual 10 ATA8510 EK1_Tool_Pack_V2 0 zip Atmel User Guide for the Evaluation Kit ATA8510 EK1 APPLICATION NOTE Atmel 9343D ATAN0046_Application...

Страница 3: ...ote Sensor Telegram 7 2 2 Data Protocol for Base Station Acknowledge 8 2 3 Signal Timing 8 3 Hardware Description 9 3 1 Base Station Transceiver 9 3 2 Remote Sensor Transceiver 10 4 Software Description 13 4 1 Flash Application for the ATA8510 Remote Sensor 13 4 2 Base Station Application for SAMD20 MCU 14 4 3 Software Development 16 4 4 EEPROM Data Settings 20 5 Revision History 21 ...

Страница 4: ...mponents 1 1 Kit Setup The Xplained PRO OLED1 board is connected to the EXT3 extension header and the Xplained PRO ATA8510 15 board is connected to the EXT1 extension header of the Xplained PRO SAMD20 board as shown in Figure 1 2 The 433MHz whip antenna is mounted on the X4 connector of the Xplained PRO ATA8510 15 board These boards are powered using the USB cable connected to the debug USB connec...

Страница 5: ...een after power up ATA8510 EK1 Demo Kit c 2016 Atmel V2 0 ATA8515 V1 2 wait for RF signal and waits for an RF telegram from the remote sensor After installing the CR2032 coin cell into the remote sensor be sure to observe correct polarity the sensor immediately starts sending RF telegrams at 2s intervals when the optional RTC module is installed The OLED shows the temperature value from the sensor...

Страница 6: ...pport_Files Tool support files for IAR Workbench and Atmel Studio 6 Software base Software project and sources for the Xplained PRO kit Software base EEPROM Configuration file for the Atmel ATA8515 device of the base station Software base SAMD20_XplainedPRO_SW Atmel Studio 6 or 7 project directory Software sensor Software project and sources for the remote sensor Software sensor EEPROM Configurati...

Страница 7: ...s using a low to high transition for a 0 bit and a high to low transition for a 1 bit Table 2 1 Data Protocol Protocol Item of Data Bits Value Description Preamble 55 1 Pre burst for wake up and synchronization Start bit 1 0 Start bit to indicate data payload Data payload 8 0x14 ID for no valid sensor data 0x19 ID for low battery voltage VCC 2 2V 0x64 ID for temperature data 55 to 125 C 16 Signed ...

Страница 8: ...ches then into receive mode with a timeout period of 20ms RX 2 The base station is polling for a valid RF signal which matches the RF channel the data rate the modulation scheme and the correct data encoding every 5ms This polling interval is chosen to match with the length of the pre amble When a valid telegram is received RX1 the base station acknowledges this telegram TX and waits for an acknow...

Страница 9: ...hich includes the LEDs 1 4 The adapter board has a programming adapter XISP1 which is used for programming the EEPROM configuration data into the device This extension board is connected to the EXT1 and PWR header of the Xplained PRO SAMD20 board The extension board has two additional connectors X6 for supplying the kit with 5V and X7 to access the kit s internal 3V supply voltage Figure 3 1 Base ...

Страница 10: ...ed mounted on the bottom of the board The board contains the real time clock CMM 1923 3 attached to the connector X1 and the AT30TS75A 2 temperature sensor The S1 and S2 buttons are placed on the board with the S1 button not used in this application and the S2 button used for initiating data telegram transmission The LED flashes during a temperature measurement before transmitting the RF data tele...

Страница 11: ...OFF mode the temperature sensor is switched off and the resulting current is indicated by the Atmel ATA8510 transceiver and the CMM 1923 RTC current consumption This OFF mode current is highly dependent on ambient temperature shown in the datasheets 1 and 3 Figure 3 3 indicates current consumption measured at a room temperature of 24 C Figure 3 3 Remote Sensor Current Consumption at 24 C 0 10 9 40...

Страница 12: ... life for this application primarily depends on the measurement interval Ts which defines the duration of the OFF mode whereas measurement and transmit mode have fixed durations Table 3 5 Battery Life at 20 C Interval Ts Mean Current Battery Lifetime Days Years s mA CR2032 230mAh CR2450 560mAh Days Years Days Years 2 0 053 180 0 5 437 1 2 5 0 022 445 1 2 1083 3 0 10 0 011 875 2 4 2131 5 8 20 0 006...

Страница 13: ... is the OFF mode The real time clock of the remote sensor wakes up the transceiver every 2s and switches the device to active mode The temperature sensor is powered up and read out followed by the transmission of the data telegram During transmission of this data telegram the supply voltage level is checked and if this is below 2 2V an error message is transmitted after a delay of 200ms The device...

Страница 14: ...th their checksum to be a valid data stream If the data is not valid the polling mode is enabled again to check for another RF signal If the data is valid an acknowledge signal is send followed by waiting for an RF answer telegram Finally the received temperature and RSSI data are shown on the OLED display All text shown on the OLED display is also streamed via the USART peripheral and can be show...

Страница 15: ...for the virtual COM port These parameters have to be set in the PC terminal application To receive the text strings Receiver statistics valid 3062 error 15 total 3099 Measurement results The measurement display shows the time interval dt between two consecutive RF telegram receptions together with the RSSI value for the RF signal strength at the base station and at the Remote sensor The temperatur...

Страница 16: ...nt of the base station the project file is located in the extracted folder in the subdirectory Software base SAMD20_XplainedPRO_SW Atmel Studio 6 or 7 project directory After the installation of Atmel Studio 6 or 7 the USB driver will be installed automatically when connecting the Xplained Pro SAMD20 board for the first time When opening Atmel Studio you will see the landing page of this kit were ...

Страница 17: ... 2 Remote Sensor IAR Embedded Workbench for AVR is required for remote sensor software development 5 The project file is located in the extracted subfolder Software sensor ATA5831_FLASH_IAR_2 32 0 IAR Embedded Workbench project directory After opening the IAR project Remote_sensor eww file the following workspace window is available see Figure 4 4 Figure 4 4 Remote Sensor Software Select the follo...

Страница 18: ... select the right directory paths use the buttons to locate the d90 file and for the Location Figure 4 5 Debugging the Remote Sensor Software After selecting Next the device has to be selected The Atmel ATA8510 device is not currently listed and the ATA5831 device the similar automotive device has to be selected instead as shown in Figure 4 6 Selecting Finish shows the project window and after sel...

Страница 19: ...elect the device ATSAMD20J18 in the device programming tool of Atmel Studio 6 and the file SAMD20_Flash hex for the flash memory 2 For re programming of the Atmel ATA8515 device on the XplainedPRO ATA8510 15 extension board disconnect the board and apply an external 3V power supply to the connector X7 Connect pin 5 of connector X3 to GND to prevent the device from entering the OFF mode and select ...

Страница 20: ...used for generating the EEPROM programming file in HEX format see 7 for the tool software and user guide which is not included in the tool pack 10 This tool can save all settings in an xml file and handling is described in the user guide 7 and the settings in the user manual 9 The tool pack includes two subdirectories which contains the xml and HEX files for the base and the remote sensor Software...

Страница 21: ...ollowing text in new Chapter 1 1 Kit Setup text changed new Chapter 1 2 Upgrade Kit V1 x to V2 0 added Chapter 2 3 text in point 2 changed and figure 2 1 changed Chapter 3 Hardware Description text changed Chapter 3 1 new text and tables added after figure 3 1 Chapter 4 text changed Chapter 4 2 completely changed Chapter 4 3 text changed Chapter 4 3 1 completely changed Chapter 4 3 2 text changed ...

Страница 22: ... DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice Atmel does not make any commitment to update the information contained herein Unless specif...

Отзывы: