background image

Note: 

 For detailed information about the kit such as headers and connections, refer to ATmega324PB

Xplained Pro User Guide.

1.4. 

Atmel Studio

1.4.1. 

Atmel Studio Webpage

The Atmel Studio installer (free IDE) is available at:

http://www.atmel.com/tools/ATMELSTUDIO.aspx

1.4.2. 

Atmel Studio Microsite

To learn more about Atmel Studio, refer to the following microsite:

http://www.atmel.com/microsite/atmel-studio/

Figure 1-3. Atmel Studio Microsite Webpage

In the 

Videos

 tab the getting started videos such as creating a new C (GCC) project, debugging AVR

applications, debugging ARM

®

 applications, etc. are available.

http://www.atmel.com/Microsite/atmel-studio/videos.aspx

1.5. 

Connecting the ATmega324PB Xplained Pro kit

This section helps the user to connect the ATmega324PB Xplained Pro with the Atmel Studio 7.

1.

Download and install 

Atmel Studio 7

 or later versions.

2.

Launch the Atmel Studio.

3.

Connect the ATmega324PB Xplained Pro to the USB port.It will be visible in the Atmel Studio.

Atmel AT06621: Getting Started with Atmel ATmega324PB [APPLICATION NOTE]

Atmel-42626A-Getting-Started-with-Atmel-ATmega324PB_AT06621_Application Note-03/2016

7

Summary of Contents for ATmega324PB

Page 1: ...microcontroller Features Getting started with the ATmega324PB microcontroller and tools Getting started with Atmel ATmega324PB Xplained Pro Kit and Atmel Studio 7 This application note contains a list...

Page 2: ...io Microsite 7 1 5 Connecting the ATmega324PB Xplained Pro kit 7 1 5 1 Auto Board Identification of Xplained Pro Kit 8 1 5 2 Connect the ATmega324PB Xplained Pro UART to the EDBG COM Port 9 2 Creating...

Page 3: ...er Short interrupt latency four clock cycles Factory calibrated internal RC oscillator Security with fuses and lock bits Atmel QTouch Library support Compatibility between devices portability Peripher...

Page 4: ...the device such as Key Parameters Datasheet link to buy the device etc http www atmel com devices ATMEGA324PB aspx tab overview The Parameters tab provides the details of various configuration paramet...

Page 5: ...ts associated firmware if available The Applications tab provides the recommended application areas not limited to for this device http www atmel com devices ATMEGA324PB aspx tab applications The Tool...

Page 6: ...t related documents such as schematics and user guides http www atmel com tools ATMEGA324PB XPRO aspx tab documents Atmel AT06621 Getting Started with Atmel ATmega324PB APPLICATION NOTE Atmel 42626A G...

Page 7: ...getting started videos such as creating a new C GCC project debugging AVR applications debugging ARM applications etc are available http www atmel com Microsite atmel studio videos aspx 1 5 Connectin...

Page 8: ...ce Manager as displayed in the following screenshot Figure 1 5 Successful EDBG Driver Installation Open Atmel Studio Go to View Available Atmel Tools The EDBG should be listed in the tools as EDBG and...

Page 9: ...Device Manager to find the COM port number 3 Default COM port settings are 9600 baud N 8 1 The COM port settings can be changed by using the Device Manager Atmel AT06621 Getting Started with Atmel ATm...

Page 10: ...roject and click OK to get the Device Selection wizard Figure 2 2 New Project Wizard 3 The Device Selection wizard appears as shown in the following image Select the ATmega324PB device from megaAVR de...

Page 11: ...T has three registers DDRx PORTx and PINx The DDRx register is used to configure the port pin direction 1 Output 0 Input ATmega324PB Xplained Pro kit does not have pull ups connected and hence interna...

Page 12: ...Tool as EDBG and Interface as JTAG Figure 2 5 Tool and Interface Settings 8 To program and execute the application there are two options Start a debug session on the board where the user will be able...

Page 13: ...tion for various products http www atmel com webdoc Atmel Gallery https gallery atmel com Production Selection Guide Atmel MCU Selector on http www atmel com Ordering Samples and Buying evaluation boa...

Page 14: ...Doc Rev Date Comments 42626A 03 2016 Initial document release Atmel AT06621 Getting Started with Atmel ATmega324PB APPLICATION NOTE Atmel 42626A Getting Started with Atmel ATmega324PB_AT06621_Applicat...

Page 15: ...ROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representa...

Reviews: