6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Nov 05, 2024 5:29 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 6522 frustration
PostPosted: Fri Dec 30, 2005 7:56 pm 
Offline

Joined: Fri Dec 30, 2005 7:44 pm
Posts: 2
I'm new to 6522's and I've got one connected to my 6502 system with CS2 going to 0xA000, RS0-3 going to A0-A4, RESET to RESET on CPU, PHI2 to PHI2 on CPU and D0-D7 to databus on CPU. IRQ is tied high.

If I put 0xFF into DDRA (0xA003), then put 0x55 into port A (0xA001) the pins on port A all show up as 5V, why? Is there something simple I'm missing? I've double checked my wiring and it is all correct.

I'm pretty sure the interfacing is correct, I can read back the values of the registers that I program. Any ideas.

thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 30, 2005 8:29 pm 
Offline

Joined: Fri Dec 30, 2005 7:44 pm
Posts: 2
Nevermind, it was a programming error. All is good.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 30, 2005 9:23 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8538
Location: Southern California
In the "Tip of the Day" column starting at http://www.6502.org/forum/viewtopic.php?t=342 , tip numbers 4 through 9, 11, and 15 through 21 are about the 6522.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: