Hello. I'm writing some code to control the GPIO ports of a raspberry pi so I can program a MSX cartridge. The PWM can generate the 3579545Hz clock. Now I want to to set the address/data and do a memory write.
From software the gpio ports can be controlled very precisely.
- What duty cycle should the clock be? 20%? 50%?
- Is memory write detected on rising edge of the clock, or lowering edge
- How many nanoseconds before and after that event should the address/data/WR/Slot select/etc be set?
For this to work I'm writing a little linux kernel driver which busy loops the raspberry CPU with interrupts off.
Thank you
Aangemeld of registreer om reacties te plaatsen