Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
andreie
PostPosted: Mar 06, 2008 - 08:08 AM
Hangaround


Joined: Apr 12, 2005
Posts: 341
Location: Jõhvi, Estonia

Untested:
Code:

gpio_tgl_gpio_pin(OUTPUT_1);
for (;;) {
    AVR32_GPIO.port[OUTPUT_1 >> 5].ovrt = 1 << (OUTPUT_1 & 0x1F);
}
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
choafan2000
PostPosted: Mar 06, 2008 - 05:52 PM
Rookie


Joined: Nov 30, 2007
Posts: 31


andreie wrote:
Untested:
Code:

gpio_tgl_gpio_pin(OUTPUT_1);
for (;;) {
    AVR32_GPIO.port[OUTPUT_1 >> 5].ovrt = 1 << (OUTPUT_1 & 0x1F);
}

Hmm, i didnt think to approach it like this. i will try this tomorrow morning and let you know what kind of results i get. Thanks again, i really do appreciate the help.
 
 View user's profile Send private message  
Reply with quote Back to top
choafan2000
PostPosted: Mar 07, 2008 - 06:47 PM
Rookie


Joined: Nov 30, 2007
Posts: 31


This did the trick, it shows up on the oscilloscope at ~4.175MHZ. It bounces fairly severely when switching. I will need to work on making the transitions cleaner but i think this will work for what i need it for.

THANKS A TON!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits