Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Found unknown device id [solved]
#3
Hi !
Thanks for your reply!
I too is of the opinion that it is some timing problem, it partly was corrected when I fixed some faulty dip-switch setting in the westermo.
I enclose the output of the GUI.
The PC side converter is a Westermo MDW-45
The PIC side converters are ISL3294 + ISL3284
Tx enable code is:
(in .h file)
Code:
#define  DEN LATA0   //Data enable

In .c file
Code:
            DEN = 1;
            //Let the DEN settle
            __delay_us(10);
            TXEN = 1;
            CPos = 0;
            while (CPos < Flen)
            {
                TXREG = ComBuf[CPos++];        //Put next char in buffer
                while (!TRMT);                //Wait for data to be shifted out
            }
            //Wait for TSR to send last bits
            while (!TXIF);

Thanks!
Jens


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Found unknown device id [solved] - by Rigor69 - 2011-12-26, 00:54:54
RE: Found unknown device id - by Rigor69 - 2011-12-26, 22:48:07
RE: Found unknown device id - by Rigor69 - 2011-12-30, 13:02:25
RE: Found unknown device id - by Rigor69 - 2011-12-31, 15:07:00
RE: Found unknown device id - by Rigor69 - 2012-01-01, 18:47:59

Forum Jump:


Users browsing this thread: 1 Guest(s)