Macchina Docs
  • Macchina.cc
  • Introduction
    • Disclaimer
  • Product Documentation
    • M2 Docs
      • Getting Started
      • Arduino IDE Quick Start
      • M2 Code libraries
        • CAN bus
        • Single-wire CAN
        • LIN
      • Next Steps with M2
      • Detailed Reference
        • Installation
        • Processor
        • Pin Mapping
        • Automotive Interfaces
        • Communication
          • M2 Bee-Compatible Add-ons
          • Cellular
        • Power
        • Storage/Memory
        • 12V IO
        • LEDS/Buttons
        • Enclosures
        • Breakout Board
        • Schematics and Source
      • Versions of M2
    • A0 Docs
      • Quick Start Guide
      • Firmware Reference
      • Hardware Reference
      • Projects
      • Troubleshooting
    • SuperB Docs
      • Getting Started
      • Hardware
      • Sending AT Commands
    • P1 Docs
      • Getting Started
      • Pin Mapping
      • Interfaces
      • Power Supply Note
    • OBD3way Docs
  • Projects
    • A0 Projects
      • A0 CAN Vehicle Data
      • A0 CAN Point to Point
      • A0 CAN Read VIN
      • Work-in-Progress A0 projects
    • M2 Projects
      • "OK Google, start my car!"
      • M2 and SavvyCAN, the Basics
      • Help Collect Voltage Data
      • Mini-Project Tutorials
        • M2 CAN Loopback
        • M2 CAN Point to Point
        • M2 SWCAN Point to Point
        • M2 VIN Extraction
    • P1 Projects
      • P1 CAN Vehicle Data
      • P1 CAN Loopback
    • Community Projects
    • Project Support
    • Other Resources
  • Support /contact us
    • Contact US / FAQ
    • Common Issues
    • Out of Stock/ Status
Powered by GitBook
On this page
  • P1 headers:
  • Mappings:
  • 12-volt Outputs
  • Analog Inputs (0-12V analog input)
  • GPIO Power Supply Current Sense
  • CAN
  • Power Supplies
  • J1850
  • 9141/LIN
  • Single-wire CAN

Was this helpful?

Export as PDF
  1. Product Documentation
  2. P1 Docs

Pin Mapping

This page will describe how the names of the pins on the PocketBeagle/OSD3358 coorespond to signals on the rest of P1.

PreviousGetting StartedNextInterfaces

Last updated 3 years ago

Was this helpful?

P1 consists of 3 PCBs all stacked together through headers. Each board has its own schematic and each header and signal may have different names on each board.

Caution: Neither PocketBeagle nor Interface board is keyed, so it is possible to plug together incorrectly. Use the above diagram to ensure you are plugging together correctly.

Caution: In the case of UTH version - with enough force, it is possible to plug a 24 pin connector into the 26 pin connector socket. Please don't do that.

P1 boards:

PocketBeagle (schematic here). This is the brains of the operation.

Adapter board (schematic here). This board acts connects PocketBeagle to the M2 interface board, adds a battery connector and full-sized USB A connector.

Interface board (schematic here). This is the same interface board used with M2. This board has all of the automotive interfaces and power supply.

P1 headers:

Headers connect throughout P1 as follows:

PocketBeagle Headers

Adapter board headers

Interface board headers

P1 connects to:

J5

-

P2 connects to:

J6

-

-

J2 connects to:

J3

-

J3 connects to:

J4

-

-

J5 (26 pin connector)

-

-

J1 (UTD) or J2 (UTH)

Mappings:

12-volt Outputs

Mapped Pin Name

Function

Notes

PocketBeagle Pin Name

OUT 1

SRC

J5 Pin 2 (26 pin connector)

P1_36

OUT 2

SRC

J5 Pin 6 (26 pin connector)

P2_3

OUT 3

SRC

J5 Pin 10 (26 pin connector)

P2_2

OUT 4

SINK

J5 Pin 14 (26 pin connector)

P2_4

OUT 5

SINK

J5 Pin 18 (26 pin connector)

P1_33

OUT 6

SINK

J5 Pin 22 (26 pin connector)

P2_10

Analog Inputs (0-12V analog input)

Mapped Pin Name

Notes

PocketBeagle Pin Name

IN 1

J5 Pin 1 (26 pin connector)

P1_19

IN 2

J5 Pin 5 (26 pin connector)

P1_21

IN 3

J5 Pin 9 (26 pin connector)

P1_23

IN 4

J5 Pin 13 (26 pin connector)

P1_25

IN 5

J5 Pin 17 (26 pin connector)

P1_27

IN 6

J5 Pin 21 (26 pin connector)

P2_36

GPIO Power Supply Current Sense

Mapped Pin Name

Notes

PocketBeagle Pin Name

12Vio_EN

GPIO Power Supply Enable

P1_31

SENSE 12V

GPIO Power Supply Analog Current Sense

OVER_CURRENT

GPIO Power Supply Interrupt

DAC1

GPIO Power Supply Analog Output to Comparator

CAN

Mapped Pin Name

Notes

PocketBeagle Pin Name

CANRX0

CANRX0

1_28

CANTX0

CANTX0

1_26

CAN0_CS or HS_CS

HSC_S

1_20

CANRX1

CANRX1

2_09

CANTX1

CANTX1

2_11

CAN1_CS or MS_CS

MSC_S

2_30

Power Supplies

Mapped Pin Name

Notes

PocketBeagle Pin Name

PS_BUCK or BUCK_DIS

PS_J1850_9141

Bring LOW for LOW power

P2_19

J1850

Mapped Pin Name

Notes

PocketBeagle Pin Name

J1850_PWM_VPW

J1850_PWM_RX

J1850_VPW_RX

J1850P_TX

J1850N_TX

9141/LIN

Mapped Pin Name

Pin name

Notes

PocketBeagle Pin Name

LIN_KTX

9141 K TX

LIN1 TX

P2_7

LIN_KRX

9141 K RX

LIN1 RX

P2_5

LIN_KSLP

9141 K SLP

LIN1 Sleep

P2_22

LIN_LTX

9141 L TX

LIN2 TX

P1_30

LIN_LRX

9141 L RX

LIN2 RX

P1_32

LIN_LSLP

9141 L SLP

LIN2 Sleep

P2_28

Single-wire CAN

Mapped Pin Name

Pin Name

Notes

PocketBeagle Pin Name

SWC_M1

SWC M1

SWC_M0

SWC M0

SWC_SOF

SWC SOF

SWC_CLK

SWC CLK

SPI0_CS3

SPI0_nCS3

SWC_INT

SWC nINT

SWC_RX0

SWC nRX0BF

SWC_RX1

SWC nRX1BF

UTH and UTD versions of P1