does anyone have code to drive a futaba servo? i have experience with AVR's but not with AvrX or any other RTOS. working code or a step by step of how to set...
This isn't an RTOS problem. There are many ways to do what you want to do. The simplest would be a routine that sets a pin high, spins for a variable amount...
I plan to expand the Fifo routines to accomodate arrays such that I can for example effectively have a buffer of CAN data packets. In reading the Fifo code, I...
Hi, ... The compiler doesn't do bounds checking. As long as the buffer is allocated large enough, then everything works. More recent versions of the compiler...
... I would say you (the OP, sorry I'm replying to the later message) are correct -- the buf[1] is wrong. Where did this come from ? This looks close to...
It comes from the 2.6g AVRX release from the files area. Actually, speaking of the BuffSerial routines, I noticed that there is a context switch for each byte...
... Take a look at it again, I don't think it does a context switch for each byte sent (or received for that matter). It is setting the semiphore for each byte...
From the interrupt routine, there is a Prolog/Epilog section around sending one byte: ...but I could be missing something....maybe if the interrupt gets...
... It could be inturrpted by anything. I tend to put them in my default however, I'll have to defer to someone who knows more than I (Larry ?) as to if they...
Prolog and epilog are safe with regard to re-entering. You are right, however, if the interrupt rate is greater than what can be processed, the kernel stack...
I haven't counted the cycles for a long time, but switching from task to kernel is about 150 cycles and switching back to a task is around 100 cycles. It is...
...any chance you could post those up in the files section? Otherwise, could you send me a copy? I'd like to use that method to guarantee that I don't miss...
There isn't much to post. Just take Epilog/Prologue and insert a few lines of assembly to disable/enable the AvrX interrupts (those you assign) instead of a...
Thanks! It still helps as I'm not used to programming in assembly. ... few lines ... assign) instead ... old so ... (Timer0 and ... Behalf Of ... to ... while...
We are in need of a code writer designer for a radio remote project using two proportional 0-5v joysticks and several toggle switches. Reciever Output side...
On the surface this appeared correct, but when I plug in actual numbers things don't equal. Example: Suppose we have a 9.683040MHz CPUCLK, a DIV64 prescaler,...
Not all clock frequencies are evenly divisible by a power of 2. The timer code that comes with the AvrX samples is very old and primitive. There are better...
... timer ... There are ... processors. You ... Apologies in advance but I can't see the logical connection to my post and this one. I'm still trying to...
Sorry if I misunderstood your original post. An 8mhz processor will burn about 20% of it's time handling a 10khz tick rate. It is a typical engineering...
hi all I'm New in using AVRX. I'm using AVRStudio V4.12, i use AVR GCC projects. how can use AVRX??? Please Help. what files i have to include?? could any one...
... The current version has a makefile for the avr-gcc tool chain. There are also example files. There is also a lot of documentation on the web site:...
Hi all, H have tried to use the avrx with the Mega2560 or 2561 but the µC retarts while calling the Function "AvrXSetKernelStack(0)". One reason may be that...
hello everyone, i hav just started working on embedded os , mainly on atmel ATmega series.I tried my hand at many oses..but Avrx suited my requirements the...
The file "Timers.c" that can be found in the Examples directory shows how to run two tasks each flashing an LED. The samples should compile and run on a mega32...
Hello friends!! I'm searching for a RF module to comunicate my Atmega128 microcontroller with one PC. I want to send sensor's data to the PC via wireless. In...
Yes, I have. The MaxStream (Digi) XBee and XBeePro (60mW rather than 1mW transmitter) are excellent. Super simple. If you don’t need meshing you can omit the...
I use the xbee module in a project. They are very simple to use. If you just want point to point communications, purchase two modules and apply power. Done....
In addition to PC Board mount modules, they sell in-a-box products – like a little box with an XBeePro inside and a USB connector. I’ve used that. It’s ...