Search found 23 matches

by S0urceror
Wed Mar 24, 2021 9:15 pm
Forum: Development for MiSTer
Topic: USER_IO zero and high-Z
Replies: 2
Views: 2258

Re: USER_IO zero and high-Z

I went ahead and did a test. In the normal setup I can drive an SPI with approx 150kHz which is roughly 15KB/second including some overhead to a SPI USB interface. After changing sys_top into outputting real 1’s and 0’s I do 2Mhz or around 200KB/sec. So changing this creates at least 12 times the bandwidth. I guess driving Z’s in stead of 1’s was c...
by S0urceror
Mon Mar 22, 2021 9:50 pm
Forum: Development for MiSTer
Topic: USER_IO zero and high-Z
Replies: 2
Views: 2258

USER_IO zero and high-Z

When you drive 1's and 0's to the USER_IO port the signals are respectively high-Z and GND. This means that you need to use a pull-up resistor to pull high-Z to 3.3V. And because of parasitic capacitance on the IO board this means the serial bandwidth is limited to 150kHz. Why not drive real 1's instead? Is is okay to replace the following in sys_t...
by S0urceror
Sun Mar 07, 2021 7:45 am
Forum: Development for MiSTer
Topic: Using SPI to interface custom audio DAC board
Replies: 1
Views: 2355

Re: Using SPI to interface custom audio DAC board

Hi Olekk, I am currently implementing SPI via UserIO for the MSX core. I found out that the standard IO boards only allow around 200khz SPI clocks. This is due to the 10k pull-ups and the fact that the port is configured to do zero and Z and not zero and one. I am thinking about creating a different IO board that solves the former. The latter has t...
by S0urceror
Sat Feb 27, 2021 9:31 pm
Forum: General Discussions
Topic: No more sound with spdif and ioboard
Replies: 22
Views: 8482

Re: No more sound with spdif and ioboard

@bellwood420, I confirm it also works on my SPDIF capture card which was the reason for my initial fix. Looks like we're now entirely within the standard.
by S0urceror
Thu Feb 11, 2021 7:04 am
Forum: General Discussions
Topic: No more sound with spdif and ioboard
Replies: 22
Views: 8482

Re: No more sound with spdif and ioboard

Yes. It looks like to ES9038 reads all the bits in the Spdif stream and shows it in one of its registers. So it should support the enabled bits as part of my fix. I wish I had one of these boards to check it for myself. I’ll continue to search for a solution.
by S0urceror
Wed Feb 10, 2021 5:58 pm
Forum: General Discussions
Topic: No more sound with spdif and ioboard
Replies: 22
Views: 8482

Re: No more sound with spdif and ioboard

Atohmdiy wrote: Wed Feb 10, 2021 5:34 pm I don't know if the dac handle the spdif by itself or if they use an IC.
I think the left top IC is doing the I2S and Toslink conversion. The photo of the product page does not show the type number clearly. Can you check the product code on the IC?
by S0urceror
Wed Feb 10, 2021 6:44 am
Forum: General Discussions
Topic: No more sound with spdif and ioboard
Replies: 22
Views: 8482

Re: No more sound with spdif and ioboard

This is the fact although I feel it is strange behavior(Is there a device not allowing to play music without copyright?) That is strange indeed. Did we also try just with the copy-bit? And leave the L-bit and sample-rate bit zero? In other posts on this forum I also saw other users being surprised that Toslink started to work for them suddenly aft...
by S0urceror
Tue Feb 09, 2021 8:54 pm
Forum: Official Addon Boards
Topic: IO Board v5.5: No audio over TOS-link mini
Replies: 11
Views: 6624

Re: IO Board v5.5: No audio over TOS-link mini

I recently made a fix for Toslink that is being propagated to all cores. Glad it worked for you!
by S0urceror
Tue Feb 09, 2021 8:44 pm
Forum: General Discussions
Topic: No more sound with spdif and ioboard
Replies: 22
Views: 8482

Re: No more sound with spdif and ioboard

Hi Atohmdiy, As the author of the Spdif fix I want to help. Can you describe which setup you have? Where does your Toslink go to? The fix that I proposed was to correctly set the sample rate and the copy bit in the Spdif stream. Maybe you have hardware that is sensitive to this. Maybe I can for example remove the sample rate fix but leave the copy ...
by S0urceror
Tue Feb 02, 2021 7:58 pm
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

I'm sure I must be missing something but just can't figure out what it is. Anyone able to help? I just start MultiComp. Then start a SSH to mister: ssh root@mister.lan. Then type minicom without any extra options and it should connect. Oh yeah, make sure that UART mode is None. Press SPACE for the MultiComp monitor to assign the serial connection ...
by S0urceror
Sat Jan 23, 2021 4:58 pm
Forum: Official Addon Boards
Topic: USER_IO[3] pulled to GND
Replies: 2
Views: 2038

Re: USER_IO[3] pulled to GND

Aberu, thanks for your reply. I guess what I wanted to say is that standard USB3.0 type A male/male cables icw IO board make USER_IO[3] always 0. So you have to be careful when you think you can output signals because they will be pulled to ground. There is a pull/up and resistor in series in the IOboard so I don't think the Mister will be damaged....
by S0urceror
Tue Jan 19, 2021 8:24 pm
Forum: Official Addon Boards
Topic: USER_IO[3] pulled to GND
Replies: 2
Views: 2038

