Atmel SAM4C User Manual

Atmel SAM4C User Manual

Afe control board
Hide thumbs Also See for SAM4C:

Advertisement

Quick Links

USER GUIDE
AFE Control Board - SAM4C
Preface
AFE Control Board - SAM4C is the control board in Atmel Metering Demo Kit. The kit also
includes the daughter board: either ATM90E2x-DB or ATM90E3x-DB. The AFE Control
Board - SAM4C communicates with and controls the daughter board, providing easy
access to evaluate the energy metering chips.
Supported by the IAR integrated development platform, the AFE Control Board - SAM4C
also provides easy access to the features of the Atmel ATSAM4C and explains how to
integrate ATSAM4C in a customer design.
The AFE Control Board - SAM4C evaluation kits include an SAM-ICE debug tool and AC-
DC adapter. It also provides the extended interface for customized applications.
09/09/2013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAM4C and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel SAM4C

  • Page 1 AFE Control Board - SAM4C Preface AFE Control Board - SAM4C is the control board in Atmel Metering Demo Kit. The kit also includes the daughter board: either ATM90E2x-DB or ATM90E3x-DB. The AFE Control Board - SAM4C communicates with and controls the daughter board, providing easy access to evaluate the energy metering chips.
  • Page 2: Table Of Contents

    INTRODUCTION ....................3 ....................3 EATURES ................... 3 VERVIEW GETTING STARTED ................... 5 .................. 5 ONNECTING THE ................5 ESIGN OCUMENTATION AFE CONTROL BOARD-SAM4C ................. 6 ....................6 EBUGGER ..................6 OWER UPPLY ............6 TANDARD EADERS AND ONNECTORS 3.3.1 Power Header ................
  • Page 3: Introduction

    32kHz crystal Kit Overview The whole kit contains two boards: the AFE Control Board-SAM4C and the daughter board: either ATM90E25 or ATM90E3x demo board. The AFE Control Board-SAM4C communicates with and controls the daughter board, providing easy access to evaluate the energy metering chips.
  • Page 4 RS232 DC 9V adapter RS485 Cell Connector for AFE Extended IO daughter board JTAG Reset button Wakeup buttons Display switch button Figure 1-1 AFE Control Board-SAM4C Board Overview AFE Control Board-SAM4C [User Guide]...
  • Page 5: Getting Started

    First connect SAM-ICE to the AFE Control Board - SAM4C through the JTAG interface. Next, connect DC 9V adapter to the AFE Control Board - SAM4C, and the power indicator LED D2 will be lit. After that, launch IAR to program the software.
  • Page 6: Afe Control Board-Sam4C

    A JTAG debug port is designed on the AFE Control Board-SAM4C. Power Supply The AFE Control Board - SAM4C can be powered either by external DC 9V power source or extended connector J7. Detailed information is described in Table 3-1.
  • Page 7: Hardware User Guide

    I/O Extension Headers The AFE Control Board-SAM4C has a dual row, 20 pin, 100mil extension male header (J8). J8 offers access to the I/O of the microcontroller in order to expand the board, e.g. by connecting extensions to the board. Table 4-1 shows the pin assignment of J8.
  • Page 8 SAM4C GPIO PC2, CS (chip select of SPI of the daughter board) Input SAM4C GPIO PC4, SDI (serial data input of SPI of the daughter board) Output SAM4C GPIO PC3, SDO (serial data output of SPI of the daughter board)
  • Page 9: Peripherals

    4.2.1 Crystals The AFE Control Board-SAM4C contains two crystals that can be used as clock sources for the SAM4C device. More information about oscillator allowance and safety factor can be found in application note AVR4100. Table 4-3 External 32.768 KHz Crystal...
  • Page 10: Communication Interfaces

    Figure 4-1 Segment LCD 4.2.4 Communication Interfaces The AFE Control Board-SAM4C contains five communication interfaces. They are USB, RS485, RS232, modulation Infrared Radiation (IR) and Optical Infrared Radiation (OIR). 4.2.4.1 USB COM port J3 is the USB interface for UART communication with host. LED D4 will flicker when one byte is received, and LED D5 will flicker when one byte is sent.
  • Page 11 Figure 4-3 RS485 and RS232 COM Port Schematics Table 4-7 RS485 and RS232 COM Port Connection Pin on SAM4C Function PA10 TXD (SAM4C USART0 Tx line) RXD (SAM4C USART0 Rx line) PA15 CTS (SAM4C USART0 CTS line) PA14 RTS (SAM4C USART0 RTS line)
  • Page 12: Electrically Erasable Programmable Read-Only Memory (Eeprom)

    TXD (SAM4C USART1 TX line) RXD (SAM4C USART1 RX line) 4.2.5 Electrically Erasable Programmable Read-Only Memory (EEPROM) The AFE Control Board-SAM4C contains one EEPOM for storing data. EEPORM is U10 on the AFE Control Board-SAM4C. Table 4-9 EEPROM Definition EEPROM...
  • Page 13: Authentication

    Authentication The AFE Control Board-SAM4C contains two authentication devices to perform data encryption and decryption. The two devices are U11 and U13 on the AFE Control Board-SAM4C. Note that the two devices are optional. Table 4-11 Authentication Device Definition Authentication Device...
  • Page 14: Demo Board Schematics

    Demo Board Schematics AFE Control Board-SAM4C [User Guide]...
  • Page 15 AFE Control Board-SAM4C [User Guide]...
  • Page 16 AFE Control Board-SAM4C [User Guide]...
  • Page 17: Revision History

    Revision History Doc. Rev. Date Comments 09/09/2013 Initial release. AFE Control Board-SAM4C [User Guide]...
  • Page 18 Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products.

Table of Contents