AVR32 AT32UC3C-EK Demo
description
Transcript of AVR32 AT32UC3C-EK Demo
AVR32 UC3000 IntroductionRevision 1
AVR32 AT32UC3C-EK Demo
Getting Started Guide
AVR32 AT32UC3C-EK Demo
2Revision 1
Step 1
Plug a USB A-miniB cable on USB VCP Port
AVR32 AT32UC3C-EK Demo
3Revision 1
Step 2[Only if you do not have installed the GNU
toolchain] Install the Virtual Com Port Driver
(AVR32_Virtual_Com_Port.inf)
Open an Hyperterminal (57600bps/8/none/1/none)
Check the com port number in the peripheral manager of windows
Here are the correct USART
configuration settings
at32uc3xxx_cdc.inf
AVR32 AT32UC3C-EK Demo
4Revision 1
Step 3[required to run the LIN loopback]
Connect a 12V External Power Supply
AVR32 AT32UC3C-EK Demo
5Revision 1
Step 4
Do a loopback on the LIN connectors using the 2-wire cables included in the kit
LIN Node 0LIN Node 1
AVR32 AT32UC3C-EK Demo
6Revision 1
Step 5
Do a loopback on the 2 CAN connectors using the DB9 cable provided in the kit
CAN Node 0CAN Node 1
AVR32 AT32UC3C-EK Demo
7Revision 1
Step 6
Press on Reset Button (the application should restart)
RESET
AVR32 AT32UC3C-EK Demo
8Revision 1
AT32UC3C-EK Demo
LIN
Node 0 : Node Masterlin_send_cmd(…ADC_value)
Node 1 : Node SlaveLIN_value = lin_rcv_cmd(…)
CAN
PotentiometerC code:
ADC_value = adcifa_get_value()
Node 1can_example_prepare_data_to_send (…LIN_value)
Node 0
CAN_value =
can_example_prepare_data_to_receive (…)
MICC code:
MIC_value = adcifa_get_value()
AVR32 AT32UC3C-EK Demo
9Revision 1
LIN
CAN
PotentiometerMicrophone
Use the arrow to select the menu
AVR32 AT32UC3C-EK Demo
10Revision 1
AVR32 AT32UC3C-EK Demo
11Revision 1