Author |
Message |
Topic: PowerSave |
Flash
Replies: 14
Views: 1684
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 10, 2007 1:37 pm Subject: PowerSave |
Hi ,
I was tried this and work fine on my STK 500...
' IDLE mode by Flash
Wait 1
$regfile = "m128def.dat"
$crystal = 4000000
$hwstack = 32
$swstack = 10
$framesize = 40
Con ... |
Topic: RESET |
Flash
Replies: 4
Views: 327
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 05, 2007 11:53 am Subject: RESET |
Thanks all !
Flash |
Topic: RESET |
Flash
Replies: 4
Views: 327
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 05, 2007 9:49 am Subject: RESET |
Hi all,
Is it possible to reset mcu with serial data (UART) command?
(something like if received data is 100 go to reset)
Thanks in advance
Flash |
Topic: ATmega128 PEN ? |
Flash
Replies: 1
Views: 240
|
Forum: BASCOM-AVR Archive Posted: Fri Feb 23, 2007 11:20 am Subject: ATmega128 PEN ? |
Hi all,
Where is conected pin 1 PEN of ATmega128 during the SPI programming?
Is it conected on same bus like RESET (pin20) or it must be initialized by
SPI reset and decoupled from RESET pin 2 ... |
Topic: PWM tiny2313 ? |
Flash
Replies: 18
Views: 3098
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 08, 2007 11:02 am Subject: PWM tiny2313 ? |
Hi,
Here is code for PWM with ATmega128.
$regfile = "m128def.dat"
$crystal = 4000000
$baud = 9600
$hwstack = 40
$swstack = 8
$framesize = 16
Config Portb.4 = Output 'OC0
Config ... |
Topic: Timer setup |
Flash
Replies: 4
Views: 717
|
Forum: BASCOM-AVR Archive Posted: Wed Feb 07, 2007 8:47 pm Subject: Timer setup |
Hi.
Well it isn't finished yet. When I do something what can do something right
then I will post here, if someone don't post code before me.
I will use two MCU( mega128, attiny2313) and i2cslave ... |
Topic: Timer setup |
Flash
Replies: 4
Views: 717
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 30, 2007 6:47 pm Subject: Timer setup |
Problem solved no need for help |
Topic: Timer setup |
Flash
Replies: 4
Views: 717
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 30, 2007 8:48 am Subject: Timer setup |
Hi all,
Is it possible to setup timer1 (in main loop) on atmega128 to oscilate on some frequency in range between 400Hz and 1 Mhz, but it must oscilate out of main program loop, because I must use ... |
Topic: IDLE on/off |
Flash
Replies: 4
Views: 769
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 16, 2007 10:08 am Subject: IDLE on/off |
Hi,
Find error Timer=0 must be included
-//-
Timer1 = 0 ' This set's timer1 registry value to 0!
Config Portb.2 = Output
Config Pind.2 = Input
Config ... |
Topic: IDLE on/off |
Flash
Replies: 4
Views: 769
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 16, 2007 9:37 am Subject: IDLE on/off |
Hi,
I find out what to do and atmega128 wake up from IDLE (by INT2) ok, but every time when I wake up it manualy it works and it goes to sleep mode every time different. Some times it goes to IDLE ... |
Topic: IDLE on/off |
Flash
Replies: 4
Views: 769
|
Forum: BASCOM-AVR Archive Posted: Mon Jan 15, 2007 6:03 pm Subject: IDLE on/off |
Well, I will try that tomorrow.
Thanks. |
Topic: IDLE on/off |
Flash
Replies: 4
Views: 769
|
Forum: BASCOM-AVR Archive Posted: Mon Jan 15, 2007 3:12 pm Subject: IDLE on/off |
Hi,
Here is code for put atmega128 in IDLE mode (Zzzz). I works fine for now,
but I neeed and auto shut down mode (5-10 min power on). I am tried with timer but or it wake again after 20 sec. or ... |
Topic: ATmega128 & USB |
Flash
Replies: 3
Views: 675
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 04, 2007 9:17 am Subject: ATmega128 & USB |
Hi all,
Thanks for links above, but (always but...) I have few questions.
I was looked data sheet of FR232 and there is only USB to RS232
connection and direct connection to MCU(without RS232 c ... |
Topic: ATmega128 & USB |
Flash
Replies: 3
Views: 675
|
Forum: BASCOM-AVR Archive Posted: Fri Oct 13, 2006 1:09 pm Subject: ATmega128 & USB |
Hi all,
How make USB communication with ATmega128 and which USB controller (IC) to use for communicatio between MCU and PC ?
Thanks in advance,
________________
Flash |
Topic: Electronics question - buffering outputs |
Flash
Replies: 8
Views: 493
|
Forum: BASCOM-AVR Archive Posted: Fri Sep 22, 2006 10:00 pm Subject: Electronics question - buffering outputs |
You need resistor for keep current in limit for diodes. |
|