发明名称 Electronic apparatus
摘要 An electronic apparatus provided with a serial communication circuit achieving a baud rate adjustment with high precision is provided. For example, a bit width of each of a plurality of bits in received serial data is measured by a clock counter, and an average value of the bit width is calculated detecting its maximum value and minimum value. Moreover, for example, a maximum tolerance and a minimum tolerance are calculated as a value substantially 1.5 times the average value and a value substantially 0.5 times the average value, and determination is made as to whether or not the maximum value and the minimum value are within a range between the maximum tolerance and the minimum tolerance. If they are within the range, the corresponding average value is set in a baud rate setting register.
申请公布号 US8782300(B2) 申请公布日期 2014.07.15
申请号 US201213692506 申请日期 2012.12.03
申请人 Sanken Electric Co., Ltd. 发明人 Hiromatsu Ayumi;Katayama Masahiro;Yamazaki Takanaga
分类号 G06F3/00;G06F13/00;G06F15/16 主分类号 G06F3/00
代理机构 Crowell & Moring LLP 代理人 Crowell & Moring LLP
主权项 1. An electronic apparatus carrying out serial communication with another apparatus having a communication function, the electronic apparatus comprising: a serial interface circuit including a baud rate adjusting circuit and carrying out serial communication with the other apparatus; and a clock generation circuit generating an internal clock signal, the electronic apparatus being connected to the other apparatus and receiving a serial signal from the other apparatus, wherein the serial signal is composed of a start bit of 1 bit, data bits having a plurality of bits following the start bit and a stop bit of 1 bit following the data bits, wherein the baud rate adjusting circuit executes the processes of: (a) measuring a time width of each of bits composing the received serial signal by using counting operations of the internal clock signal generated by the clock generation circuit; (b) detecting a maximum value and a minimum value of time widths of the respective measured bits; (c) computing an average value of the time widths of the respective measured bits; (d) computing a maximum tolerance and a minimum tolerance based upon the average value of the time widths of the respective bits; (e) determining whether or not the maximum value and the minimum value are located within a range of the maximum tolerance and the minimum tolerance; and (f) setting a baud rate corresponding to the average value when the maximum value and the minimum value are within the range of the maximum tolerance and the minimum tolerance, and wherein the electronic apparatus executes the serial communication with the other apparatus at the set baud rate.
地址 Niiza-shi JP