Simon Kirby
Simon Kirby
Hello! You could, but the commutation period's precision requirement is quite exponential, so a straight pulse length may be difficult. If this isn't a problem, there's already code that outputs...
You mean the UART input protocol? It's based on the UART support in Quax' tree. Did you read the comments above? The host is expected to broadcast a sequence of...
Hello! The only oddity with my implementation is probably that it still requires an arming phase, and it works similar to pulses (there is a relatively short timeout and you...
Here's a hack I used for testing (on Linux): ``` C #include #include #include #include #include #include #include #include #include #include int main(int argc,char *argv[]) { struct termios portSettings; int...
Hello! Hmm, interesting work you've done there! My first reaction is: hmm, couldn't you have just used the edge that MOTOR_DEBUG already provides on the MOSI pin and done the...
Ah, I noticed the SS pin issue as well just the other day. It is necessary when not in SPI master mode, and the direction is overridden to input when...
Hello again! I just checked your latest tree and noticed an issue. You are trying to increment com_count_l/h atomically, but the INT0S interrupt could come anywhere in the read/increment/write instructions....
"cli" can be later -- before the first "sts" -- if the one instance is the only updater. Yes, assuming the interrupt itself does not re-enable interrupts, it can be...
Hello! Yes, it is. If you have a USBASP or AVRISP attached or something, it will just ignore these (the pins are tristated until programming is attempted, and they are...
Hello! I've actually done this a few years ago in some testing firmware, and I've been wanting to make it more of a fully-driven menu selection system, but I am...