Tag Archives: Atmel Studio 6.2

Introducing the next-generation of 8-bit megaAVR MCUs

Since its initial launch in 2002, megaAVR microcontrollers (MCUs) have become the go-to choice of Makers everywhere. Ranging from the uber-popular ATmega328 to ATmega32U4, the chips can be found at the heart of millions of gadgets and gizmos, including an entire lineup of Arduino boards, 3D printers like RepRap and MakerBot, and innovative DIY platforms such as littleBits, Bare Conductive and MaKey MaKey. Heck, they’ve even captured the hearts of celebrity creator Sir Mix-A-Lot!

avr_campaign_simplyavr_980x352

Designed for engineers of all levels from the professional developers to the Maker community, the 8-bit megaAVR MCUs are ideal for applications in a variety of markets — automotive, industrial, consumer and white goods.

Today, we are excited to announce the next generation of this incredibly-popular family, with the debut of new 8-bit megaAVR MCUs. Spanning from 4KB to 16KB Flash memory, the new devices provide next-generation enhancements including additional analog functionality and features for the latest low-power consumer, industrial, white goods and Internet of Things (IoT) applications.

IMG_5056

This expansion of megaAVR family will deliver all the benefits of previous generations including a simple, easy-to-use interface for a seamless upgrade and binary compatibility with existing 8-bit megaAVR MCUs.

“With over 20 years of MCU experience, we are proud to launch our third generation of 8-bit megaAVR MCUs to the market today—a family that has been highly recognized by a variety of communities from the professional designers using our Atmel Studio ecosystem to the hobbyist and Maker in the AVR Freaks and Arduino communities,” explained Oyvind Strom, Atmel Senior Marketing Director. “As the leader in the 8-bit MCU market, Atmel continues to add easy-to-use, innovative products to our broad portfolio of MCUs.”

IMG_5058

Key features of megaAVR MCUs include:

  • Simple, easy-to-use
  • Low power
  • Wide selection of development tools including free Atmel Studio IDE
  • Extensive set of peripherals, including ADC, Analog Comparator, SPI, I2C and USART
  • Single-cycle instructions running 1MIPS per MHz
  • Designed for high-level languages with minimal code space
  • Real-time performance with single cycle I/O access

Among a number of other new attributes:

  • Unique ID for every device enabling a more secure device for IoT applications and wireless networks
  • Improved accuracy of internal oscillators for UART serial communications
  • Enhanced accuracy of internal voltage reference for better analog-to-digital conversion results

IMG_5059

Makers seeking to accelerate their design are encouraged to check out our ultra-low cost Xplained Mini development platform, which is currently available for only $8.88 USD (see what we did there?) in the Atmel Store and fully compatible with 8-bit megaAVR MCUs. The new boards can easily be connected to any Arduino board making it ideal for a variety of projects and prototypes using an Arduino board.

The megaAVR 8-bit MCUs are fully supported by Atmel’s development eco-system including Atmel Studio 6.2, the integrated development environment (IDE) for developing and debugging Atmel | SMART Cortex-M and Atmel AVR MCU-based applications. Atmel Studio 6.2 gives designers a seamless and easy-to-use environment to write, build, simulate, program and debug their applications to write, build, simulate, program and debug your applications written in C/C++ or assembly code using the integrated GCC compiler and AVR assembler. With Atmel’s broad portfolio of AVR products and easy-to-use development software, designers can quickly bring their 8-bit MCU to market. Additionally, designers have access to the company’s embedded software including the Atmel Software Framework and application notes, and the Atmel Gallery app store.

Currently on display at Electronica 2014, the Atmel mega168PB, mega88PB and mega48PB are now available in 32-pin QFN and QFP packages with additional devices slated for later this year. All devices are sampling now. Production quantities for the mega168PB devices are available now while the mega88PB and ATmega48PB devices will be available in February 2015.

Want to explore the AVR microcontrollers a bit further? Head on over to the official page. Those wishing to learn more about the backstory and inspiration of the Maker Movement’s favorite 8-bit MCU can do so from the co-inventor himself here.

Accelerate your evaluation of Atmel 802.15.4 wireless solutions from your desktop

You have probably come across this scenario before: Management or the marketing department approaches you asking you to add wireless functionality to an existing product, or to develop a new product that needs to be able to support a wireless link. Today, there are many wireless technologies and options to consider.

