Commit cb76fc72 authored by kukosek's avatar kukosek
Browse files

docs of pinout and peripherals

parent b69b11ba
Loading
Loading
Loading
Loading
+66 −0

File added.

Preview size limit exceeded, changes collapsed.

docs/board_mcxn947.md

0 → 100644
+23 −0
Original line number Diff line number Diff line
# FRDM-MCXN947 Board
- [Board documentation](https://docs.nxp.com/bundle/UM12018/page/topics/Evk_overview.html)
- Made in 2024
- We have the dev kits in EmLab.

## Connectors

The board has multiple **connectors**
marked as J1, J2, etc. Connectors are essentialy pin headers. 
[Here](https://docs.nxp.com/bundle/UM12018/page/topics/connectors.html)
you can find the documentation for each connector including a table with its **pinout**.

![Top view](Top-view_connectors_switches_LEDs.svg)

It can be hard to locate the exact pins on the board. Please refer for the
numbering printed on the PCB.

## Flashing and debugging

Use the board's MCU-Link USB. It is located to the left of the Ethernet connector.
On your PC install the relevant development tools. For instructions to setup the 
development environment, see README.md in the develop branch.
+17 −0
Original line number Diff line number Diff line
# Peripherals setup

## How to add an I2C device to your project

The easiest way to setup I2C:

1. open the Peripherals section in your IDE
2. add a Low Power I2C (named LP_FLEXCOMM or similar)
3. in the bottom right in the error window, solve the errors (right click for
   automatic solutions)
4. set the clock source or frequency
4. open the Pins section
5. route your new LP_FLEXCOMM peripheral to desired pins (start with the
   error window)


*Written when developing the LIDAR driver*