boards/cirrus/crd40l50/doc/index.rst
.. zephyr:board:: crd40l50
Overview
The CRD40L50-POC-Q "Blackstar" demonstration board is a hardware platform used to evaluate Cirrus Logic CS40L50 haptic drivers. The board provides a set of features that enables programming the on-board STM32F401xD microcontroller with custom sample applications, including the CS40L5x sample provided in Zephyr's samples directory.
Hardware
.. zephyr:board-supported-hw::
Programming & Debugging
.. zephyr:board-supported-runners::
To flash the board using the J-Link debugger, follow the steps below:
Install J-Link Software
J-Link software_ tools from Segger.JLink, JLinkRTTViewer)
are available in your system's PATH.Connect the Board
J-Link Debug Probe_ to the board's SWD header (J7).Build the Application
You can build a sample Zephyr application, such as Blinky or cs40l5x, using
the west tool. Run the following commands from your Zephyr workspace:
.. code-block:: console
west build -b crd40l50 -p always samples/drivers/haptics/cs40l5x
This will build the CS40L5x sample application for the crd40l50 board.
Flash the Device
Once the build completes, flash the firmware using:
.. code-block:: console
west flash --runner jlink
This uses the jlink runner to flash the application to the board.
Observe the Result
After flashing, interact with the Shell interface via JLinkRTTViewer to demo
the on-board CS40L50 haptics driver.
References
.. _Cirrus Logic: https://www.cirrus.com/support
.. _J-Link software: https://www.segger.com/downloads/jlink
.. _J-Link Debug Probe: https://www.segger.com/products/debug-probes/j-link/