Hi
The question below has not been answered and I think I have the same issue.
I'm trying to connect to a HDLC/SDLC device using external clocking.
I am receiving an ext clock RCLKE on PG5 (Serial port E) and receiving
frames/packets from the device.
However the Rabbit transmit is not happening (internally or externally), there
is no clock to the transmit buffer because the repeated sending I get with
internal clocking is not happening. Nothing is sent till the SEDR is clocked and
nothing is being sent!. Further, there is no output/transmit clock TCLKE signal
on PG4.
Basically I'm using the HDLC_Test.c sample, modified for external clocking
(ie. call HDLCextClockE();) and delay 1 sec b/w sending.
I also set bit 4 in PGFR (in HDLC_packet.lib) in an attempt to get the
output/ext clock.
But it does not seem to work. Anybody got External clocking for HDLC working?.
The R3000UM is useful and confusing, it talks about TCLKE and RCLKE being both
input and output and being available/supplied(?) on the same or separate pins...
How does that work??? I'm assuming the rabbit IS using the clock its
receiving on PG5, but the baud rate and timers A1 and A2 are set so it could be
using that?
In section 18.3.2 HDLC Mode, point 4. "Select additional options by writing to
SxER (data encoding, idle line condition, under-
run behavior, and combined or separate clocks)."
*** SEER doesn't have a bit to combine or separate the clocks????
Any ideas would be useful. The alternative i guess is to implement clock
reconstruction on the other device.
Regards
Wayne Singleton
--- In r..., Viral Vora wrote:
>
> Hi
> How to O/P, HDLC internal Clk (as per the selected baudrate) on any of
the I/O Pin. I think it should Outputted from the TCLKE (PG4) when i am using
Serial E for HDLC Transmitte.
>
> Regards
> -Viral Vora
>
> ---------------------------------
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
>