Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Programming the AT90S8535

Status
Not open for further replies.

Smalluser

Newbie level 1
Joined
Jan 28, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
6
Who can help me in programming the port A in output mode?
Input mode works perfect.
In output mode the PORTA dataregister and DDRA register are correctly set but the pin itself stays at 0 Volts. Here is my programming sequence


;PORT A AS OUTPUT
LDI R16,255
OUT DDRA,R16


;PORT A OUTPUT
LDI R16,15
OUT PORTA,R16

Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top