# Project Name: Etmr_Sent_Tx_Demo

## Functional Description

- This demo uses `eTMR0_CH0` to generate a SENT-compatible transmit waveform.
- The default output pattern contains one fast frame with data `4,0,F,0,F,0`, CRC `0x7`, and a valid short slow message stream.
- It is intended to be used as a controllable SENT transmitter for validating a separate SENT RX project.

## Hardware Setup

- Output pin: `PTB12 (eTMR0_CH0)`
- Connect `PTB12` to the target SENT RX input pin.
- Make sure the transmitter board and receiver board share GND.

## Operation Instructions

- Step 1: Open `Etmr_Sent_Tx_Demo.yct` with YCT.
- Step 2: Regenerate code if you need to adapt clocks, pins, or eTMR settings.
- Step 3: Build the project and flash `build/Etmr_Sent_Tx_Demo.elf`.
- Step 4: Power the board and open the debug UART console.
- Step 5: Confirm startup prints show SENT timing and short slow message settings.
- Step 6: Connect `PTB12` to the receiver input and verify the receiver decodes fast and slow messages.

## Key Files

- `app/main.c`
- `board/etmr_config.c`
- `board/pin_mux.c`

## Hardware Requirement

- EVB: `YTM32B1MC0-EVB-Q64`
- Debugger: J-Link HW v9.2 or later

## Software Requirement

- SDK: `YTM32B1MC0_1_4_0` or later
- GCC v10.3 or later, or another supported toolchain
