Open OzoneABN opened 1 year ago
Hi, thanks for your feedback :+1:
Can you please add precision to this post by adding the following information:
Have you had similar experiences? Can you give me any tips for the hardware setup?
yes I've had similar experiences in different situations:
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
ESP32 vcc => buck converter 12v => SID
produces precision loss when vcc can't supply at least 2AFor 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 have tried both with the 1Mhz and the clock signal coming from the esp32. Where did you source your 74hc595? Rgds
Hello I have tried both with the 1Mhz and the clock signal coming from the esp32. Where did you source your 74hc595? Rgds
I ordered the chips from Reichelt, a German electronics retailer.
Hi, thanks for your feedback 👍
Can you please add precision to this post by adding the following information:
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 :wink:
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