Various : Help to find multiplexer IC : NEWTOPIC
Hello all, I am looking for a multiplexer IC that would do both input and output for the selected pin. I am trying to make it clear. With multiplexer IC I can choose between 8 different inputs and...
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
Thanks, Ian. One question: how do you know which registers you need to push and pop in the interrupt routine ? Nard
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
[quote:12fee5446d="Plons"]Thanks, Ian. One question: how do you know which registers you need to push and pop in the interrupt routine ? Nard[/quote:12fee5446d] I just run the code in the Simulator,...
View ArticleBASCOM-AVR : Input -> parsing string : REPLY
@albertsm: As I wanted to keep default config input setting (CR) because of trouble with different applications, I solved problem just by adding: [code:1:2b71814f6d] waitms 100 clear...
View ArticleVarious : Problem with USB-ISP programmer and Mega644 : REPLY
Finally found it .... yep .... my mistake. I use 1 ohm resistors as bridges on the circuit board and one was used for the reset of the programmer to the Mega644. But I placed a resistor of 1k .......
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
@ Plons: Thanks for the beers. @ Ian: Manual register push/pop for BASCOM statments is potential dangerous. It is OK to do it in a specific situation, knowing that the code will never be reused and...
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
HI laborratte, I know, I've debugged Register overwrite Problems and it's a pain in the butt. I just copied/pasted the code from my application without thinking about editing it. The code has been...
View ArticleBASCOM-AVR : need help for simple clock application with backup : NEWTOPIC
I would like to build a simple clock but with ext crystal 32768 and also with backup battery or capacitor in case who main power failed. I will use mega 168p I have read the help file and some...
View ArticleBASCOM-AVR : need help for simple clock application with backup : REPLY
Hi Try the search funktion. Search for PCF8583 , DS1307 , DS1302 These realtimeclocks is quite easy to use. Fixmann
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
laborratte wrote:[quote:8179efe6a8]Debugging a "register unintended changed by isr" error is a nightmare...[/quote:8179efe6a8]O yeah, .... took days ! Unexpected behaviour that is not consistent .......
View ArticleBASCOM-AVR : need help for simple clock application with backup : REPLY
Hello petros047 Aplication note AN #196 is exactly what you want but it uses a pre-made module with a Mega8 to which you add a real time clock module RX8025, infra-red receiver and remote control. You...
View ArticleBASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY
Hi, I normaly let the Compiler push/Pop all Registers unless it ISR is time critical, In this case when I speced the Project I came to about 8-10K code so I went with a 16K flash CPU (mega162). During...
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : NEWTOPIC
Hi, This is a nasty bit blockage that I have struggled with a couple of days. Running an XMEGA128D3 on external 16MHz crystal is enabled by XOSCEN in the OSC_CTRL register. XOSCCTRL need also be set...
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
afaik the system clock register are protected. Did you used the correct CCP-register unlock procedure? You should use assembler because of the limited access time after CCP unlock...
View ArticleBASCOM-AVR : atmega128 problem : NEWTOPIC
a simple program (all ports output,will be high and low with 1 second interval) doesn't work at all.Any sign of life from atmega128.The same program written and compiled with C works out.The fuses...
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
Hi laboratte, Interesting! So in that case the datasheet is wrong as far as I can see. Cut from datasheet:XMEGA-D 678210EAVR04/2013 "Bit 3 XOSCEN: External Oscillator Enable Setting this bit...
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
Here is another example of manually setting up the Xmega clock, triggering the Change Protection Register, and watching for the clock source to be ready: [code:1:a01d67f181] Clockopt5: 'Set up the...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
Have a look at this and see if it helps get you started. It was an LED flasher for a board I modified. I have removed most of the comments and just the code appears. You can change the micro...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
Here is an LED flasher to test out a board I have. You can modify the micro used, and the clock frequency used. See if this will help to get you started. Begin with just setting and resetting one...
View ArticleBASCOM-AVR : Overlay bitfield works only for $60 address. Bug? : NEWTOPIC
Hi, Bascom-AVR 2.0.7.6 Program tested on bascom simulator: [code:1:ccd8d95332]$sim $regfile = "m8def.dat" $swstack = 40 $hwstack = 32 $framesize = 32 Dim Byte1 As Byte At $60 Overlay Dim Bit1_1 As Bit...
View Article