Question

I have an Acconeer XB112 breakout board and an XM112 radar module. It all works just fine per the Acconeer documentation and tutorials.

Now I want to modify some of the code to output to a GPIO. My problem is that there are six different header options: two micro USB (J1 & J2), two 2x5 headers (J5 & J6), a 2x30 board-to-board connector (J4; where the XB and the XM mate), and a 2x20 header (J3) that is only solder pads.

I need to use pin 5 on header J6. How does one determine the name of the specific header and how would that be written in python?

Was it helpful?

Solution

You need to consult the documentation of the boards you are using.

The software can access GPIO pins of the microprocessor, but that processor can be mounted on a gazillion different board layouts and there is no way to tell the software what the board layout looks like.

As a result, you need to look in the documentation of your board which GPIO pin of the processor is connected to pin 5 of header J6 (if it is a GPIO pin at all. Not all processor pins are usable as GPIO pins, even if they are connected to a header).

Licensed under: CC-BY-SA with attribution
scroll top