Search found 2 matches

by AlexYeryomin
Tue Feb 21, 2023 4:01 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico audio DAC
Replies: 8
Views: 103079

Re: Pico audio DAC

Does this help? Mike, yes, it did! I got stuck with PCM5102 using RP2 today, and your detailed instruction helped a lot. Everything works just fine now. Thank you so much! One note about GY-PCM5102 I2S Player Module recommended above. I got one, and it came without any manual (as usual). I had to s...
by AlexYeryomin
Sun Aug 14, 2022 2:06 am
Forum: Raspberry Pi microcontroller boards
Topic: PIO Pulse Counter
Replies: 5
Views: 7427

Re: PIO Pulse Counter

dhylands wrote:
Mon Feb 22, 2021 9:28 pm
[...] And I think if you do an invert, decrement, invert, then that should do an add of 1.
You are absolutely right. I needed to _increment_ a value, and this code works just fine:

Code: Select all

    mov(x, invert(x))
    jmp(x_dec, "next")
    label("next")
    mov(x, invert(x))