??? 03/28/09 01:55 Modified: 03/28/09 02:01 Read: times |
#163915 - Found the crystal! Responding to: ???'s previous message |
Hi again... I made a simple application to try to find a crystal to make 31.250 and 250.000
The after activated the application, the answer "magically" appeared in the screen in 3.265 seconds! Just one occurrence between 1mhz and 40mhz, and a comercial value (luck? very much luck?) ![]() WELL VERY NICE! The application calculated it right, this crystal is easy to find, and I have one at home! Now I think I have a small problem to solve. 8 bit and 9 bit serial data. Midi is 8bit. And as I learned to RECEIVE DMX is a 9bit technick With 8 bit: To receive Midi should be no problem. To send DMX, will need one more bit, will work if I wait 4 microseconds after sending a byte? With 9 bit: I BELIEVE, if midi command come with a small spacing between bytes it will work, but if they come very near, it wont, I think there is nothing to do. DMX should be fine. Also, I never worked with dual baud rates, and duplex mode, how should I make the ISR routine? When should I clear TI and RI? In example, will make an interruption for TI while a RI interruption is running? What happens when a TI ISR is running then a RI arrives? There is some problem if during RI ISR I send a byte by serial (MOV Sbuf,...)? (being TX idle of course) Thanks a lot! PS: "magically" ... LOL |