W!o+ 的《小伶鼬工坊演義》︰ 從下而上‧由上往下

一時 Mrphs 說道︰雖然先生曾在

《派生》 Python 作坊【甲】尋本溯源》文本中,談到『 甲骨文作一』『作』字。

甲骨文作一

甲骨文作二

甲骨文作三

△★ 坊

《説文解字》:,起也。从人,从乍。

本義:木匠用刀具砍斫削刻,制作器物。

《説文解字》:,邑里之名。从土,方聲 。古通用埅。

原意:邊塞的防護墙。

───

 

但是 W!o+ 非常心儀『 工 』『工』字。他講這個『工』字古來就代表多功能『工具』,因此後有『工欲善其事,必先利其器』之說 ,所以特取名為『工坊』。彼時作者當真墬落『工』『作』和『作』『工』之輪迴裡。縱想問,卻不知問之『目的』安在?……只聽 Mrphs 又講︰W!o+ 認為

懷疑是種子,經驗雖除惑,催生新懷疑。

所以理知之方法學,應當要效法『龍捲風』

從下而上‧由上往下,積聚力量。

故而『工坊』內的網絡佈置都採用『明線』,因應著學習心得常會有變遷………

此時回顧,果然

假使一個人果能站在前人學問的基石上,又天真好奇孜孜不倦,那就會如孔子在《論語‧子罕》:

後生可畏焉知來者之不如今也。 四十、五十而無 ── ㄨㄣˊ陽關道 ──焉,斯亦不足畏也已。

,裡所說的一樣。甚至要能如下面所引的『一則故事』那樣

歐陽修, 一向治學嚴謹,直至晚年,不減當初。他常將自己平生所寫的文章,清理出來進行修改,每字每句反覆推敲,甚是認真。為此,他整天辛苦勞累,有時直忙 到深夜。夫人見他年歲已高,還如此盡心費神,恐其操勞過度,影響健康,十分擔心,目前制止。她關切地對丈夫說:『官人,何必如此用功,不惜貴體安康,為這 些文字吃這樣多的苦頭,官人已年邁致仕(退休),難道還怕先生責難生氣嗎?』歐陽修回答說:『不怕先生生氣,只怕後生生譏』,『後生可畏耶!』

活到老學到老

─── 引自《後生可畏!?

 

假使按著 W!o+ 的學法, I2C 光知道維基百科詞條︰

I²CInter-Integrated Circuit)字面上的意思是積體電路之間,它其實是I²C Bus簡稱,所以中文應該叫積體電路匯流排,它是一種串列通訊匯流排,使用內送流量備援容錯機制從架構,由飛利浦公司在1980年代為了讓主機板嵌入式系統手機用以連接低速週邊裝置而發展。I²C的正確讀法為”I-squared-C” ,而”I-two-C”則是另一種錯誤但被廣泛使用的讀法。自2006年11月1日起,使用I²C協定已經不需要支付專利費,但製造商仍然需要付費以取得I²C從屬裝置位址。

 

425px-I2C.svg

設計概說

I²C只使用兩條雙向漏極開路(Open Drain)(串列資料(SDA)及串列時脈(SCL))並利用電阻將電位上拉。I²C允許相當大的工作電壓範圍,但典型的電壓準位為+3.3V或+5v。

I²C的參考設計使用一個7位元長度的位址空間但保留了16個位址,所以在一組匯流排最多可和112個節點通訊[a]。常見的I²C匯流排依傳輸速率的不同而有不同的模式:標準模式(100 Kbit/s)、低速模式(10 Kbit/s),但時脈頻率可被允許下降至零,這代表可以暫停通訊。而新一代的I²C匯流排可以和更多的節點(支援10位元長度的位址空間)以更快的速率通訊:快速模式(400 Kbit/s)、高速模式(3.4 Mbit/s)。

雖然最大的節點數目是被位址空間所限制住,但實際上也會被匯流排上的總電容所限制住,一般而言為400 pF。

 

600px-I2C_data_transfer.svg

 

只是個起步。更需要通盤熟讀

 

I2C – What’s That?

I2C-Bus: What’s that?

The I2C bus was designed by Philips in the early ’80s to allow easy communication between components which reside on the same circuit board. Philips Semiconductors migrated to NXP in 2006.

The name I2C translates into “Inter IC”. Sometimes the bus is called IIC or I²C bus.

The original communication speed was defined with a maximum of 100 kbit per second and many applications don’t require faster transmissions. For those that do there is a 400 kbit fastmode and – since 1998 – a high speed 3.4 Mbit option available. Recently, fast mode plus a transfer rate between this has been specified.  Beyond this there is the ultra fast mode UFM, but frankly, this is not a real I2C bus.

I2C is not only used on single boards, but also to connect components which are linked via cable. Simplicity and flexibility are key characteristics that make this bus attractive to many applications.

Most significant features include:

  • Only two bus lines are required
  • No strict baud rate requirements like for instance with RS232, the master generates a bus clock
  • Simple master/slave relationships exist between all components
    Each device connected to the bus is software-addressable by a unique address
  • I2C is a true multi-master bus providing arbitration and collision detection

Want to learn more?

Looking for I2C tools and software?

Whether you need a high speed I2C solution or a USB I2C interface, whether you want to monitor the bus or need a software platform for your own application, we can help you!.

───

 

要還能詳讀

UM10204

I2C-bus specification and user manual

Rev. 6 — 4 April 2014
User manual

 

大概算是入門了吧!!??