It is also quite possible that marketing has already made part of that decision for you.

The marketing requirement may stipulate that you use Wi-Fi, Zigbee, 6lowpan or Bluetooth low energy (BLE). Or, maybe marketing has no idea what is required, and just tells you to implement a wireless link!

So, after a number of meetings and conference calls, you decide to use a solution that is based upon 802.15.4. This could include Zigbee, 6lowpan, Wireless HART, ISA100.11a, Openwsn, Lwmesh, among many other wireless stack solutions that all require an 802.15.4 compliant transceiver.

At this point you would need to decide if your solution, or the protocol you’ve selected, will operate in the 2.4 GHz band or in a SubGhz band. There are times when you will need to do some experimentation or RF performance evaluations to determine which RF band to use in your particular situation.

When evaluating Atmel 802.15.4 wireless solutions, the first tool you should turn to is Wireless Composer. Provided as an extension to Atmel Studio 6.x, the Wireless Composer is a free tool. In order to make it simple, each of the current Atmel 802.15.4 evaluation kits/platforms comes with a Performance Analyzer firmware application pre programmed into the kit. Running on the evaluation kit, this Performance Analyzer firmware is designed to communicate with both the Atmel Studio and Wireless Composer extension.

Some of the capabilities of Wireless Composer include:

  • PER (Packet Error Rate) Testing: Transmit and receive 1000’s of frames at a specific TX power level and RF channel and then review the results for errors (dropped bits/frames) while also evaluating throughput metrics.
  • CW Test Modes: Place a device in a Continuous test mode to monitor emissions with a spectrum analyzer or other RF test equipment
  • Antenna Evaluation: Provide a Large Digital Display to allow testing antenna radiation pattern’s at distances of up to around 3 meters from the device connected to the laptop PC.
  • Range Testing: Gather and log range data generated from a  wireless link set up between two nodes — this data includes RSSI (ED signal strength) and LQI (signal quality) from both sides of the RF link.

Here are a few additional example screen captures, available from within Wireless Composer.

Energy Detection Scan Mode:

Energy Detection Scan

Screenshot of Wireless Composer, an extension of Atmel Studio 6.x – Energy Detection Scan

Have you ever wanted to set up some RF tests and wanted to know if there were other transmissions already taking place on the channel you intended to test on ?  Maybe your colleagues  are performing tests in another section of the lab or building, or maybe at home you have Wi-Fi or Bluetooth or home automation devices operating in close proximity to where you want to run some experiments.  The ED scan mode, as shown here, allows you to get a quick glimpse of what RF activity is happening around you. You can do a one time scan or you can configure the test to continuously scan one or all channels and repeat this until you stop the test.

PER Test:

A common RF test to perform on a packet based wireless communication system is a PER (Packet Error Rate) test.

This test mode allows you to configure operation on a particular channel, at a specific TX power level, using a selected antenna option. You are then provided the ability to set the number of bytes to send in a transmitted frame, and to set how many frames you are going to send during the test. All of these parameters are configured in the left hand Transceiver Properties Pane, as shown in the capture below. Once the test is performed, the right hand window provides data regarding the results of the test.

This can be useful for confirming RX sensitivity parameters, and data throughput characteristics under different conditions. Here is an example of sending 1000 frames and achieving zero errors using a frame length of 20 bytes.

Packet Error Rate test mode

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Packet Error Rate test mode

 

Continuous Transmission Test Mode:

If you have attempted to develop a wireless RF product before, you know that a considerable amount of time will be spent performing regulatory pre – scan certification testing. This typically involves configuring your device to transmit a continuous wave RF emission on a particular RF channel using a specified amount of Transmit power. The RF emissions are monitored using a spectrum analyzer or other RF test equipment. To help save time and provide a useful tool, Wireless Composer provides a Continuous Transmission Tab that allows selection of a few different tests of this type.

In the example shown below, an unmodulated CW test transmission has been started on channel 16 using a TX power level of +4dBm. These are no results reported here, because all measurement results would come from observing the RF test equipment that monitors the RF emissions.

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 -  Continuous Wave test mode

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Continuous Wave test mode

 

Antenna Evaluation Range Test Numerical Display:

