hi all.
 
I developed a uda1345ts linux driver.
uda1345 chip is smilar to uda1341.
so, i developed uda1345ts driver using the uda1341 source code.
But, I don't know something at uda1341 source code .
i see L3_ClockLow/Hightime is 250ns at uda1341 manual.
 
L3_clockLow/hightime is dependent in system ?
 
L3_clockLow/hightime is exactly "1"?
 
i think uda1341 is not initialized.
uda1341 can certify  the setting because uda1341 has a read function.
 
and,
L3_interface(GPIO15, 17,18) and 1345_interface(GPIO10-13(Rxd, Txd, Clock...)) is set GAFR.
But L3_interface set 0, 1345_interface set 1.
both use the GPIO, why only  L3_interface is set "0"?
 
following source code,...
 
L3_ClockLow/HighTime is defined 1.
static inline void L3_sendbit(int bit)
{
        GPCR = L3_ClockPin;
 
        if (bit & 1)
                GPSR = L3_DataPin;
        else
                GPCR = L3_DataPin;
 
        udelay(L3_ClockLowTime);
 
        GPSR = L3_ClockPin;
        udelay(L3_ClockHighTime);
}

Reply via email to