AT32UC3C0512C STARTUP GUIDE BASIC NEEDED.

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, I have AT32UC3C0512C microcontroller. i want to start with basic LED blinking and Port READ/ WRITE program.

 

I am totally new to UC3, 32 bit AVR microcontroller. i am looking for a help in following things.

 

1) Basic oscillator circuit.

2) How to LOAD program and which tool and additional circuit i need to load the code.

3) Basic code for LED blinking and PORT READ/WRITE. 

4) any other additional circuit needed to operate the microcontroller. 

5) is there any additional circuit needed to LOAD the code into Microcontroller.

can i use atmel studio 5 to design a code. 

 

Thanks in advance.

 

 

 

Regards:
EJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

You have the chip only, not any dev kit? I prefer getting a dev kit first so I don't need to (or shouldn't need to) worry about H/W problems before getting the software to some sort of a working state.

 

Several examples are available in ASF. Just click New > Example Project in Atmel Studio 7, and enter UC3C in the search box to see compatible ones only. They work pretty much out-of-the-box on the UC3C-EK dev board at least.

 

I use Atmel ICE for flashing and debugging. It's one of the cheaper options but works just fine.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EJ LEDs wrote:
I am totally new to UC3, 32 bit AVR microcontroller

 

Any specific reason for choosing this chip - particularly in the light of: http://www.avrfreaks.net/comment...

 

Anyhow, as Handsome Jack suggested, for any microcontroller it really is the best idea to start with a proper development board or kit.

 

Once you have gained some basic experience with the kit, then - and only then - move on to creating your own boards.

 

Some beginner's getting started tips here: http://www.avrfreaks.net/comment...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Typically, chip manufacturers have a Product Page on their website where they collect together all the support materials for a particular product (or family).

 

The easiest way to find it is usually just to put the part number into Google.

 

For the AT32UC3C0512C, that gets us to:

 

http://www.microchip.com/wwwprod...

 

Where you will see:

 

  • Datasheet
  • Documentation - which includes a huge list of Application Notes, Quick Start Guides, etc
  • Development tools
  • etc

 

You should find answers to all your questions in there.

 

This should be your first port of call when starting with any new chip.

 

#ProductPage

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i want to develop my own borad. so i do not want to buy any ready made dev board.

 

i am new to AVR32 controller it does not mean i am new to Hardware and other controller. i am working in Analog field and have developed several boards.

 

i worked on 8051, and AVR 8 bit microcontroller. 

 

i am looking for a help. if anyone has done it in past kindly answer my problems.

 

1) Basic oscillator circuit.

2) How to LOAD program and which tool and additional circuit i need to load the code.

3) Basic code for LED blinking and PORT READ/WRITE. 

4) any other additional circuit needed to operate the microcontroller. 

5) is there any additional circuit needed to LOAD the code into Microcontroller.

can i use atmel studio 5 to design a code. 

 

Thanks in advance.

 

 

Regards:
EJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Datasheet does not solve all problems, there are many Practical aspects. only person with great experience and failure can understand it.

 

for example in datasheet i could not found how to do In system programming without using programmer like AVR dragon  etc... Crystal oscillator basic circuit shown but the value i fouiund is maximum 16 Mhz. how to work it for 50 MHz. is it through PLL or External. ?? What are the values for decoupling and series resistor if i am using any port pins.

 

I thought i might get something else than datasheet based on the experience of forum people. but i failed wrong.

Regards:
EJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Again, there is a lot more than just the datasheet on the Product Page.

 

There are many Application Notes - they should answer your questions.

 

eg,

 

AN_8128 - AVR186: Best practices for the PCB layout of Oscillators

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Page not found

 

 

We're sorry! The page is not available. Please visit the Home page.

Regards:
EJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm ... it works for me!

 

Is that from clicking the link in my post above, or direct from the Product Page ?

 

(both work for me)

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

no not working. anyway can u tell me how to do ISP for UC3 or which programmer works well i have atmel studio 7 can i use AVRISP MKII programmer or AVR JTAG ICE PROGRAMMER & DEBUGGER USB.

 

can i attached 40 Mhz crystal externally as shown  in datasheet. in datasheet it showws 66 Mhz Clock frequency.

Regards:
EJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AFAIK, both AVR ISP mk II (for AVR8 only) and AVR JTAG ICE (for AVR8 and AVR32) have been discontinued and replaced by Atmel ICE http://www.atmel.com/tools/atatm.... But if you can still find an AVR JTAG ICE, it works fine, too.

 

The product page http://www.microchip.com/wwwprod... works fine for me. There's a huge pile of documentation there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The link Andy gave...

 

http://www.microchip.com//wwwApp...

 

works here. (Firefox).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just tried the links again, and got "page not found" twice - but it worked on the 3rd try (Chrome).