Thread (2 messages) flat view 2 messages, 2 authors, 2000-06-07
  • SMC2 · Grant Carter <hidden> · 2000-06-07
  • Re: SMC2 · Dan Malek <hidden> · 2000-06-07

Re: SMC2

From: Dan Malek <hidden>
Date: 2000-06-07 17:05:27

Grant Carter wrote:
When I look at my manuals, I see no reference made to the bits 20 and 21
in pbpar, pbdir or pbodr. How does setting those bits enable the SMC2
pins? Those are located in Port A (PA8 and PA9)

I guess my point is why are the Port B registers being modified for SMC2
pins which are found in Port A?
Oh oh......are you using an 823 or 850?  Sorry about this, you will
have to change the code.  Someday, I have to finish up a better UART
driver.  You are the first person I know that is trying to use this
as a UART.  SMC2 is the first thing to disappear when using the parts
for other data communication protocols or interfaces, so custom
software tends to assign these for other purposes.  I seldom see anything
but SMC1 used for a UART, so making the driver better hasn't been
high on the list......


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help