HackRF One: update hardware detection pin straps

Additionally swap:
 - EN_1V8, P6_10, U23 pin 100 (pull-down)
 - !RX_AMP_PWR, P2_12, U23 pin 106 (pull-up)

Detecting which has the pull-up and which has the pull-down enables
version detection that may be more reliable than the ADC method.
This commit is contained in:
Michael Ossmann
2022-08-30 19:56:47 -04:00
parent d176b0a118
commit fe42edf790
3 changed files with 1970 additions and 1959 deletions

File diff suppressed because it is too large Load Diff

View File

@ -141,6 +141,10 @@
"diameter": 0.4572, "diameter": 0.4572,
"drill": 0.254 "drill": 0.254
}, },
{
"diameter": 0.6858,
"drill": 0.3302
},
{ {
"diameter": 0.7874, "diameter": 0.7874,
"drill": 0.4064 "drill": 0.4064

View File

@ -3150,7 +3150,7 @@
(junction (at 344.17 68.58) (diameter 0) (color 0 0 0 0) (junction (at 344.17 68.58) (diameter 0) (color 0 0 0 0)
(uuid 106ef8a7-06b5-4500-8844-6031dd1e83fe) (uuid 106ef8a7-06b5-4500-8844-6031dd1e83fe)
) )
(junction (at 267.97 106.68) (diameter 0) (color 0 0 0 0) (junction (at 269.24 106.68) (diameter 0) (color 0 0 0 0)
(uuid 19b3b077-5d49-4f89-83de-dea5975b4c91) (uuid 19b3b077-5d49-4f89-83de-dea5975b4c91)
) )
(junction (at 90.17 27.94) (diameter 0) (color 0 0 0 0) (junction (at 90.17 27.94) (diameter 0) (color 0 0 0 0)
@ -3231,6 +3231,9 @@
(junction (at 82.55 27.94) (diameter 0) (color 0 0 0 0) (junction (at 82.55 27.94) (diameter 0) (color 0 0 0 0)
(uuid 62747ddb-3f01-4f91-9585-931aca057b3f) (uuid 62747ddb-3f01-4f91-9585-931aca057b3f)
) )
(junction (at 144.78 25.4) (diameter 0) (color 0 0 0 0)
(uuid 65ba05d0-641a-4af9-a261-a59418f8e064)
)
(junction (at 372.11 17.78) (diameter 0) (color 0 0 0 0) (junction (at 372.11 17.78) (diameter 0) (color 0 0 0 0)
(uuid 6a9e6396-04c2-49e9-b600-bcce42ef1050) (uuid 6a9e6396-04c2-49e9-b600-bcce42ef1050)
) )
@ -3306,9 +3309,6 @@
(junction (at 356.87 106.68) (diameter 0) (color 0 0 0 0) (junction (at 356.87 106.68) (diameter 0) (color 0 0 0 0)
(uuid abaf322f-d36f-49c4-90ea-24fd6b04583f) (uuid abaf322f-d36f-49c4-90ea-24fd6b04583f)
) )
(junction (at 142.24 22.86) (diameter 0) (color 0 0 0 0)
(uuid ae2a31fc-1064-4944-a19c-449980582e11)
)
(junction (at 391.16 99.06) (diameter 0) (color 0 0 0 0) (junction (at 391.16 99.06) (diameter 0) (color 0 0 0 0)
(uuid af09435d-af10-4d85-a7c4-7b3678005ba9) (uuid af09435d-af10-4d85-a7c4-7b3678005ba9)
) )
@ -3423,10 +3423,14 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 03a4acf4-7868-4d00-9811-3d04797aa6d2) (uuid 03a4acf4-7868-4d00-9811-3d04797aa6d2)
) )
(wire (pts (xy 142.24 22.86) (xy 142.24 20.32)) (wire (pts (xy 142.24 20.32) (xy 142.24 27.94))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 042c3ac3-fac4-4b84-bde2-440434e06434) (uuid 042c3ac3-fac4-4b84-bde2-440434e06434)
) )
(wire (pts (xy 133.35 22.86) (xy 144.78 22.86))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 04f9a9bf-1bf5-4d5a-bbf5-dee7e545db5b)
)
(wire (pts (xy 340.36 125.73) (xy 340.36 115.57)) (wire (pts (xy 340.36 125.73) (xy 340.36 115.57))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 056fc154-c197-4379-9996-7287b977f964) (uuid 056fc154-c197-4379-9996-7287b977f964)
@ -3547,7 +3551,7 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 13edef6d-05b9-48e8-a72a-e1d71c6fced5) (uuid 13edef6d-05b9-48e8-a72a-e1d71c6fced5)
) )
(wire (pts (xy 246.38 106.68) (xy 267.97 106.68)) (wire (pts (xy 246.38 106.68) (xy 269.24 106.68))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 141c9ba6-0f94-4f0e-9860-d2864f73c460) (uuid 141c9ba6-0f94-4f0e-9860-d2864f73c460)
) )
@ -3571,7 +3575,7 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 15bbb073-89bd-48b9-b990-fe0f3d44091d) (uuid 15bbb073-89bd-48b9-b990-fe0f3d44091d)
) )
(wire (pts (xy 267.97 106.68) (xy 271.78 106.68)) (wire (pts (xy 269.24 106.68) (xy 273.05 106.68))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 1633992a-0e80-4216-9ada-0a8d08f15fe9) (uuid 1633992a-0e80-4216-9ada-0a8d08f15fe9)
) )
@ -3579,7 +3583,7 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 1669a55d-66a2-4762-97d0-c0f33c4c000c) (uuid 1669a55d-66a2-4762-97d0-c0f33c4c000c)
) )
(wire (pts (xy 267.97 95.25) (xy 267.97 96.52)) (wire (pts (xy 269.24 95.25) (xy 269.24 96.52))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 16c7f1e6-b8f4-4046-8a93-eb9493abd037) (uuid 16c7f1e6-b8f4-4046-8a93-eb9493abd037)
) )
@ -3971,10 +3975,6 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 415e1ee6-78a9-4d0e-8720-e945c14d6473) (uuid 415e1ee6-78a9-4d0e-8720-e945c14d6473)
) )
(wire (pts (xy 133.35 22.86) (xy 142.24 22.86))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 427d87a8-7110-4da0-b8d8-a31e8f2eec22)
)
(wire (pts (xy 109.22 78.74) (xy 106.68 78.74)) (wire (pts (xy 109.22 78.74) (xy 106.68 78.74))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 440a6c32-8b71-4a33-a5b1-a141a540906c) (uuid 440a6c32-8b71-4a33-a5b1-a141a540906c)
@ -4335,7 +4335,7 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6d67dbe8-f37a-4f15-abf8-df1fc355d38d) (uuid 6d67dbe8-f37a-4f15-abf8-df1fc355d38d)
) )
(wire (pts (xy 133.35 25.4) (xy 146.05 25.4)) (wire (pts (xy 133.35 25.4) (xy 144.78 25.4))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6dc997c6-b4fb-42c4-96e4-bcc91286acb2) (uuid 6dc997c6-b4fb-42c4-96e4-bcc91286acb2)
) )
@ -5103,6 +5103,10 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid b5a6daf9-cad2-407a-abc8-5b370aa3c0cd) (uuid b5a6daf9-cad2-407a-abc8-5b370aa3c0cd)
) )
(wire (pts (xy 144.78 22.86) (xy 144.78 25.4))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b5f69cc1-20cf-43fd-80c3-f3820206aa2f)
)
(wire (pts (xy 196.85 16.51) (xy 267.97 16.51)) (wire (pts (xy 196.85 16.51) (xy 267.97 16.51))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid b60b290c-52f0-4dae-b1f2-3c989a8f7fc7) (uuid b60b290c-52f0-4dae-b1f2-3c989a8f7fc7)
@ -5651,6 +5655,10 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid e4b7fe58-1c54-422d-8a88-e6b59a301d12) (uuid e4b7fe58-1c54-422d-8a88-e6b59a301d12)
) )
(wire (pts (xy 144.78 25.4) (xy 146.05 25.4))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid e4c8f626-f3d1-40aa-bd8b-ea937790bf93)
)
(wire (pts (xy 246.38 134.62) (xy 254 134.62)) (wire (pts (xy 246.38 134.62) (xy 254 134.62))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid e688c2e3-e7bd-4fd2-8f03-58172681e93a) (uuid e688c2e3-e7bd-4fd2-8f03-58172681e93a)
@ -5679,7 +5687,7 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid e96c1570-e666-4a3e-bd6a-e9b2239f6b2c) (uuid e96c1570-e666-4a3e-bd6a-e9b2239f6b2c)
) )
(wire (pts (xy 267.97 104.14) (xy 267.97 106.68)) (wire (pts (xy 269.24 104.14) (xy 269.24 106.68))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid ea9315ab-fbdc-46bd-acf5-25273cb140a2) (uuid ea9315ab-fbdc-46bd-acf5-25273cb140a2)
) )
@ -5743,10 +5751,6 @@
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid eec996ad-2f02-4da3-9a58-c8e4429778d0) (uuid eec996ad-2f02-4da3-9a58-c8e4429778d0)
) )
(wire (pts (xy 142.24 22.86) (xy 142.24 27.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ef922a68-1a4d-46b0-9733-6639ebff23a2)
)
(wire (pts (xy 45.72 90.17) (xy 86.36 90.17)) (wire (pts (xy 45.72 90.17) (xy 86.36 90.17))
(stroke (width 0) (type default) (color 0 0 0 0)) (stroke (width 0) (type default) (color 0 0 0 0))
(uuid efa77784-0af4-4e27-bcae-162dc271236f) (uuid efa77784-0af4-4e27-bcae-162dc271236f)
@ -6090,7 +6094,7 @@
(effects (font (size 1.016 1.016)) (justify left bottom)) (effects (font (size 1.016 1.016)) (justify left bottom))
(uuid 8c84638b-5b66-4211-a0d0-ef35d8cc6b8c) (uuid 8c84638b-5b66-4211-a0d0-ef35d8cc6b8c)
) )
(text "ISP" (at 269.24 106.68 0) (text "ISP" (at 270.51 106.68 0)
(effects (font (size 1.016 1.016)) (justify left bottom)) (effects (font (size 1.016 1.016)) (justify left bottom))
(uuid 92f61eae-3289-4663-b2ab-85413d0a76e1) (uuid 92f61eae-3289-4663-b2ab-85413d0a76e1)
) )
@ -6752,7 +6756,7 @@
(effects (font (size 1.016 1.016)) (justify right bottom)) (effects (font (size 1.016 1.016)) (justify right bottom))
(uuid 852fa788-54fb-4c18-b556-e588b7999be6) (uuid 852fa788-54fb-4c18-b556-e588b7999be6)
) )
(label "EN1V8" (at 255.27 96.52 180) (label "EN1V8" (at 254 81.28 180)
(effects (font (size 1.016 1.016)) (justify right bottom)) (effects (font (size 1.016 1.016)) (justify right bottom))
(uuid 87f42aea-4111-4343-bc61-d56bb820ab4e) (uuid 87f42aea-4111-4343-bc61-d56bb820ab4e)
) )
@ -7253,10 +7257,10 @@
(uuid ff478dce-92bd-43d2-8ba4-8364b3fa56f2) (uuid ff478dce-92bd-43d2-8ba4-8364b3fa56f2)
) )
(global_label "!RX_AMP_PWR" (shape input) (at 254 81.28 0) (fields_autoplaced) (global_label "!RX_AMP_PWR" (shape input) (at 255.27 96.52 0) (fields_autoplaced)
(effects (font (size 1.016 1.016)) (justify left)) (effects (font (size 1.016 1.016)) (justify left))
(uuid 05df155a-65c7-4d87-b8f3-251cf06473fe) (uuid 05df155a-65c7-4d87-b8f3-251cf06473fe)
(property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0) (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 1.27 15.24 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
) )
@ -7407,10 +7411,10 @@
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
) )
(global_label "RX" (shape input) (at 271.78 106.68 0) (fields_autoplaced) (global_label "RX" (shape input) (at 273.05 106.68 0) (fields_autoplaced)
(effects (font (size 1.016 1.016)) (justify left)) (effects (font (size 1.016 1.016)) (justify left))
(uuid 576a9965-0a0b-42cb-947b-37ee2475a7ef) (uuid 576a9965-0a0b-42cb-947b-37ee2475a7ef)
(property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 17.78 -12.7 0) (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 19.05 -12.7 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
) )
@ -10956,24 +10960,24 @@
(pin "2" (uuid bab9fb35-4a39-43c0-ada6-f4e397543914)) (pin "2" (uuid bab9fb35-4a39-43c0-ada6-f4e397543914))
) )
(symbol (lib_id "Device:R") (at 267.97 100.33 0) (mirror y) (unit 1) (symbol (lib_id "Device:R") (at 269.24 100.33 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-0000503f9a36) (uuid 00000000-0000-0000-0000-0000503f9a36)
(property "Reference" "R59" (id 0) (at 265.938 100.33 90)) (property "Reference" "R59" (id 0) (at 267.208 100.33 90))
(property "Value" "10k" (id 1) (at 267.97 100.33 90)) (property "Value" "10k" (id 1) (at 269.24 100.33 90))
(property "Footprint" "hackrf:GSG-0402" (id 2) (at 267.97 100.33 0) (property "Footprint" "hackrf:GSG-0402" (id 2) (at 269.24 100.33 0)
(effects (font (size 1.524 1.524)) hide) (effects (font (size 1.524 1.524)) hide)
) )
(property "Datasheet" "" (id 3) (at 267.97 100.33 0) (property "Datasheet" "" (id 3) (at 269.24 100.33 0)
(effects (font (size 1.524 1.524)) hide) (effects (font (size 1.524 1.524)) hide)
) )
(property "Manufacturer" "Stackpole" (id 4) (at 267.97 100.33 0) (property "Manufacturer" "Stackpole" (id 4) (at 269.24 100.33 0)
(effects (font (size 1.524 1.524)) hide) (effects (font (size 1.524 1.524)) hide)
) )
(property "Part Number" "RMCF0402JT10K0" (id 5) (at 267.97 100.33 0) (property "Part Number" "RMCF0402JT10K0" (id 5) (at 269.24 100.33 0)
(effects (font (size 1.524 1.524)) hide) (effects (font (size 1.524 1.524)) hide)
) )
(property "Description" "RES 10K OHM 1/16W 5% 0402 SMD" (id 6) (at 267.97 100.33 0) (property "Description" "RES 10K OHM 1/16W 5% 0402 SMD" (id 6) (at 269.24 100.33 0)
(effects (font (size 1.524 1.524)) hide) (effects (font (size 1.524 1.524)) hide)
) )
(pin "1" (uuid 4f691bf8-2887-4265-979f-2a9cdcd24723)) (pin "1" (uuid 4f691bf8-2887-4265-979f-2a9cdcd24723))
@ -12742,17 +12746,17 @@
(pin "1" (uuid aa0972b9-86f5-41a2-9c35-cd63e446ca3b)) (pin "1" (uuid aa0972b9-86f5-41a2-9c35-cd63e446ca3b))
) )
(symbol (lib_id "power:VCC") (at 267.97 95.25 0) (unit 1) (symbol (lib_id "power:VCC") (at 269.24 95.25 0) (unit 1)
(in_bom yes) (on_board yes) (in_bom yes) (on_board yes)
(uuid 00000000-0000-0000-0000-00005f5fde36) (uuid 00000000-0000-0000-0000-00005f5fde36)
(property "Reference" "#PWR0269" (id 0) (at 267.97 99.06 0) (property "Reference" "#PWR0269" (id 0) (at 269.24 99.06 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "VCC" (id 1) (at 268.4018 90.8558 0)) (property "Value" "VCC" (id 1) (at 269.6718 90.8558 0))
(property "Footprint" "" (id 2) (at 267.97 95.25 0) (property "Footprint" "" (id 2) (at 269.24 95.25 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (id 3) (at 267.97 95.25 0) (property "Datasheet" "" (id 3) (at 269.24 95.25 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid e33e42e9-94d1-4a8e-a9e9-a58514912971)) (pin "1" (uuid e33e42e9-94d1-4a8e-a9e9-a58514912971))