summaryrefslogtreecommitdiff
path: root/src-avr/ao_cmd.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-12 04:41:19 -0700
committerKeith Packard <keithp@keithp.com>2011-08-12 04:41:19 -0700
commitb3ba69f3eda0d07d7f2fc0922556a011c95d7951 (patch)
treeb648004575edcf3a0a4cf6c600f47bd06d45d8b5 /src-avr/ao_cmd.c
parentb6083ce00867051d4d513b91519cad6e4a91f07b (diff)
altos-avr: Completely replace the spi slave code
Turns out the AVR we're using sucks at doing SPI slave. To get it running at a reasonable data rate, I had to completely gut the 'sensible' code and run everything from the ISR with interrupts disabled. Even with this, the maximum SPI clock rate is somewhere around 200kHz. That's due to the singled buffered nature of the transmit queue, the amount of time available between finishing one byte and starting the next is very very small. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_cmd.c')
0 files changed, 0 insertions, 0 deletions