EmbeddedRelated.com
Forums

RCM3700 Serial Port B

Started by fkestler July 28, 2004
I note that the pins (PD4 and PD5) for Serial Port B for the RCM3700
are listed as Alternate Serial Port B. Is there additional code that
I have to include in my defines to enable port B for serial
communication? I currently have it connected to an RS232 level
shifter but have been unable to communicate with this port.


At 09:17 AM 7/28/2004, you wrote:
>I note that the pins (PD4 and PD5) for Serial Port B for the RCM3700
>are listed as Alternate Serial Port B. Is there additional code that
>I have to include in my defines to enable port B for serial
>communication? I currently have it connected to an RS232 level
>shifter but have been unable to communicate with this port.

Add the following define to use the port D pins:

#define SERB_USEPORTD

<Scott


--- In rabbit-semi@rabb..., "fkestler" <fkestler@y...> wrote:
> I note that the pins (PD4 and PD5) for Serial Port B for the
RCM3700
> are listed as Alternate Serial Port B. Is there additional code
that
> I have to include in my defines to enable port B for serial
> communication? I currently have it connected to an RS232 level
> shifter but have been unable to communicate with this port.

We have noticed that on the new RCM3700 target,
it is now necessary to set the data direction register
when using port B, whereas with the older boards this was not
required.