Download
bff flowchart linx v1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
BFF Flowchart – LINX V1 PowerPoint Presentation
Download Presentation
BFF Flowchart – LINX V1

BFF Flowchart – LINX V1

96 Views Download Presentation
Download Presentation

BFF Flowchart – LINX V1

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Main() START SleepMs BFF Flowchart – LINX V1 Transmit Initialize Ports Listen Get Chip ID Transmit

  2. BFF Flowchart – LINX V1 SleepMs Function Ctr is a variable passed to the SleepMs function that indicates how may Milliseconds the system is to remain in Low Power Mode (sleep). Enter LPM0 Disable TimerA START TimerA Interrupt Disable Port1 Interrupt Ctr-- A Exit LPM Mode Ctr=0 ? TimerA Parameters (CCRO, CCTL) NO A Power-Up LINX YES Power Down LINX RETURN

  3. BFF Flowchart – LINX V1 Transmit Function START Disable TimerA Interrupt Set T/R to Transmit Transmit Sync Byte (0xD4) Transmit 4 Chip ID Bytes RETURN

  4. BFF Flowchart – LINX V1 Listen Function Port1 Interrupt START Get Byte Set T/R to Receive Sync Byte (D4) ? NO Enable Port1 Interrupt YES Enable Timer A for 10 seconds Get Packet Time Up ? NO Friend ? YES NO Blink YES RETURN

  5. MSP430F2012/3 MSP430F2012/3 10 9 8 7 6 11