数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PC87366 数据表(PDF) 170 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 PC87366
功能描述  128-Pin LPC SuperI/O with System Hardware Monitoring, MIDI and Game Ports
PDF  240 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

PC87366 数据表(HTML) 170 Page - National Semiconductor (TI)

Back Button PC87366 Datasheet HTML 166Page - National Semiconductor (TI) PC87366 Datasheet HTML 167Page - National Semiconductor (TI) PC87366 Datasheet HTML 168Page - National Semiconductor (TI) PC87366 Datasheet HTML 169Page - National Semiconductor (TI) PC87366 Datasheet HTML 170Page - National Semiconductor (TI) PC87366 Datasheet HTML 171Page - National Semiconductor (TI) PC87366 Datasheet HTML 172Page - National Semiconductor (TI) PC87366 Datasheet HTML 173Page - National Semiconductor (TI) PC87366 Datasheet HTML 174Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 170 / 240 page
background image
10.0 Musical Instrument Digital Interface (MIDI) Port (Continued)
170
www.national.com
UART Mode
Entering UART mode is done by software, by giving the MIDI Port command of 3Fh. Once in UART mode, both transmit and
receive are enabled. In addition, the two 16-byte Receive and Transmit FIFOs are automatically enabled.
In UART mode, data written to the MDO register is placed in the Transmit FIFO, from which it is taken by the MIDI Commu-
nication Engine and transmitted via the MDTX pin to the MIDI device. Likewise, whenever the Transmit FIFO is not empty,
the next byte is taken out by the Communication Engine and transmitted via the MDTX pin to the MIDI device.
Whenever serial data is received by the Communication Engine via the MDRX pin, it is de-serialized and put in the Receive
FIFO. Reading the MDI register returns the next byte in the Receive FIFO. The MDI register should not be read while the
Receive FIFO is empty. If serial data is received while the Receive FIFO is full, this data is lost and not stored in the Receive
FIFO, thus keeping the data that was previously stored in the Receive FIFO.
When in UART mode, the MIDI Port responds to commands given by the host as follows:
q
A command of FFh returns the MIDI Port to Pass-Thru mode, and resets it to its initial state.
q
All other commands, issued while the MIDI Port is in UART mode, are ignored.
When switching from UART mode to Pass-Thru mode, any data previously stored in the Receive FIFO is lost, unless the
FIFO is enabled for Pass-Thru mode.
As in Pass-Thru mode, if a command is issued to the MIDI Port while the MIDI Communication Engine is in the middle of a
byte transfer, the execution of the command and the response are postponed until the ongoing byte transfer is completed.
The MIDI commands supported by the MIDI Port and their respective responses are listed in Table 49.
After each MIDI Port operation in UART mode, the MSTAT register is updated accordingly.
Table 49. MIDI Commands Supported by the MIDI Port
10.2.7
MIDI Port Status Flags
The status of the various functional units of the MIDI Port is reflected by the MSTAT register. This register is functional in
both Pass-Thru and UART modes. Some of the status indications provided by the MSTAT register are not included in the
Legacy definition of the MIDI Port. These indications can be ignored, if not required by the software.
The following status flags are included in the Legacy definition of the MIDI Port:
q
Receive Buffer Empty
q
Transmit Buffer Full
The Receive Buffer Empty flag is reflected by bit 7 of the MSTAT register. The Transmit Buffer Full flag is reflected by bit 6
of the MSTAT register. When operating in UART mode, these bits reflect the status of the Receive and Transmit FIFOs.
The Receive Buffer Empty status flag is cleared to 0 also when an acknowledge byte is put by the MIDI Port itself following
a MIDI command.
Command
MIDI Port Response
Pass-Thru Mode
UART Mode
3Fh
Enter UART mode
FEh (Acknowledge)
Ignored
A0h-A7h, ABh
FEh (Acknowledge)
00h
Ignored
ACh
FEh (Acknowledge)
15h
Ignored
ADh
FEh (Acknowledge)
01h
Ignored
AFh
FEh (Acknowledge)
64h
Ignored
FFh
MIDI Port Reset
FEh (Acknowledge)
Enter Pass-Thru Mode
MIDI Port Reset
Others
FEh (Acknowledge)
Ignored



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com