Page 2 of 28

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 31 Oct 2022 13:41
by stephen_usher
It's not unusual.

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 01 Nov 2022 02:17
by dad664npc
I have found the SPI clock wasn't 20MHz as I selected. It was in fact running at 12MHz. The PICO derives the SPI clock from the USB clock, which is fixed to 48MHz. I found a way to increase the SPI clock, but there is so much noise on the bus, it fails to go above 16MHz. Nevertheless. this small increase takes the transfer rate to 751 KB/s at 250MHz cpu clock. I can't run the cpu any higher than that with the increased SPI speed. So, without a PCB designed, I don't think I'll be progressing on the transfer rate. I'm happy running the PICO at a clock of 125MHz, which yields a transfer rate of 683KB/s.

Currently looking in to RTC - would be nice to know how ICD implement their clock - anyone know anything about this?

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 01 Nov 2022 09:28
by tzok
You may need to adjust pull-up resistors on the SPI bus for 20 MHz SPI, and be careful when using SD-Card break-out boards, as some of them have voltage converters/dividers which are not needed for the Pico using 3.3V logic.

Don't know about ICD clock, but Ultra Satan clock is re-implemented in ACSI2SD.

You may also take a look at: https://github.com/carlk3/no-OS-FatFS-SD-SPI-RPi-Pico

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 01 Nov 2022 11:29
by Badwolf
dad664npc wrote: 29 Oct 2022 05:11 I'll gladly share my design if there is interest.
I'd be interested!

I'm still using an old ACSI2STM that I veroboarded up ages ago and whilst I meant to re-do that as a proper PCB, my first design failed and I haven't had time to go back to it.

I'm a sucker for somethig new, though, so if you're happy to share you schematic and your software, I'll try to put together another PCB.

Cheers,

BW

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 01 Nov 2022 12:11
by JezC
Badwolf wrote: 01 Nov 2022 11:29
dad664npc wrote: 29 Oct 2022 05:11 I'll gladly share my design if there is interest.
I'd be interested!

I'm still using an old ACSI2STM that I veroboarded up ages ago and whilst I meant to re-do that as a proper PCB, my first design failed and I haven't had time to go back to it.

I'm a sucker for somethig new, though, so if you're happy to share you schematic and your software, I'll try to put together another PCB.

Cheers,

BW
I'd also be interested in this...and I have a couple of 'spare' Pico boards which I could use ... ;)

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 02 Nov 2022 04:13
by dad664npc
Here you go

https://github.com/gotaproblem/ST_HD_Emulator

Feedback would be appreciated

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 02 Nov 2022 11:26
by Badwolf
dad664npc wrote: 02 Nov 2022 04:13 Here you go

https://github.com/gotaproblem/ST_HD_Emulator

Feedback would be appreciated
Cool. Many thanks!

I see you've used kicad for the schematics. If you could chuck in the SCH file it'll save me having to transcribe it again. :thumbup: :P

BW

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 02 Nov 2022 13:18
by dad664npc
done

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 02 Nov 2022 16:51
by Badwolf
dad664npc wrote: 02 Nov 2022 13:18done
:thanksblue:

BW

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Posted: 02 Nov 2022 21:03
by sporniket
thanks :)