1 / 5

LINX V1 Low Power Mode and Transmit/Listen Flowchart Implementation

This document outlines the flowchart processes for the LINX V1 system, focusing on Low Power Mode (LPM) management and data transmission/reception functionalities. It details how the system enters LPM with the SleepMs function and how TimerA is utilized for interrupt management. The flowchart covers key actions such as disabling interrupts, transmitting a sync byte and Chip ID, and listening for incoming data. This guide serves as a reference for effectively programming the LINX V1 system to optimize power consumption while enabling communication capabilities.

dena
Download Presentation

LINX V1 Low Power Mode and Transmit/Listen Flowchart Implementation

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