Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPRacingH7NEO - Initial target support. #64

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions RX/SPRacing H7NEO 2400 True Diversity RX.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"//": "GPIO Matrix Indexes, 0 = GPIO0, *not* 0 = pin 0",

"//": "BUTTON",
"//": "GPIO0 Strapping - Default: Pull-up - Button pressed pulls-down",
"button": 0,

"//": "SERIAL",
"serial_tx": 43,
"serial_rx": 44,

"//": "RADIO (2x 2.4Ghz + 2x PA)",

"//": "Single inductor fitted to first SX1280",
"radio_dcdc": true,

"//": "Radio SPI uses SUBSPI pins",
"radio_miso": 13,
"radio_mosi": 11,
"radio_sck": 12,

"//": "NRESET is active-low with 50k pull-up in SX1280",
"radio_rst": 9,
"radio_rst_2": 46,

"radio_busy": 7,
"radio_busy_2": 5,
"radio_dio1": 6,
"radio_dio1_2": 4,

"//": "NSS is active-low, SX1280 MISO is high-impedance when NSS is high.",
"//": "NSS 1/2 on SUBSPI pins with CS0/CS1 signals (respectively)",
"radio_nss": 10,
"radio_nss_2": 8,

"//": "On the RFX2401C RX active is FALSE when TXEN is HIGH/ON",
"power_txen": 14,
"power_txen_2": 45,

"//": "Unused RXEN, pull-ups fitted to both PAs, TXEN HIGH disables RX",
"_power_rxen": "N/A",
"_power_rxen_2": "N/A",

"power_lna_gain": 12,
"power_min": 0,
"power_high": 3,
"power_max": 3,
"power_default": 3,
"power_control": 0,
"power_values": [-10,-6,-3,1],

"//": "PWM",
"//": "PWM outputs on 4 pins which double as JTAG pins, on S3 JTAG pins are not strapping pins, no buffers needed!",
"//": "GPIO3 is pulled low via 10k resistor (located by IO_1 legend), which selects USB as the JTAG signal source",
"//": "See 8.5 JTAG Signal Source Control",
"//": "J15:6 - GPIO41/MTDI - JTAG 1/4",
"//": "J15:5 - GPIO42/MTMS - JTAG 2/4",
"//": "J15:4 - GPIO39/MTCK - JTAG 3/4",
"//": "J15:3 - GPIO40/MTDO - JTAG 4/4",
"pwm_outputs":[41,42,40,39],

"//": "LED",
"led_rgb": 38,
"led_rgb_isgrb": true,
"ledidx_rgb_status": [0],
"ledidx_rgb_vtx": [1],
"ledidx_rgb_boot": [0,1]
}
9 changes: 9 additions & 0 deletions targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2499,6 +2499,15 @@
"spracing": {
"name": "SPRacing",
"rx_2400": {
"h7neo": {
"product_name": "SPRacingH7NEO 2.4GHz FC True Diversity RX (H7/S3)",
"lua_name": "SPR_H7NEO_S3",
"layout_file": "SPRacing H7NEO 2400 True Diversity RX.json",
"upload_methods": ["uart", "wifi", "betaflight"],
"platform": "esp32-s3",
"min_version": "3.3.0",
"firmware": "Unified_ESP32S3_2400_RX"
},
"rxg1": {
"product_name": "SPRacing RXG1 Gyro 2.4GHz RX/GYRO (S3)",
"lua_name": "SPR_RXG1_S3",
Expand Down
Loading