Keep calm and be constructive.
Any news Ozone and cybdyn?
i have got all parts,
i found few bugs, it took 1..2 days to found each.
now i'm working on fpga code, and code for ARM.
maybe soon i'll attach dcio to DC, and make vid. maybe ask OzONe.
PM me.
i mean, in future, because we run a games first, then run them from usb-hdd, then reach to cdda support. step-by-step
It seems that great progress has come about for DCIO.
All the efforts that the community programmers are putting into DCIO.
When boards are ready for the DC community, give the green flag so we can buy!
Thanks,
-Steve.
Sure! But please say that mine almost certainly won't be done before OzOnE and cyndyn's. It's more of a personal project. It may not even work at all; a microcontroller could be too slow.
However, I do plan on eventually selling them at low-to-no profit, and will be open-sourcing everything once it's all done.
don't forget freq 33.8688 on MCK line.
Thanks, cybdyn. I don't think I've seen that particular project yet.
It looks like they're using the slightly higher-spec version of the chip I'm using. Actually, that's the most advanced chip STM even offers. That's just for the prototype though, right? I really doubt they'd need a microcontroller that fast if they have an FPGA handling the low-end signaling.
For capturing the CS, DA, and WR/RD signals, the current plan is to have the microcontroller just run in a constant loop while waiting for a falling edge on WR or RD (I think interrupts will be too slow). CS0/1 and DA2/1/0 are the control lines, set up to be read as an address straight from the GPIO port. So, if the Dreamcast requests the status, it would set the CS and DA lines, then RD would fall. The MCU would read the control line port, use that as an address offset, and copy the value from that spot in RAM to the data lines which the Dreamcast would then read.
Sorry if that's a bit more confusing; it makes sense in my head. The difficult part is definitely making sure I'm fast enough - it looks like the /RD strobe only lasts ~90-100ns, so about 15 instructions. Hopefully I succeed.
As for the 33.8688MHz signal: The plan is to eventually support CCDA, so I chose a chip with built-in serial audio capability. The 33.8688MHz signal needs to be synchronized with the audio, so I selected a 16.9344MHz (1/2 of MCK) crystal for the MCU and will be outputting the MCK signal on the serial audio MCK pin. This way, the MCU provides the master clock and is synchronized with the serial data as well. Plus, I don't need an extra external oscillator for the signal.
i understand what you mean.
data from PIO side updates w/ delay, so maybe couple clocks will be lost on synchronization.
also you need capture data from ADR[2..0] and CS[1..0]. it's possible get all this info as PIO port can be 32 bit wide. so better define data , addr, cs line on same port.