New 65c02 build with DUART problems
Re: New 65c02 build with DUART problems
Well, I'm not sure why yet, but when I switched to to using channel b, everything is working fine there. So, I guess it'll take a bit more work to figure out what's going on with that, but at least it's working.
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: New 65c02 build with DUART problems
You're making it unnecessarily difficult for yourself by "jerking around" this way. The data table and method of loading the 28L92's registers I earlier put up does work—the code is right out of my POC V1.2 firmware. It would be easier to help you if you were to post the entire code you are using rather than little unconnected bits and pieces. Post it as a text file and I'll take a look.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
jmthompson
- Posts: 127
- Joined: 30 Dec 2017
- Location: Detroit, Michigan, USA
- Contact:
Re: New 65c02 build with DUART problems
This thread is starting to sound eerily similar to the problems I had with the 28L92 in my build last year, where for some reason the wrong baud rate table is selected, and so instead of 115.2k bps I was getting 9600 bps. I never did figure it out, and in fact the problem persists even after a complete rebuild (including new breadboards, a different 28L92, and a different PLC44->DIP44 adapter). I ended up just using 38.4 kbps since it's the same on all baud rate tables.
One thing I never did try is port B...my build is on hold right now while I work on an automation project for the house,but once it's back on the bench I may have to give port B a shot.
One thing I never did try is port B...my build is on hold right now while I work on an automation project for the house,but once it's back on the bench I may have to give port B a shot.