-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with playback on a real sid chip #21
Comments
Hi, thanks for your feedback 👍 Can you please add precision to this post by adding the following information:
yes I've had similar experiences in different situations: sid class misconfiguration
Interesting functions you can play with: void setTaskCore( BaseType_t uxCoreId ); // 0 or 1, default=0
void setTaskPriority( UBaseType_t uxPriority ); // 0..16, default=3
bool begin(int spi_clock_pin,int spi_data_pin, int latch ); // 1MHz from external oscillator
bool begin(int spi_clock_pin,int spi_data_pin, int latch,int sid_clock_pin); // 1MHz from ESP32 pin platform misconfiguration
hardware misconfiguration
For example the 1MHz oscillator I've tried in my first build with was consuming 500mA, which got the ESP32 to get out of sync and produce hilarious effects. If possible, it's worth trying without the external oscillator, and use a pin from the ESP32 to generate that 1MHz signal. |
Hello |
I ordered the chips from Reichelt, a German electronics retailer. |
Thank you for your quick and detailed reply.
I still have one question about the SID_PHI signal from the ESP32: Doesn't that cause problems regarding 3.3V <-> 5V? Shouldn't I use a level shifter here? I will test your tips in the next few days when I have time again. Thanks again for the quick reply, I will get back to you regarding the results. |
3.0.2-Beta has only been tested on esp32-wrover and esp32-s3 without external oscillator, using output pins as SID_PHI. I haven't tried with a level shifter though, and it was a SwinSID, not an reals MOS chip. BTW I strongly recommend you play with a SID clone until you're sure everything is in order, swinsid clones are cheap enough to prevent a MOS sacrifice on the altar of SID research 😉 |
You do not need a level shifter to go from the esp32 to the hc595 because 3.3 is above their activation level. And then they do output 5v hence perfect for the SID. |
Question is that a wrover or a wroom ? Because if it’s a wrover with psram you can’t use pins 17 and 18 as they are reserved for the psram ic. |
Hello,
I am having problems with playback on a real sid chip. Partly sounds are not played correctly or not at all. It seems to me that it is either timing problems between the Sid chip and the emulation or the 74HC595 have problems with the 3.3V signals of the ESP32. With many fast transfers it seems that the shift registers do not take over the values 100%. I used an external 1Mhz crystal for the circuit, I don't know if that causes problems with synchronization.
Have you had similar experiences? Can you give me any tips for the hardware setup?
Thanks a lot
The text was updated successfully, but these errors were encountered: