MICROCHIP CONFIDENTIAL FOR RELEASE ONLY UNDER NON-DISCLOSURE AGREEMENT (NDA) ATAN0219 ATAK51005-V1 User's Guide Introduction This user’s guide provides setup and usage instructions for the Car Access Reference System (CARS) featuring Remote Keyless Entry (RKE), Passive Entry/Passive Start (PEPS) and vehicle Immobilization (IMMO) functionality, based on the Microchip’s GEN2 communication protocols. It offers a complete car access system for various car access products and its evaluation.
ATAN0219 Table of Contents Introduction.....................................................................................................................................................1 Features ........................................................................................................................................................ 1 1. Quick References....................................................................................................................................4 1.1.
ATAN0219 Legal Notice................................................................................................................................................. 43 Trademarks.................................................................................................................................................. 43 Quality Management System....................................................................................................................... 44 Worldwide Sales and Service.......
ATAN0219 Quick References 1. Quick References 1.1 Reference Documentation For further details, refer to the following: • ATAN0088 Open Source Immobilizer Protocol Stack Application Note • ATAN0073 Short Form Description of the Atmel PEPS System Application Note • ATAN0014 RF System Architecture Considerations Application Note • AVR411: Secure Rolling Code Algorithm for Wireless Link Application Note • ATAN0218-ATAK51005-V1 Quick Start Guide 1.
ATAN0219 Kit Overview 2. Kit Overview This section describes the different blocks supported by the CARS. Figure 2-1. CARS System Block Diagram (ATA5831) (SAMC21) (ATA5291) 2.1 Immobilizer Block The immobilizer is considered the system foundation because it must always work, even if the fob battery is dead, and secures a vehicle against unauthorized engine starts.
ATAN0219 Kit Overview Note: RF and UHF are used interchangeably in this document. For more details on the RKE protocol, refer to the AVR411: Secure Rolling Code Algorithm for Wireless Link Application Note. 2.3 PEPS Block The PEPS functionality provides the user with a means to lock/unlock and start a vehicle just by having the electronic fob with them, without the need to actively interact with it.
ATAN0219 Kit Setup 3. Kit Setup Perform the following steps to set up the ATAK51005-V1 kit: 1. On the ATSAMC21-XPRO microcontroller board, ensure that the VCC-SEL jumper is set to the 5.0V position. 2. Insert the ATA5291-XPRO LF coil driver/immobilizer board in the EXT3 connector on the ATSAMC21-XPRO board. 3. Connect the ATAB-LFTX LF antenna module to Ant0 on the ATA5291-XPRO board. 4. ) position.
ATAN0219 Kit Setup 7. Connect the 12V DC power supply to the power socket (J11) on the ATA5291-XPRO board using the DC plug adapter cable. Note: Always ensure that the adapter cable and the USB cable are unplugged prior to inserting or removing any boards within the system. © 2020 Microchip Technology Inc.
ATAN0219 CARS Kit PC Evaluation Utility 4. CARS Kit PC Evaluation Utility This section describes the programming and configuration settings for using the CARS kit PC evaluation utility. Note: The latest version of the utility is available for download at www.microchip.com/developmenttools/ ProductDetails/ATAK51005-V1. 4.1 Programming Kit Software Program all the individual boards that comprise the kit prior to use. For more details, refer to 6. Programming Instructions. 4.
ATAN0219 CARS Kit PC Evaluation Utility Note: Always ensure that the adapter cable and the USB cable are unplugged prior to inserting or removing any boards within the system. 4.3 COM Port and Baud Rate Settings Navigate to the folder containing the downloaded ATAK51005-V1 software files and open the CARS_PC_Application.exe file. Perform the following steps for the COM port and baud rate settings. COM Port Settings In the Car Access System PC Application window, navigate to COM > PORTs > COM17.
ATAN0219 CARS Kit PC Evaluation Utility Figure 4-4. System Configuration Window 3. Place the ATAB5702A fob board in close proximity (<10 cm) to the LF antenna module, as shown in the following figure. Figure 4-5. Fob Placement 4. 5. 6. Click the Learn button in the System Configuration window. The fob UID in the “Learned Fobs” section indicates the successful completion of the learn procedure. If the learn procedure is unsuccessful, repeat step 4 a couple of times.
ATAN0219 CARS Kit PC Evaluation Utility Notes: • The learn procedure is required for the system to function properly, during which, the fob and the base station exchange the UID and secret keys. The fob UID value is stored in the ATSAMC21-XPRO non-volatile memory upon completion of this procedure. • Do not click the Clear button in the System Configuration window as doing so erases all stored UID values.
ATAN0219 System Operation 5. System Operation The system includes the following features: • • • 5.
ATAN0219 System Operation 3. 4. Place the fob near the LF antenna module within a short distance (<10 cm). Click the Read UID button to execute the ReadUID command. The ReadUID command is sent to the fob and the fob responds by sending its UID. Note: This command works even for fobs not learned by the system. 5. Click the Start Authentication button to execute fob authentication. The green shield icon ( ) indicates the immobilizer status upon successful execution of the start authentication command.
ATAN0219 System Operation Figure 5-2. RKE Message Status Window 3. 5.3 – “RF Message S/N” – Displays the UID returned by the fob. The same UID value for a given fob displays in the learned fobs section of the System Configuration window. – “Log file” – Selecting this check box creates a new record line in a CSV document for each received message when it is selected. – “RF Message Counter” – Displays the rolling code message counter value sent to the vehicle. This value is incremented for every key push.
ATAN0219 System Operation Figure 5-3. System Configuration Window The System Configuration window contains the following sections and associated data fields: • • “LF Antennas” – This section includes controls used to select the antenna channel and the current and associated vehicle ID. – “Antenna Channel” – Selecting any of these radio buttons assigns which antenna channel is used to send the LF message from the vehicle.
ATAN0219 System Operation • • 5.3.2 “PEPS Features” – This section includes configuration settings that affect PEPS messaging functions, including the type of authentication during polling, as well as, a polling interval. – “Unilateral and Bilateral Authentication” – Selecting either of these radio buttons has an effect on the type of communication used during polling only. – “Polling”– Range checking and the determination of a desired threshold performance can easily be done with polling.
ATAN0219 System Operation Figure 5-4. PEPS Message Status Window The PEPS Message Status window shows the following data fields: • “Serial Number” – Displays the received fob ID. This must correspond to the value in the Learned Fobs section of the System Configuration window. • “LF Challenge” – Displays the 4-byte LF challenge data that was sent to the fob. This challenge data is sent during bilateral and unilateral authentication.
ATAN0219 System Operation 5.3.3 Identifying FOBS within LF Range Identify the available fobs by sending out a broadcast, which returns the Fob# in the selected fob field. Perform the following steps to identify the available fobs within the LF range: 1. 2. 3. 4. If not done already, follow the procedure detailed in 4. CARS Kit PC Evaluation Utility. In the System Configuration window, choose Broadcast from the Selected Fob drop-down list.
ATAN0219 System Operation antenna coil axes (X, Y and Z-axis).Typically, this calibration is performed during the final test using high precision equipment at the fob’s manufacturing facility. However, with the help of the CARS PC application, the end-of-line calibration sequence is approximated by clicking the Calibrate Fob button in the System Configuration window. The normalization procedure is used to establish a relationship between a known magnetic flux density and a measured RSSI value.
ATAN0219 System Operation Figure 5-6. FOB Calibration 4. Click the Next button within the Fob EOL Configuration window. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-7. FOB EOL Configuration Window 5. 6. Position the LF antenna module and the fob (as shown in the following figure) to align the X-axis of the fob with the LF antenna module axis, then click the Measure button. This measures the current X-axis RSSI signal amplitude and updates the result to the “Peak RSSI” field for the X-axis. Click the Measure button several times to ensure the peak value is stable. Click the Next button. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-8. X-Axis Peak RSSI 7. 8. Position the fob (as shown in the following figure) to align the Y-axis, then click the Measure button. This measures the current Y-axis RSSI signal amplitude and updates the result to the “Peak RSSI” field for the Yaxis. Click the Measure button several times to ensure the peak value is stable. Click the Next button. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-9. Y-Axis Peak RSSI 9. Position the fob (as shown in the following figure) to align the Z-axis, then click the Measure button. This measures the current Z-axis RSSI signal amplitude and updates the result to the “Peak RSSI” field for the Zaxis. Click the Measure button several times to ensure the peak value is stable. 10. Click the Next button. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-10. Z-Axis Peak RSSI 11. Click the Measure button (as shown in the following figure) to have the fob perform an internal RSSI measurement and display the results in the “Measured Int. RSSI” field. This measurement is performed by an internal current source, which drives each of the fob’s 3-axis LF antenna coil circuits. 12. Click the Next button. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-11. Internal RSSI Measurement 13. Click the Configure button to store the compensation constants into the fob EEPROM (indicated by a blinking LED on the ATAB5702A fob board). Before closing the Fob EOL Configuration window, wait until the LEDs stop blinking. Note: If there is only a slight difference in the Int. RSSI values, select the “No change” check box. © 2020 Microchip Technology Inc.
ATAN0219 System Operation Figure 5-12. Slight Difference in Internal RSSI Notes: • If there is a significant difference between the "Measured Int. RSSI" and the "EEPROM Int. RSSI" fields, select the “Update EEPROM” check box. This can occur when the fob's components age over time or if a change in the circuit has occurred (for example, evaluating a different 3D coil). • Selecting the “Update EEPROM” check box updates the RSSI values currently stored in the EEPROM with the newly measured values.
ATAN0219 System Operation Figure 5-13. Significant Difference in Internal RSSI Values 14. Click the LF Test button in the System Configuration window to check if the calibration values are stored in the EEPROM, and to display the RSSI values in the respective fields within the “PEPS Fob Actions” section. The “Ref. RSSI” values under the “PEPS Fob Actions” section must match the “Measured Int. RSSI” values from the Fob EOL Configuration window. Repeat the fob calibration if these values do not match.
ATAN0219 System Operation Figure 5-14. RSSI Values 5.3.6 PEPS Wake-up Functionality The PEPS wake-up functionality can be tested using the CARS PC application running on the host PC as follows: 1. 2. 3. If not done already, follow the procedure detailed in 4. CARS Kit PC Evaluation Utility. If not done already, follow the calibration procedure detailed in 5.3.5 Fob Calibration Process . Select the desired LF antenna channel to send the LF message, as shown in the following figure.
ATAN0219 System Operation Figure 5-15. LF Antennas and Polling 4. 5. 6. 7. 8. 9. 5.3.7 Select the desired LF Antenna Current. Enter the polling interval value in milliseconds (for example, 1000, meaning the LF wake-up signal is transmitted every one second). Note: 500 ms is the minimum allowable interval. Select the “Polling” check box to enable polling and ensure that the LEDs on the fob blink each time the new wake-up signal is received.
ATAN0219 System Operation Note: The “LF Encrypted Challenge” field is not populated as this data is not transmitted to the fob. Example: The results of a PEPS unilateral authentication sequence display in the following figure. With the In/Out Threshold as 400.0 and the measured value distance scale as 451.3, the fob is identified as Inside the vehicle and is highlighted in blue due to the distance scale value being greater than the threshold value. Figure 5-16.
ATAN0219 System Operation Notes: • Either the PEPS UA or PEPS BA buttons can be used for either inside or outside localization. • Each time the PEPS UA or PEPS BA button is clicked, a new PEPS wake-up signal is generated. Once the fob receives the wake-up signal, the LED on the fob blinks and the PEPS Message Status window information is updated. • A continuous polling sequence can be achieved by selecting the “Polling” check box in the “PEPS Features” section of the System Configuration window.
ATAN0219 Programming Instructions 6. Programming Instructions Specific firmware (Flash) and, in some devices, configuration settings (EEPROM) are required to operate the system. These are found in the MCU (ATSAMC21-XPRO) and the RF transceiver (ATA5831-XPRO) on the vehicle side. The fob requires its own PEPS, IMMO and RKE firmware and configuration files.
ATAN0219 Programming Instructions Figure 6-4. ATA5702 Signature Verification 5. Select the Fuses tab, then verify that the proper fuse settings exist. If not, change them to match the following figure, then click the Program button. Figure 6-5. ATA5702 Fuse Settings 6. 7. Select the Memories tab, then click the Erase now button. Browse to locate the ATA5702_flash.hex file for the flash memory image. 8. 9. Click the Program button, then wait for completion. Browse to locate the ATA5702_eeprom.
ATAN0219 Programming Instructions Figure 6-7. EEPROM Verification Failure 6.2 Programming the ATA5831 on the ATA5831-XPRO Board Perform the following steps to program the ATA5831 on the ATA5831-XPRO board: 1. Insert the ATA5831-XPRO board in the EXT1 connector on the ATSAMC21-XPRO board. 2. Connect the micro-USB plug to the USB connector on the ATSAMC21-XPRO board, then connect the other end of the USB cable to an open USB port on the PC. 3.
ATAN0219 Programming Instructions Figure 6-10. ATA5831 ISP Clock Frequency 4. Click the Read button to ensure that the signature matches the selected device. Figure 6-11. ATA5831 Signature Verification 5. Select the Fuses tab and verify that the proper fuse settings exist. If not, change them to match the following figure, then click the Program button. Figure 6-12. ATA5831 Fuse Settings 6. Select the Memories tab, then click the Erase now button. © 2020 Microchip Technology Inc.
ATAN0219 Programming Instructions Figure 6-13. ATA5831 Memory Settings 7. Browse to locate the ATA5831_eeprom.eep file for the EEPROM memory image. 8. 9. Click the Program button, then wait for completion. Place the jumper on the Disable position of the Enable | Disable Programming header, the two pins closest to the ANT2 connector. Figure 6-14.
ATAN0219 Programming Instructions Figure 6-15. SAMC21J18A Device Selection 3. Click the Read button to ensure that the signature matches the selected device. Figure 6-16. SAMC21J18A Signature Verification 4. Select the Fuses tab, then verify the proper fuse settings. The default fuse values are used except for the User Word 0.NVMCTRL EEPROM SIZE, which must be set to 4096 bytes. Click the Program button. Figure 6-17. SAMC21J18A Fuse Settings 5. Select the Memories tab, then click the Erase now button.
ATAN0219 Programming Instructions 7. Click the Program button, then wait for completion. © 2020 Microchip Technology Inc.
ATAN0219 XPRO USB Driver Installation 7. XPRO USB Driver Installation The necessary USB drivers to interface with the ATSAMC21-XPRO are included with the Atmel Studio integrated software development environment (www.microchip.com/mplab/avr-support/atmel-studio-7). Download and install this software development utility to get the USB drivers needed for the CARS kit evaluation utility. © 2020 Microchip Technology Inc.
ATAN0219 Document Revision History 8. Document Revision History Revision Date Section Description A 10/2020 Document Initial revision © 2020 Microchip Technology Inc.
ATAN0219 The Microchip Website Microchip provides online support via our website at www.microchip.com/. This website is used to make files and information easily available to customers.
ATAN0219 Legal Notice Information contained in this publication is provided for the sole purpose of designing with and using Microchip products. Information regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. THIS INFORMATION IS PROVIDED BY MICROCHIP “AS IS”.
ATAN0219 Quality Management System For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality. © 2020 Microchip Technology Inc.
Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: www.microchip.com/support Web Address: www.microchip.