For any other mode of sharing, please contact the author at the email below. info@auvidea.com Commercial use and distribution of the contents of this document is not allowed without express and prior written consent of Auvidea GmbH. ...
Page 3
VERSION 1.1 E412 Introduction The E412 is a compact H.264 encoder. It is a second generation encoder of the E12/E110/E112 encoders. The main differences are: • fast boot up: only 2 seconds • smaller and lower power consumption • flexible: add your host system for stream formatting ...
VERSION 1.1 E412 Micro Controller Firmware Release 1.0.2 (November 2016) • firmware upgrade via UART2 interface not supported yet • no I2C1 interface between Max64380 and micro controller (get status via UART2) AUVIDEA GMBH TECHNICAL REFERENCE MANUAL...
Page 5
VERSION 1.1 E412 Encoder Firmware Release 4.3.27 (December 2016) • support for audio (audio=external) • 8,16, 48 kHz audio sampling rate supported Please let us know, if you do require other audio sample rates (such as 44.1kHz). Firmware Images The are 3 firmware images provided. fw-64380.img is the default image. The firmware may be changed and/or upgraded with the MXCAM app.
Page 6
VERSION 1.1 E412 AUVIDEA GMBH TECHNICAL REFERENCE MANUAL...
Page 7
VERSION 1.1 E412 Timing The E412 supports various input timings (video resolutions): active: the visible resolution of the video (horizontal, vertical) total: the total resolution of the video (including front and back porch) e.g. 1650 x 750 x 60 = 74,250,000 Hz = pixel frequency ...
Page 8
UVC driver Custom UVC driver The E412 requires a custom UVC driver to be installed to get the best performance (frame rate). Basic functionality is provided by the standard UVC driver, but the frame rate may be limited. Below are the DMESG messages which shows the activation of the standard UVC driver.
Page 9
VERSION 1.1 E412 MXCAM Control and configuration of the encoder MXCAM communicates with the Max64380 encoder firmware on the E412. Complete list of MXCAM subcommands sudo ./mxcam Usage: mxcam <subcommand> [options] [arguments] Type 'mxcam help <subcommand>' for help on a specific subcommand...
Page 10
VERSION 1.1 E412 CCR options Options Description BOOTMODE usb, snor boot mode of camera BOARD raptorbub Board type raptorcam1 raptorcam2 raptorcam4 NVPP_SCALE 0, 1 Selects whether to use single LVPP + 2 NVPPs in datapath NVPP_VID_ 0, 1 Selects whether to set NVPP video to pass through mode...
Page 11
50, 60 Power line freqency auto Specifies ADC module. {WM8750|WM8737|MAX9860|MAX9867} AUDCLK external I2S audio mode must be set to external for E412 (I2S slave mode) ADC_MASTER auto Choose which ADC port to be master. {0|1|none} ADCMAXVOL auto Specifies the max volume setting in ADC (in dB)
Page 12
VERSION 1.1 E412 $sudo ./mxcam getccr ------------------------------- MAXIM AREA CCR LIST key, default, description ------------------------------- …… key count : 55 List the keys configured $sudo ./mxcam getkey BOOTMODE=snor BF=1 CUS1=1 CUS2=7 MS=70 BW=70 BOARD=raptorcam2 CAMERA_MODE=SKYPE_BULK VIDEO_INPUT=YUV1_16 MAXRES_INPUT=1080p60 MAXRES_LVPP=1080p60 MAXRES_MAIN=1080p60 HSTART=190...
Page 13
VERSION 1.1 E412 QUERYDUMP Get statistics of the encoder $sudo ./querydump Error opening the file for Query Dump..Outputting to the Console Core: Retrieved 0x405c0bcc as GPB vinh is attached type lvpp0 is attached type lvpp1 is attached type avcenc0 is attached type...
Page 15
VERSION 1.1 E412 PerformanceJitter (IPB) : 0/0/0 Latency : 0 us Buffer Fullness : 0 / 0 (max 0) Base QP State : Idle Frames Input Input frame drops Rate control drops Last RC drop cause Last RC drop pic type : 0...
Page 16
VERSION 1.1 E412 Filter state : Idle (0) Last received command/interrupt : 18 Input ports : 0 Output ports : 1 Input frames received in current round : 0 Rounds of input frames received from src channels : 0 Output frames sent in current round : 0...
Page 17
H.264 video data, the bandwidth of USB 2.0 (480Mbit/s max.) is more than sufficient. J6 is an optional connector to bridge USB 2.0 from board to board. Function Description 5V power input of the E412 module (100mA typical) USB-D- USB 2.0 data USB-D+ USB 2.0 data...
Page 18
VERSION 1.1 E412 UART2 (J5) This UART2 port is the console interface to the on-board micro controllers. The commands are described in a section below. Commands allow to setup the system and to retrieve the status like the video properties of the HDMI video source connected. The baud rate settings of UART2 are 115200 8/N/1.
Please connect a terminal emulation program with a USB to TTL UART converter, to connect to the console interface of the on-board micro controller. This provides a command line interface to setup and control the E412 module. Print out a list of commands supported.
Page 20
VERSION 1.1 E412 List all I2C devices. On the E412 this is just a single I2C device at address “0x3C”. >l -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --...
Page 21
Prepare the micro controller for firmware upgrade via the UART2 interface. This feature is not supported by the firmware yet. Please use the SWD interface and a ST/LINK-2 programmer to perform a firmware upgrade of the E412. >bootloader ready for firmware upgrade...
Page 22
• GND: pin 14 of the RPi to pin 6 of J5 (E412) • RxD: pin 10 of the RPi to pin 2 (TxD) of J5 (E412) • TxD: pin 8 of the RPi to pin 3 (RxD) of J5 (E412)
Please go to setup - serial port and configure COM port number and baud rate (115200). 3. now you should be able to communicate with the E412. Test the „v“ command. - print the version minicom (Raspberry Pi) We have tested this terminal application (minicom) on the Raspberry Pi. Please configure it for 115200 baud and 8/N/1.
Page 24
7. reboot the Raspberry Pi so that the changes can take effect 8. the Raspberry may also be used to read the EDID of the E412, if the HDMI out of the Raspberry Pi is connected to the HDMI input of the E412. Please make sure that the EDID is enabled in the config.txt file.
9. verify that new firmware has been programmed with the API command „v“ Note: if the flashing has failed and the E412 does not boot anymore, it can be rescued by connecting an ST-LINK programmer SWD interface on connector J5. ...
Page 26
VERSION 1.1 E412 AUVIDEA GMBH TECHNICAL REFERENCE MANUAL...
Page 27
Disclaimer Thank you for reading this manual. If you have found any typos or errors in this document or any bugs or issues in the software or API, please let us know. The Auvidea Team AUVIDEA GMBH TECHNICAL REFERENCE MANUAL...
Need help?
Do you have a question about the E412 and is the answer not in the manual?
Questions and answers