| ??? 02/02/03 12:37 Read: times |
#38054 - How to recive Midi-Data with a 8051UART? |
Hi,
I want to recive Midi-Data with a 8051-UART. Sending Midi-Data with the source below is no problem, but reciving doesn't work: The lowest bit is allways missd. And unique bits are also missed. Carl Engler This is the current source: =========================== ; Projekt CT-TG13 2002/2003 : ; 21.01.2003 ; ; The MIDI Interface operates at 31.25 k Baud (+1%) ; using an asynchronous serial data byte ; comprising 1 Start bit, 8 Data bits (0 to 7) and 1 Stop bit. ; This makes a total of 10 bits per serial byte with a period of 320 microseconds. ; ; Org 0h include c51rd2.inc IOinit: CLR TR1 MOV TMOD,#00100110b MOV TH1,#0FFh MOV SCON,#01010000b MOV PCON,#10h SETB TR1 CLR RI SETB TI Loop: JNB P3.3,NO_TR JNB TI,NO_TR CLR TI MOV Sbuf,P1 MOV P2,P1 Unpress: JB P3.3,Unpress NO_TR: JNB RI,NO_RE MOV P2,SBUF CLR RI NO_RE: JMP Loop End. |
| Topic | Author | Date |
| How to recive Midi-Data with a 8051UART? | 01/01/70 00:00 | |
| RE: How to recive Midi-Data with a 8051UART? | 01/01/70 00:00 | |
| RE: How to recive Midi-Data with a 8051UART? | 01/01/70 00:00 | |
| RE: How to recive Midi-Data with a 8051UART? | 01/01/70 00:00 | |
| RE: How to recive Midi-Data with a 8051UART? | 01/01/70 00:00 | |
RE: Midi | 01/01/70 00:00 |



