Jump to content
IGNORED

SIO2BSD turbo speed


Recommended Posts

OK, time for some more results. I hooked up RPi Zero W again and retested the speeds. In a *default* RPi configuration usable range for devider 1 is the same as it is in RPi 3+: 107000 to 111850.

Previous results of 108940 - 112120 were due to me messing up with UART clock. I left this line in /boot/config.txt: init_uart_clock=1920000. If I remove it, range of 107000 - 111850 is what I'm getting.

I also hooked up command line, and again, just like RPi3+ my RPi Zero W performs well with handshake. No need to specify baud rates, just a divider:

sudo ./tools/atariserver -f /dev/serial0 -C -S 0 -p -1 ../hisioboot-atarisio.atr -p -2 ../BRUCELEE.ATR

Hope this clarifies results.

Link to comment
Share on other sites

So yes, rate ranges differ for some reason. I retested them to be sure and that's what they are on RPi 3. Let me connect command line to RPi Zero, add dtoverlay and see if it changes anything.

Could you double-check that you are using /dev/ttyAMA0 on RPi0W as well? With the miniuart /dev/ttyS0 speeds will be a bit different (IIRC 31.5MHz baud base but only integer dividers).

 

In general I try to avoid the /dev/serialX aliases and only use /dev/ttyAMA0 or /dev/ttyS0 to select devices, then it's clear which one I used for tests :-)

 

so long,

 

Hias

Link to comment
Share on other sites

Thanks for checking!

 

Seems I missed your last post mentioning init_uart_clock. This'll result in a lower baud base (1.2MHz instead of 3) and also in higher jitter from the fractional divider. That's probably the reason for the changes in range.

 

so long,

 

Hias

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...