• 検索結果がありません。

ファイルキャビネット mouse east

N/A
N/A
Protected

Academic year: 2018

シェア "ファイルキャビネット mouse east"

Copied!
15
0
0

読み込み中.... (全文を見る)

全文

(1)

決死 IC 間通信 (EEPROM)

2013.07.07  東日本支部 高橋

(2)

意味

IC 間通信:

I2C  (Inter‐Integrated Circuit, I‐Squared‐C)

決死:

掛 面倒

問題 挫折 や い

EEPROM :

前回 LCD /   今回 EEPROM

I2C 関係 い話 前回 LCD

(3)

内容

• I2C 対応

• EEPROM   用途

• EEPROM  (24FC1025)

回路図

サン

目標

最大 時間

時間

• MCU 事情

課題

(4)

I2C 対応

LCD

EEPROM

ンサ ャ

ンサ 加速度

ンサ 出力

I2C/SPI 両者 対応 多い

EEPROM

I2C対応/SPI対応 2品種

挙 一握 事例

(5)

EEPROM   用途

走行中 各種

ンサ測定値

ッ 電圧

迷路壁判定結果

※ 保存 内容 好 う

(6)

EEPROM  (24FC1025)

今回使用 EEPROM 24FC1025 (Microchip, 1Mbit, I2C接続)

書 換え 書 込 電源 消え い

1Mbit いう事 ÷8bit 128KB

R/W 2 64KB 限界

MCU 64KB 扱う

4 同一 配置 事

VCC Range: 1.8‐5.5V

Max. Clock Frequency: 1MHz

Write Operation: Byte Write, Page Write

Read Operation: Current Address Read, Random Read, Sequential Read

書 込 サ Page単位 128 時間 3ms5ms

書 込 単位 時間 1 Page

時間 使う時 勧

(7)

回路図

コン側 汎用 ン2本 駆動電

IOL > 2mA

VCC, GND EEPROM

(8)

サン

• SH7215(50MHz) I2C

EEPROM サン 作成

void  eep_Init(void);

int eep_Write(uint32_t  addr, const uint8_t *buf, uint32_t size);

int eep_Read(uint32_t  addr, uint8_t *buf, uint32_t size);

I2C 速度: 約 200kHz  (max)

参考: I/O 単純 ON/OFF1MHz(max)

※ 以後 話 SH7125 I2C 使う前提

MCU 操作 ば使え

後 部 変更 必要

(9)

目標

走行中 ンサ測定値 AD 変換後

記録 い

走行完了後 PC 吸い

Excel

ンサ測定 ン : 1ms 間隔

ンサ個数: 4

AD 変換値 数: 10bit

目標 様 1ms 間隔 最大 8

保存 事 目指

(10)

最大 ン 時間

EEPROM : 1Mbit (128KB  1KB=1024 ) サン ン 間隔: 1ms

サ :8 (max)

求 最大 ン 時間 ...

サ 最大 ン 時間

1 128

2 64

4 32

8 16

ン 開始 終了 特定 迷路区間 限定 工夫 必要

く サン ン 間隔 間引く事 時間 倍増さ 事 可能

(11)

書 込 時間

EEPROM 時間 合計

MCU EEPROM 転送時間 I2C 速度 関連 EEPROM内部 素子書 換え時間 35ms/Page

転送時間

速度 約200kHz, 1 (128 )  5.3ms (実測)  素子書 換え時間

Write 終了 Stopコン ョン 送信さ 素子書 換え

行わ BUSY状態 Write

考慮 単純 128 行う

1ms サン 間隔 合わ

MCU EEPROM

Page Buffer 128 Bytes

素子

Page Buffer I2C

128 Bytes

(12)

ッ ン

MCU

EEPROM

Page Buffer 128 Bytes

素子 I2C

Page Buffer 128 Bytes

解決策

Page Buffer 128 Bytes

サン

転送

サン 時間 > 

転送+素子書 換え 時間 あう

例: 1ms 8 サン 16ms > (5.3ms + 5ms)

I2C MCU 内蔵さ MCU 負荷

(13)

課題

実働サン 作成

次回

(14)

MCU 事情

• STM32 Flash

EEPROM 使用

Application  Note:

AN2594  EEPROM Emulation in STM32F10x microcontrollers

• RX EEPROM 使用

ョン

RX600 RX  MCU 仮想 EEPROM

• H8/3694 I2C 使え

(15)

公開 サ 用意

http://sites.google.com/site/higetakamouseeast/

オン RX 検索

最初 方 出 く う

入手先

参照

関連したドキュメント

How- ever, several countries that produce large amounts of exhaust (the U.S.A., China and India) are not par- ticipating in these initiatives. The failure of these countries to

Furthermore, administration of testosterone to female mice newly induces nuclear JunD/menin immunoreactivity in cells located in the proximal portions of the SD at 6-24 hrs,

PowerSever ( PB Edition ) は、 Appeon PowerBuilder 2017 R2 日本語版 Universal Edition で提供される PowerServer を示しており、 .NET IIS

Appeon and other Appeon products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Appeon Limited.. SAP and other SAP

There is a bijection between left cosets of S n in the affine group and certain types of partitions (see Bjorner and Brenti (1996) and Eriksson and Eriksson (1998)).. In B-B,

“Breuil-M´ezard conjecture and modularity lifting for potentially semistable deformations after

To understand the roles of our senior executives and oversight of our board of directors with relation to purpose, values and strategy please see the Management Approach sections

GRI Standard Disclosure Cross reference or Answer Additional Notes GRI 403: Occupational Health and Safety 2018. 403-1 Occupational health and