USER_IO[3] pulled to GND

I have the following setup: Digital IO board 1.2 USB3.0 Type A male to male cable an SPI board linked to USER_IO[2] SCK, USER_IO[3] MISO, USER_IO[4] MOSI, USER_IO[5] CS I checked with my oscilloscope that all signals reach the SPI board but that information is not send back because USER_IO[3] is held down to GND. The reason is the following: The ca...
by S0urceror
Sun Jan 10, 2021 7:50 pm
Forum: Development for MiSTer
Topic: MiSTer audio has SCMS copy protection bit ON
Replies: 2
Views: 3065

MiSTer audio has SCMS copy protection bit ON

I noticed that MiSTer emits S/PDIF audio frames with all status bits zero. According to the specification this leads to SCMS copy protection enabled, original recording flag being off and audio being reported as 44.1kHz. http://neximus.com/wp-content/uploads/2021/01/record_no.png In my case this meant that my USB sound card was unable to capture th...
by S0urceror
Sat Jan 09, 2021 9:20 am
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

jca wrote: Sat Jan 02, 2021 11:08 pm I can post the rbf if the S0urceror gives me the green light.
Yes, no problem, please go ahead.
by S0urceror
Sat Jan 02, 2021 11:20 am
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

I am interested on learning how to build the core as there is no rbf. Can you confirm the Quartus version to be used (17 if I remember)? What do I have to download from Github and start the build? Thanks Download or clone everything from here: https://github.com/MiSTer-devel/MultiComp_MiSTer . Then start Quartus 17. Open MultiComp.qpf (project fil...
by S0urceror
Tue Dec 29, 2020 11:16 am
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

@Ron, I checked your core and it looks great!

Also took the liberty to merge your sd_controller.vhd with my version of MultiCore and it looks like it is working. But I think more testing is needed. If you check my GitHub you'll find the new code to build in Quartus. Let me know how it works on your side.
by S0urceror
Thu Dec 24, 2020 1:40 pm
Forum: Development for MiSTer
Topic: USERIO Not Visible? [Solved]
Replies: 4
Views: 2924

Re: USERIO Not Visible?

Okay, got it working. There was a problem with my design. USER_OUT/IN work as expected. Visible on Logic Analyser both direct and via 5v level shifter.
by S0urceror
Wed Dec 23, 2020 12:48 pm
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

Is this for the Z80 core only? What kind of disk images (8MB HD)? Yes I made the changes for Z80 CP/M. I'll upload the software changes to my GitHub https://github.com/S0urceror/MultiComp_MiSTer/tree/master/Z80%20CPM%20and%20bootloader%20(basmon) . This should get things working on .VHD images. Instructions on installation can be found here: http:...
by S0urceror
Mon Dec 21, 2020 5:38 pm
Forum: Development for MiSTer
Topic: USERIO Not Visible? [Solved]
Replies: 4
Views: 2924

Re: USERIO Not Visible?

I guess you’re right! This explains the behavior I’m seeing. I’ll insert pull-ups and try again. Update: No, doesn't change anything. I also saw that the pins are already configured to have weak pull-ups. Btw. if I move slide-switch [1] in the ON position I do see HDMI_LRCLK on USERIO[5]. Only my own signals never appear when I put the slide-switch...
by S0urceror
Mon Dec 21, 2020 7:50 am
Forum: Development for MiSTer
Topic: USERIO Not Visible? [Solved]
Replies: 4
Views: 2924

USERIO Not Visible? [Solved]

All, I am developing a core that uses USERIO. Somehow, and I checked with a Logic Analyser, I cannot get the signals to appear on P7 pins 0,1,4,5,6,7 and 9. I tried to understand what sys_top.v does. I understand that when I leave all slide switches in the OFF state the USERIO should appear. In my case all driven signals stay 0. I connected a simpl...
by S0urceror
Mon Dec 21, 2020 7:40 am
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

Update, after inserting a small wait (loop from 50 to 0) between the IN (check status) and OUT (write new block) in assembly code I managed to get a stable write. I was able to format a new disk and install CP/M on it. So I guess there is an issue with the virtual SD card implementation in the MISTer in combination with the MultiCore SD card contro...
by S0urceror
Mon Nov 23, 2020 8:25 pm
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

Re: MultiComp, now with Image files and UART

Did you try the write on the disk image? it is not working for me please look this old post: https://www.atari-forum.com/viewtopic.php?p=366655#p366655 As a matter of fact I haven't done a write yet. I'll try and report back here. If there is a problem I'll fix that. Update : small writes work, like ERA TEXTFILE removes the TEXTFILE from the direc...
by S0urceror
Sat Nov 21, 2020 9:29 pm
Forum: Other Computer / System Cores
Topic: MultiComp, now with Image files and UART
Replies: 29
Views: 10308

MultiComp, now with Image files and UART

I decided to give the MultiComp a little bit of love and have updated it to the latest IP and sys files. I then added the ability to use image files that you can now put in the GAMES/MULTICOMP folder. Last but not least I added the UART functionality so that you can interface with MultiComp via the linux shell and minicom. Easier when you want to c...