Do you have a question about the SNM9S50 Series and is the answer not in the manual?
Questions and answers
Summary of Contents for SONIX SNM9S50 Series
Page 1
2-wire Interface Manual About This Document This purpose of this document is to introduce SONiX 2-wire interface of the SNM9S50x/51xx/52xx Series by defining the Master and Slave of the transmission, explaining signal, data transmission, and data format. Refer to the commands provided in the end of this document to make various settings of OID decoder functions.
A Master device is the device that initiates a data transfer on the bus and generates the clock signals to permit that transfer. The 2-wire interface of SONiX OID products receives and transmits signals between the backend DSP/MCU (Master) and OID decoder (Slave). Functions of the Master include: •...
Pull High Default Status Pulled high The table below lists some of the recommended SONiX backend DSP to pair with SONiX OID image decoder or OID decoder module. For more options and detailed information of each product, refer to http://www.sonix.com.tw/category-tw-146.
The read operation is initiated by the Master to transfer data from the Slave to the Master. In R/W control bit, the Master keeps the R/W control bit on SDIO low to indicate read operation. The table below lists the controlled status of the signal on SDIO in different timing during a read operation. www.sonix.com.tw STWM-2010...
When the write operation completes, the Master keeps the signal on SCLK low as a stop condition. The Slave releases the SDIO on the falling edge for an external pull-up resistor to pull high. The signal on SDIO has to be pulled high before every write operation. The Slave pulls the signal on SDIO www.sonix.com.tw STWM-2010...
Pulse duration, SCLK high w(SCLKH) μs Pulse duration, SCLK low < 78 w(SCLKL) Setup time, SDIO state change before – μs < T su(SDIOV-SCLKL) w(SCLKH) SCLK low μs – Hold time, SDIO valid after SCLK low h(SDIOV-SCLKL) w(SCLKL) www.sonix.com.tw STWM-2010...
Valid Index Indication of Bit [59:0] Valid (Bit 60 = 0) Indication 59–54 Reserved 53–45 Angle Reserved OID2 OID3 with General code OID3 with Position Code Indication Indication Indication 43–16 Reserved 43–28 Reserved 43–0 Coordinate 15–0 16-bit index 27–0 Index www.sonix.com.tw STWM-2010...
To convert the coordinate to X coordinate: Combine the integer in binary, 00 0000 0000 0100b, with the fractional bit in binary, 0111 0100b to get the 21-bit X coordinate. 21-bit X coordinate = 0 0000 0000 0010 0111 0010b = 626 (decimal) www.sonix.com.tw STWM-2010...
Command/Index 1: Command OID mode 62–61 01: Original OID mode Else: Reserved 60–16 Reserved Command 0xFFF8: Decoder entered normal mode. 15–0 0xFFF6: Decoder is going to enter calibration mode. DSP/MCU sets 2-wire SCLK and SDIO as input mode. www.sonix.com.tw STWM-2010...
The OID decoder does not output index until a different set of valid data is read. By setting this command, the OID decoder outputs all indexes even if the data is redundant or invalid. www.sonix.com.tw STWM-2010...
Take PGA gain2 as an example, the calculation of length and checksum is demonstrated as below. Length = 2 * 2 + 1 Checksum = Low Byte of 0x05 + 0x16 + 0xC7 + 0x04 + 0x70 = Low Byte of 0x156 = 0x56 www.sonix.com.tw STWM-2010...
Page 15
Sonix or any of its suppliers, agents or representatives in connection therewith. The information contained in this document is the property of Sonix, and none of it may be used, reproduced or distributed without the express written permission by Sonix.
Page 16
SNM9S50x/51xx/52xx 2-wire Interface Manual SONiX Technology Headquarter Taipei Office 10F-1, No.36, Taiyuan Street, 15F-2, No.171, Song Ted Road, Zhubei City, Hsinchu, Taiwan Taipei, Taiwan Tel: +886-3-5600-888 Tel: +886-2-2759-1980 Fax: +886-3-5600-889 Fax: +886-2-2759-8180 http://www.sonix.com.tw/Masterpage-en mkt@sonix.com.tw sales@sonix.com.tw Japan Office Hong Kong Office Kobayashi bldg.
Need help?
Do you have a question about the SNM9S50 Series and is the answer not in the manual?
Questions and answers