Search found 3 matches

by stefan
Sat Feb 01, 2020 2:12 pm
Forum: General Discussion
Topic: Stream 36bit serial signal into the DMA…
Replies: 0
Views: 1929

Stream 36bit serial signal into the DMA…

I want to receive a rather odd serial data stream with the ESP32 DMA. The signal for a YAC512 DAC [a 90s "floating point DAC" taking the input from an YMF262/OPL3 soundchip]. Basically a frame consists of 36bit -> 2x 16bit + 2bit padding each. Data used by the DAC is 3bit padding (not used by YAC512...
by stefan
Tue Aug 15, 2017 10:31 pm
Forum: ESP32 Arduino
Topic: Output a clock signal in the MHz range
Replies: 3
Views: 12107

Re: Output a clock signal in the MHz range

Ah OK, thanks for the hint! To fill in others that have the same problem: Using nothing but pin up/down in the main loop results in a short burst at about 1MHz on my scope. Literally just setup: pinMode(5, OUTPUT); loop: GPIO_REG_WRITE(GPIO_OUT_W1TS_REG, 0b00000000000000000000000000100000); GPIO_REG...
by stefan
Mon Aug 14, 2017 11:32 am
Forum: ESP32 Arduino
Topic: Output a clock signal in the MHz range
Replies: 3
Views: 12107

Output a clock signal in the MHz range

Hi guys! How does one generate a stable clock signal above what the LED PWM provides? I need a 2MHz square wave signal with 50:50 duty cycle. Of cause the ESP32 is fast and I could use a RTOS thread, but there must be a more elegant way. I see CLKout1, CLKout2, CLKout3 - #1 + #2 are on the USB pins ...