PIC RMW problem

Nothing special. Usually when you enable a peripheral it "takes over" the relevant pins. The TRIS register bits are often still important, but they are internal latches and don't have the RWM issue.

Best regards, Spehro Pefhany

--
"it\'s the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany
Loading thread data ...

A while back, you guys set me straight about PICs and their RMW port write problems. What do you do when PWM or something else is driving one of the port pins?

Reply to
Mike Young

The only possible pitfall is where you turn the peripheral on & then off again - RMW issues may mean that when you turn off the peripheral pin function, the pin state may be different from what it was when the peripheral was turned on.

Reply to
Mike Harrison

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.