1 / 5

BFF Flowchart – LINX V1

Main(). START. SleepMs. BFF Flowchart – LINX V1. Transmit. Initialize Ports. Listen. Get Chip ID. Transmit. 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).

dena
Télécharger la présentation

BFF Flowchart – LINX V1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related