Hello
I'm attempting to use this library with my Pico2W: https://github.com/ArmDeveloperEcosyste ... -for-pico/
I haven't been able to get either of the examples working, and I'm not sure why.
What I see:
When I run the terminal example, I see that the program is only reading 0's ($). When I run the usb example, I see the following:
Potential Issues:
The datasheet for the RP2350 mentions several differences between the two chips, for instance:
but as far as I can tell we should only be transferring 160*120*8 bits at time. I'm not familiar with DMA or PIO so I'm not sure if this breaking change is even relevant.
This PIO change could be relevant as well:
The last issue I noticed is that the datasheet for the HM01B0 has the following:
So is this simply a case of me supplying too much voltage? I have it wired to the 3.3V on my board, but In this example, they wire it to the 3.3V pin on the pico with no issue: https://www.raspberrypi.com/news/real-t ... y-pi-pico/
I'd love any pointers, I'm pretty new to the world of microcontrollers so any help is appreciated!

I'm attempting to use this library with my Pico2W: https://github.com/ArmDeveloperEcosyste ... -for-pico/
I haven't been able to get either of the examples working, and I'm not sure why.
What I see:
When I run the terminal example, I see that the program is only reading 0's ($). When I run the usb example, I see the following:
Code:
$ vlc v4l2:///dev/video2VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)[00005989576a1520] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.libv4l2: error turning on stream: Cannot allocate memory[00007c1a7c001130] v4l2 demux error: cannot start streaming: Cannot allocate memory[00007c1a7c001130] v4l2 demux error: not a radio tuner devicelibv4l2: error turning on stream: Cannot allocate memory[00007c1a7c003a10] v4l2 stream error: cannot start streaming: Cannot allocate memory
Potential Issues:
The datasheet for the RP2350 mentions several differences between the two chips, for instance:
The four most-significant bits of TRANS_COUNT (CH0_TRANS_COUNT) are redefined as the MODE field, which defines what happens when TRANS_COUNT reaches zero:
◦ This backward-incompatible change reduces the maximum transfers in one sequence from 2^32-1 to 2^28-1.
◦ Mode 0x0 has the same behavior as RP2040, so there is no need to modify software that performs less than
256 million transfers at a time.
but as far as I can tell we should only be transferring 160*120*8 bits at time. I'm not familiar with DMA or PIO so I'm not sure if this breaking change is even relevant.
This PIO change could be relevant as well:
but I'm not sure.Reduced DMA request (DREQ) latency by one cycle vs RP2040.
The last issue I noticed is that the datasheet for the HM01B0 has the following:
So is this simply a case of me supplying too much voltage? I have it wired to the 3.3V on my board, but In this example, they wire it to the 3.3V pin on the pico with no issue: https://www.raspberrypi.com/news/real-t ... y-pi-pico/
I'd love any pointers, I'm pretty new to the world of microcontrollers so any help is appreciated!
Statistics: Posted by jace1427 — Fri Feb 07, 2025 10:20 pm — Replies 0 — Views 21