Find Jobs
Hire Freelancers

ATXMEGA - XMEGA small program in C

$30-250 USD

Igangværende
Slået op cirka 8 år siden

$30-250 USD

Betales ved levering
Looking for a freelance that can write a small program for an ATXMEGA32A4U using the C language (Atmel Studio 7 + GCC Compiler [login to view URL]). Program tasks: a) configure pins: ======================== PB.3 = INPUT, internal pull-up ON PC.0 = INPUT, internal pull-up OFF PC.1 = OUTPUT, starts LOW PC.2 = SERIAL PORT IN: 1,5Mbps, 8N1 PC.3 = INPUT, internal pull-up ON PC.4 = OUTPUT, starts LOW PC.5 = INPUT, internal pull-up ON PC.6 = INPUT, internal pull-up ON PC.7 = OUTPUT, starts LOW Reference: * Ports, Pins, Pull-up: [login to view URL] * USART setup: [login to view URL] b) set the clock source: ======================== verify if pin PB.3 is HIGH then * configure the clock source as "Crystal" (8Mhz) and the PLL as 4x (resulting in 32Mhz to the CPU) * configure PC.4 as clock output (8Mhz) if PB.3 is LOW then * configure the clock source as "External clock, on XTAL 1 pin" (8Mhz) and the PLL as 4x (resulting in 32Mhz to the CPU) Reference: * AVR XMEGA Clock: [login to view URL] * Clock output: [login to view URL] Page 55, PORT C Alternate functions c) main task (in looping): ========================== c.1) Configure the DMA to store each byte received on a buffer, the buffer size must be 3072 bytes and start the DMA channel; c.2) Wait until PC.0 goes HIGH; (a simple WHILE here); c.3) Set PC.1 as LOW; c.4) Wait 20ms; c.5) Set PC.1 as HIGH; c.6) Goto "c.1". Reference: * XMEGA DMA: [login to view URL]
Projekt-ID: 10022082

Om projektet

2 forslag
Projekt på afstand
Aktiv 8 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
2 freelancere byder i gennemsnit $189 USD på dette job
Brug Avatar.
Hi, Again feel good to see project with Atmel Controller. Actually i had worked with Atxmega256a3u controller. And i had very good knowledge of Atmel chips. And main thing is i had also available equipment like JTAG Debugger which can be use with his chip. But problem is with hardware of the controller which you mentioned. Are you going to use development kit from Atmel Corporation or you had developed your own PCB? Based on your description i cn understand like you want to send pulse of 20ms based on timer. But what is use of DMA UART in this application. Can you elaborate it, so i can clear my mind. By the way, it can be developed within 3 days but i can also lock the code by lock byte and fuse byte so no one can hack your device. And for this i will need your hardware, I mean development kit so it can be done within your requirement days. Let me know your thoughts. Thanks, Kalpesh Ramani.
$155 USD på 6 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
if you want the organized and well documented code (may be along with simulation) please hire me.
$222 USD på 5 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for BRAZIL
Blumenau, Brazil
5,0
42
Medlem siden jul. 27, 2012

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.