For any wireless product, the antenna is one of the most important sections of the design. A great radio with a poor antenna results in poor product performance, while a mediocre radio with a great antenna can end up with very good performance. So, one of the tasks for any wireless product developer is to understand the characteristics and performance of his antenna design. This may be some type of on board antenna like a ceramic chip antenna, or a pcb trace antenna, or it just may be connecting an external antenna to an RF connector mounted on the product’s pcb. Many on board antenna designs are shortened quite a bit to reduce the footprint or space required by the antenna. This usually will affect the performance of the antenna in a negative way, or at a minimum create directivity to the antenna’s radiation pattern. A nice capability of Wireless Composer is the ability to allow you  to place the device connected to the PC, running Wireless Composer, on a table or tripod at a specific height above the floor in an open indoor or outdoor area. Then, in the range test tab within Wireless Composer, select “Numerical “ as the display mode. This will then display a screen as shown below.

One would then take a battery operated mobile node about three meters away from the PC display and watch the values being displayed for ED/RSSI and LQI change as you rotate or change the orientation of the antenna with respect to the unit at the other end of the link. This display shows the LQI and ED/RSSI values at both ends of the link and can be used to examine any changes in antenna pattern, as the device orientation is changed. Knowing what orientation provides the best signal levels will later help you understand how to position the unit when mounting it at its final location. You will also acquire information on how to set up additional range tests where you could be up to one mile away, and all you have is a blinking led to indicate whether or not you still have communications with the unit under test.

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 - Range Test Numerical Display

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Range Test Numerical Display

 

Range Test Log With Multiple Markers (Push Button Marker Recording):

Wireless Composer also has a range test mode for logging signal level and quality to a PC display or to an Excel file, as shown in the screen capture below.

When two paired devices are configured in this range test mode, the unit connected to the PC will periodically (about every two seconds to conserve battery life) send a beacon type frame to the mobile unit, at which point the mobile unit will send back a reply to the logging device. This activity can also be seen in the screen capture below.

The LQI and ED (average RSSI) levels for each side of the wireless link are recorded with a time stamp to an Excel file.

Have you ever tried to do an RF range test by yourself? If you have, then you know that it sometimes can be difficult to set up a test, such that you can leave one node at a fixed location and take the other battery operated mobile unit to various locations where you want to gather signal level and link quality information.

This is especially true when your simple wireless device lacks any type of user interface, or display attached to it, as in the case of a wireless sensor, or an simple evaluation board. This becomes even more difficult if you are doing LOS (line of sight) measurements outdoors. The performance analyzer app only assumes you have access to two IO pins — one is typically an input for a push button or jumper, while the other is an output for an LED.

Outdoor LOS measurements may allow you to achieve distances of hundreds of meters, as well as one or more miles in the SubGhz RF bands.

To make this measurement task a lot easier, the performance analyzer app has the ability to enable you to press a button on the battery operated portable unit that you have in your hand, and have this RF device send an RF frame back to the unit connected to the PC that is doing the logging; as a result, that marker frame is recorded into the log, allowing you to place marker indicators for time and place in the log file. This will enable you to determine where you have been when you return to review the log data.

For instance, you could press the button once while at a specific location in room A, and then press it twice in for a location in room B. Or, if you are outdoors you could press the button and insert markers at various distances as you move away from the logging unit. Then, all you would have to write on your notepad while doing the test would be the name of your location (or the distance at which you were away from the logging unit) and the number of times you pressed the button at that location.

Upon your return to examine the recorded log, you’ll have all of the necessary information to understand the recorded results, including where in space and time the measurements were made.

See the example below:

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 -  - Recorded Logs

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – – Recorded Logs

 

For each of the supported wireless platforms, Atmel Studio contains complete example projects with source files for the performance analyzer application. When you are finished making measurements on an Atmel evaluation board that you used to help make device selection or RF band selection decisions, you can then use this same application with possibly some minor modifications to support your own final hardware design with regards to the IO assignments for a push button or led. This performance analyzer application along with Wireless Composer have proven to be very useful when performing tests on first prototype boards, and even for use in performing FCC or other governmental regulation pre-scan testing.

Interested in learning more? You can access Wireless Composer here and Atmel Studio here.

 

 

Atmel looks back at Q1 2014 wins and launches

Yesterday, Atmel execs detailed the company’s Q1 2014 highlights. Key launches, collaborative projects and product wins spanned multiple markets, including:

