SinelaboreRT Header Logo

SinelaboreRT

As simple as possible, but not any simpler!

User Tools

Site Tools


wiki:news:12feb2015

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:news:12feb2015 [2015/02/12 20:24] pmuellerwiki:news:12feb2015 [2015/02/12 20:27] pmueller
Line 8: Line 8:
 One new hardware signal is the ''/RTS'' line indicating readiness of the radio. The other one is an output signal to drive the radio into ''sleep mode'' and back into ''active'' mode. One new hardware signal is the ''/RTS'' line indicating readiness of the radio. The other one is an output signal to drive the radio into ''sleep mode'' and back into ''active'' mode.
  
-The updated state machine works as follows. To keep the battery driven system running as long as possible the radio is in low-power mode most of the time. Only just before sending the µC wakes-up the radio in ''Step2a''. The falling edge of the ''/RTS'' signal indicates the radio readiness which leads into ''Step2''. In ''Step2'' transmission takes place on interrupt basis (started by putchar()). During transmission ''/RTS'' is high. If transmission is over ''/RTS'' goes to low again. If this happens the radio is switched off again. In case transmission couldn’t completed the radio is switched off latest after 200ms. In ''Step3'' we wait for 5s then the board signals the successful transmission with a short blink code (state ''BlinkGood''). An then the cycle begins again. Output PORT1/Bit1 is used for debugging purposes.+The updated state machine works as follows. To keep the battery driven system running as long as possible the radio is in low-power mode most of the time. Only just before sending the µC wakes-up the radio in ''Step2a''. The falling edge of the ''/RTS'' signal indicates the radio readiness which leads into ''Step2''. In ''Step2'' transmission takes place on interrupt basis (started by putchar()). During transmission ''/RTS'' is high. If transmission is over ''/RTS'' goes to low again. If this happens the radio is switched off again. In case transmission couldn’t completed the radio is switched off latest after 200ms. In ''Step3'' we wait for 5s then the board signals the successful transmission with a short blink code (state ''BlinkGood''). An then the cycle begins again. Output PORT1/Bit1 is used for debugging purposes. In low power mode just the LED blinks two times slowly to indicate low battery.
  
 {{:wiki:news:feb2015_toggle.png|}} {{:wiki:news:feb2015_toggle.png|}}
Line 40: Line 40:
  TX_INT_DISABLE; // disable transmit interrupt (in IE2)  TX_INT_DISABLE; // disable transmit interrupt (in IE2)
  if(fifoIsEmpty(&txbuf) && (!txrunning)){ // queue empty and no transmission running  if(fifoIsEmpty(&txbuf) && (!txrunning)){ // queue empty and no transmission running
- txrunning=true;+     txrunning=true;
      TXBUF0 = cByte; // load tx register, inc index      TXBUF0 = cByte; // load tx register, inc index
  }else{  }else{
wiki/news/12feb2015.txt · Last modified: 2022/08/17 19:42 by pmueller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki