Example Connections Doc

External Interrupt

Posted on

This example demonsrates how to handle PL10 interrupts in userspace. We read the value from PL10 pin and controlling PA10 (User LED). As a result, the LED is switched off by default and switched on when we press the button. Let’s prepare PL10 and export it first. The number of PL10 pin is 362. If […]

Example Connections Doc

Camera

Posted on

Camera Devboard includes CSI Camera Module 5MP OV5640. It’s connected to board with FFC cable. Setup Add camera-status-okay overlay to /boot/Env.txt: overlays=camera-status-okay After reboot you will see that that Linux has occupied camera’s address (0x3c) on i2c-2 bus: i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 a b c d […]

Example Connections Doc

Bluetooth

Posted on

Bluetooth The bluetooth chip is handled in Linux via UART interface by the Bluez utilities and the rfkill power switch. UART1(/dev/ttyS1) is used for the communication. Scanning and Pairing Devices The bluetooth chip can be blocked/unblocked by linux via rfkill utility. root@OES Prime-S1:~# rfkill list 0: bcm43xx: bluetooth Soft blocked: yes Hard blocked: no 1: […]

Example Connections Doc

Audio

Posted on

This example demonstrates how to build an image with audio support, record audio from your mobile phone and play it back. Preparing the image The first step is to build an image with ALSA utils. If you have not yet build any images with Yocto, visit this page. If you have already set up build […]