Search Notebooks
作るものめも

Page owner: user munef elec

Created 24 Dec 2010.
Last updated 24 Dec 2010

作るものめも

Page last updated 24 Dec 2010, by   user munef elec   tag No tags | 1 reply  

USB-UARTでOLEDに表示するものを作ってみる.

USB-SPIブリッジにする


1 comment

03 Jan 2011 . Edited: 03 Jan 2011

Packet format

Data Format (Sent from host)
Index data hex Description
0 Header 0x55
1 NumBytes Number of Data in decimal.
2~ Data Command and data to send.

Command ID:

1: Write 1 byte
2: Write n bytes
read next byte and check NumBytes.
3: Read 1 byte
4: Read n bytes
read next byte and check NumBytes.
5: Return Ack (For debug)

0x55: Change SPI mode
Read next byte and use as mode (0 - 3)

Please log in to post a comment.