An open API service indexing awesome lists of open source software.

https://github.com/kongr45gpen/stm32h7-freqcounter

A frequency counter for the NUCLEO-STM32H743
https://github.com/kongr45gpen/stm32h7-freqcounter

frequency-counter nucleo stm32 stm32-utility stm32h7

Last synced: 3 months ago
JSON representation

A frequency counter for the NUCLEO-STM32H743

Awesome Lists containing this project

README

        

# stm32h7-freqcounter
A frequency counter for the NUCLEO-STM32H743

![Frequency counter image, displaying frequency in kHz and number of ticks on an OLED screen](SSD1306.jpg)

## Usage details
- UART: 8N1, 115200 baud/s
- Processor frequency: 400 MHz
- Measurement resolution (theoretical): 2.5ns

## Pinout
- `PD8` --> USART3_TX (default for Nucleo)
- `PC10` (opposite of NRST) --> **counter input**

#### OLED pinout (optional)
Tested OLED: SSD1306 (4-wire SPI)
- `3.3V` --> `VCC`
- `GND` --> `GND`
- `PB3` (opposite of D10) --> `SCK`/`D0`
- `PB5` (opposite of D11) --> `MOSI`/`D1`
- `PF12` (D8) --> `RES`ET
- `PD15` (D9) --> `DC` (Data/Command)
- `PB12` (opposite of GND) --> `CS`/`NSS` (Negative Slave Select)

#### Sample output
- `PC9` (opposite of IOREF) --> 200 MHz (`MCO` - Master Clock Output)

#### Nucleo pinout
https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/26/49/90/2e/33/0d/4a/da/DM00244518/files/DM00244518.pdf/jcr:content/translations/en.DM00244518.pdf,
page 33