Winning with maXTouch (smartphones) – LG’s G Pro 2, G2 Mini and L Series 3 L90; Verizon’s Lucid 3, Xiaomi’s RedRice 5.5″, Gionee’s Elife S5.5 and ZTE’s Grand S Lite.

Winning with maXTouch (Android and Windows 8 tablets) – Samsung’s Galaxy Tab 4 10.1,” Galaxy Tab 12.2,” Galaxy Note 12.2″ and HP’s EliteBook 1000 G2.

Collaborating with Corning – Developing ultra-thin, next-generation capacitive touchscreens using Gorilla Glass and XSense.

Working with Mentor GraphicsAccelerating development of next-gen IoT devices using Atmel’s ARM-based Cortex M3 and M4 based microcontrollers under the auspices of the Embedded Nucleus Innovate Program.

Launching maXTouch 1066T and 1068T – Extending product leadership in the large screen capacitive touch market with devices targeted at 7″ – 8.9″ high performance tablets.

Introducing the new automotive maXTouch S lineup – Targeting touchscreens up to 14″ in center consoles, navigation systems, radio interfaces and rear-seat entertainment systems.

Debuting the SmartConnect platform – Integrating Atmel’s ultra-low power microcontrollers (MCUs) and wireless connectivity solutions into turnkey solutions for the Internet of Things (IoT).

Introducing new low-power ARM Cortex M0+ microcontrollers (SAM D21, D10 and D11) – Offering Atmel’s peripheral event system, support for capacitive touch button, slider and wheel user interfaces, multiple serial communications modules, along with a full-speed USB interface, as well as additional pin and memory combinations.

Unveiling new $79 SAMA5D3 Xplained evaluation kit – Providing a low-cost, fast prototyping and evaluation platform for microprocessor-based design built around Atmel’s SAMA5D3 ARM Cortex-A5 processor-based MPU.

Xplaining 8-bit development– Offering a development board for Makers and engineers based on Atmel’s 8-bit AVR technology.

Launching the ATPL230A – Introducing a Power Line Communications (PLC) modem designed to implement the physical layer of the PRIME standard (Power Line Intelligent Metrology Evolution).

Rolling out Atmel Studio 6.2 – Upgrading the popular integrated development environment for Atmel AVR and ARM based microcontrollers.

Ramping up with LIN – Extending Atmel’s automotive in-vehicle networking leadership position with the launch of next-generation, low-power local interconnect networking (LIN) systems.

New AVR devices bolster Atmel’s MCU lineup



Atmel has confirmed that it will be launching 6 new 4k-16k Flash devices in its flagship AVR Mega MCU family during the second quarter of 2014.

“With over two decades of MCU experience and leadership, Atmel is investing in innovative technologies and ideas to enable product differentiation for 8- and 32-bit embedded MCU designers,” said Reza Kazerounian, Senior Vice President and General Manager, Microcontroller Business Unit, Atmel Corporation

.

“[We] deliver highly sophisticated, yet easy-to-use 8-bit AVR MCUs allowing everyone from professionals, hobbyists, students and makers to develop embedded designs that could lead to the next ‘killer app’ in the dawn of the Internet of Things (IoT).”

As Reza notes, Atmel has a long tradition of investing in the Maker community, with the vast majority of Arduino boards on the market powered by Atmel’s versatile AVR MCUs.

“As a leader in microcontrollers, we are committed to providing differentiated MCUs that are easily accessible and easy-to-use for all communities,” Reza explained.

“With over 200,000 loyalists in our AVR Freaks community and 1.2 million Arduino development boards in the Maker community, our AVRs have definitely made a significant impact in today’s Maker and hobbyist circles. With over 65,000 active users in our Studio 6 integrated development environment, we are making it easier for all designers to access our tools.”

The new AVR MCUs – manufactured using advanced 130-nm CMOS technology – will be fully supported by Atmel Studio 6.2, the integrated development platform for developing and debugging Atmel ARM Cortex-M and AVR MCU-based applications.

“The new devices will deliver a unique combination of performance, power efficiency and design flexibility. Optimized to expedite time-to-market, they are based on the industry’s most code-efficient architecture for C and assembly programming,” Reza added.

“[Our] extensive AVR portfolio, combined with the seamlessly integrated Atmel Studio development platform, makes it easy to reuse knowledge when improving designers’ products and expanding to new markets.”

Interested in learning more about AVR? You can check out our comprehensive device breakdown here.