diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Digital Line Level (http://www.diyaudio.com/forums/digital-line-level/)
-   -   Serial Communication with TOSLINK (http://www.diyaudio.com/forums/digital-line-level/207937-serial-communication-toslink.html)

sakibnaz 2nd March 2012 04:24 AM

Serial Communication with TOSLINK
 
Hi All.

I am trying to send Serial Data from Microcontroller to my PC over Optical.
I have connected:

TOTX147 VIN ----> MCU TXD
TORX147 VOUT ---> MCU RXD


The MCU sending "Hello" every 1 sec interval (with 115200 Baud)... but at receiving End (at PC), I am not getting actual data. I am getting some ERROR (Garbage) Data every 1 sec Interval. I have directly connected the TOTX and TORX with MCU UART PIN's. Do I need to use additional any circuit (Like Pull-Up or Logic Level Converter) to receive Actual data?

Thanks for reading. Awaiting for your suggestion.

Regards.
Sakibnaz.

peranders 2nd March 2012 05:34 AM

Don't you have a SPDIF decoder in the PC end?

sakibnaz 2nd March 2012 06:03 AM

Hi thanks for reply.

No, I don't have any decoder. I have connected TORX with my PC COM port through MAX232 circuit.

Should it work?

Regards.
Sakibnaz.

sakibnaz 2nd March 2012 06:30 AM

Extremely sorry. I told u wrong connection. My connection is like below:

MCU TXD --- TOTX147 VIN
TORX147 VOUT --- PC COM Port (through MAX232 circuit)

Thanks.
Sakibnaz.


All times are GMT. The time now is 05:07 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2