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.
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]...
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.
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.
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)
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...
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)
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...
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...
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.
Need help?
Do you have a question about the SAM4C and is the answer not in the manual?
Questions and answers