STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
#pragma once
2
3
// SPI — align with other IC_Testing C6 projects (same bus as MCP3201T / LIS3DH;
4
// CS = flash) SCK 2, MOSI 3, MISO 16, CS 0 (change if your wiring differs)
5
#define MX25_PIN_SCK 2
6
#define MX25_PIN_MISO 16
7
#define MX25_PIN_MOSI 3
8
#define MX25_PIN_CS 0
9
10
// Macronix MX25L25645G 256 Mb — full 24-bit JEDEC (RDID): C2 20 19
11
#define MX25_EXPECTED_JEDEC 0xC22019U
12
13
// Test payload size (one sector is 4 KiB on this family; stay within one sector
14
// for a single erase)
15
#define MX25_TEST_BYTES 256
firmware
IC_Testing
MX25L25645
src
main.h
Generated by
1.15.0