|
| 1 | +.. zephyr:board:: sam_e54_xpro |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +The SAM E54 Xplained Pro evaluation kit is ideal for evaluation and |
| 7 | +prototyping with the SAM E54 Cortex®-M4F processor-based |
| 8 | +microcontrollers. The kit includes Microchip’s Embedded Debugger (EDBG), |
| 9 | +which provides a full debug interface without the need for additional |
| 10 | +hardware. |
| 11 | + |
| 12 | +Hardware |
| 13 | +******** |
| 14 | + |
| 15 | +- ATSAME54P20A ARM Cortex-M4F processor at 120 MHz |
| 16 | +- 32.768 kHz crystal oscillator |
| 17 | +- 12 MHz crystal oscillator |
| 18 | +- 1024 KiB flash memory and 256 KiB of RAM |
| 19 | +- One yellow user LED |
| 20 | +- One mechanical user push button |
| 21 | +- One reset button |
| 22 | +- On-board USB based EDBG unit with serial console |
| 23 | +- One QTouch® PTC button |
| 24 | +- 32 MiB QSPI Flash |
| 25 | +- ATECC508 CryptoAuthentication™ device |
| 26 | +- AT24MAC402 serial EEPROM with EUI-48™ MAC address |
| 27 | +- Ethernet |
| 28 | + |
| 29 | + - RJ45 connector with built-in magnetics |
| 30 | + - KSZ8091RNA PHY |
| 31 | + - 10Base-T/100Base-TX IEE 802.3 compliant Ethernet transceiver |
| 32 | + |
| 33 | +- USB interface, host, and device |
| 34 | +- SD/SDIO card connector |
| 35 | + |
| 36 | +Supported Features |
| 37 | +================== |
| 38 | + |
| 39 | +.. zephyr:board-supported-hw:: |
| 40 | +
|
| 41 | +Connections and IOs |
| 42 | +=================== |
| 43 | + |
| 44 | +The `SAM E54 Xplained Pro User Guide`_ has detailed information about board connections. |
| 45 | + |
| 46 | +Programming and Debugging |
| 47 | +************************* |
| 48 | + |
| 49 | +The SAM E54 Xplained Pro features an on-board Microchip Embedded Debugger (EDBG), |
| 50 | +which provides both a standard debug interface and a virtual serial port used as the Zephyr console. |
| 51 | +SERCOM2 of the ATSAME54P20A MCU is configured as a USART for console output. |
| 52 | + |
| 53 | +Follow these steps to program and debug the board: |
| 54 | +================================================== |
| 55 | + |
| 56 | +#. Connect the board to your host machine using the debug USB port. |
| 57 | + |
| 58 | +#. Open a terminal and start a serial console on the corresponding port. |
| 59 | + On Linux, this is typically ``/dev/ttyACM0``. For example: |
| 60 | + |
| 61 | + .. code-block:: console |
| 62 | +
|
| 63 | + $ minicom -D /dev/ttyACM0 -o |
| 64 | +
|
| 65 | + The -o option tells minicom not to send the modem initialization |
| 66 | + string. Connection should be configured as follows: |
| 67 | + |
| 68 | + - Speed: 115200 |
| 69 | + - Data: 8 bits |
| 70 | + - Parity: None |
| 71 | + - Stop bits: 1 |
| 72 | + |
| 73 | +#. Build and flash the Zephyr ``hello_world`` sample application: |
| 74 | + |
| 75 | + .. zephyr-app-commands:: |
| 76 | + :zephyr-app: samples/hello_world |
| 77 | + :board: sam_e54_xpro |
| 78 | + :goals: flash |
| 79 | + :compact: |
| 80 | + |
| 81 | +#. Observe output on the terminal. If everything is set up correctly, you should see: |
| 82 | + |
| 83 | + .. code-block:: console |
| 84 | +
|
| 85 | + Hello World! same_54_xpro |
| 86 | +
|
| 87 | +References |
| 88 | +********** |
| 89 | + |
| 90 | +SAM E54 Product Page: |
| 91 | + https://www.microchip.com/en-us/product/ATSAME54P20A |
| 92 | + |
| 93 | +SAM E54 Xplained Pro evaluation kit Page: |
| 94 | + https://www.microchip.com/en-us/development-tool/ATSAME54-XPRO |
| 95 | + |
| 96 | +.. _SAM E54 Xplained Pro User Guide: |
| 97 | + https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/UserGuides/70005321A.pdf |
0 commit comments