Skip to main content

Questions tagged [rp2040]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

USB data does not work on my PCB [closed]

I've build a PCB based on RP2040 microcontroller. A modified version of PicoDVI board - with added memory chip. The board works fine, with just one problem - it is not being detected when plugged to a ...
smokku's user avatar
  • 173
2 votes
0 answers
93 views

Custom RP2040 board not working

I have designed a custom RP2040 board referring to the official hardware design guide for RP2040. When I boot the device in bootsel mode, it does get detected as a USB mass storage device on my host ...
Vaaarad07's user avatar
1 vote
0 answers
30 views

Cross-compile and run aac-fdk on Cortext M0+ like the RP2040

I am creating a small device that should be able to input sound from a I2S microphone and to compress this sound using AAC LC compression. In another thread I was recommended a Arm Cortex M for this ...
www.jensolsson.se's user avatar
0 votes
0 answers
31 views

Connecting SWD on a same pin as an I/O pin

I'm working on a PCB with a specific number of pins. There are 12 pins on the PCB, used by another device to transfer data and communicate with the chip. I have +3V3, GND, RST, pins for I/O, and an ...
Junior Delaure's user avatar
0 votes
0 answers
75 views

Receive i2S data to RP2040, PIO and DMA from MEMS microphone (SPH0645LM4H-B)

It pretty much seem to work. I have in the PIO been able to generate the clock and word select and the microphone is sending data continuously which can be verified with a logic analyser. (maybe it ...
www.jensolsson.se's user avatar
0 votes
1 answer
118 views

Wiznet W5100 and Realtek RTL8363NB-VB-CG board issue

I've built a PCB connecting one of the ports of the RTL8363NB-VB-CG to the W5100 mimicking a ethernet cable on board, I used a RP2040 a Wiznet 5100S-L and the Realtek RTL8363NB-VB-CG.The problem that ...
TFO's user avatar
  • 3
0 votes
0 answers
123 views

Custom RP2040 PCB Design Check (after I biffed the first one)

I'm looking for some feedback on a circuit board that I've designed for a RP2040-powered macro keypad. I am well aware that I'm in over my head on this one, but I'm excited about this project and am ...
Henry Waill's user avatar
0 votes
0 answers
107 views

RP2040 automatic BOOTSEL switching circuit

I enjoy drawing electronic circuits and making them by hand as a hobby. (Not a major, not a job) While writing a custom board based on the RP2040 chip, I am trying ...
jay k's user avatar
  • 11
2 votes
3 answers
287 views

How to correctly design the USB power and communication interface for an RP2040 PCB?

I am trying to design a board that uses the RP2040, and after several iterations I am stuck. No matter what I try, I cannot get my boards to be recognized by USB. Thus, I also can't program them. ...
Dylan Turner's user avatar
0 votes
2 answers
70 views

Is resistor needed for Flash IC?

I am making my first micro controller board with the rp2040. It requires external flash and so I picked the MT25QL128ABA1EW7 since it seems to match all the requirements based on this document: https:/...
Nico's user avatar
  • 3
2 votes
0 answers
95 views

Adding level shifter circuit conflicts with other microcontroller peripherals

I'm working on a synthesizer with multiple functionalities (OLED I2C screen, encoder, audio, midi input, several keys input) on a Xiao RP2040. I wanted to add a PS2 keyboard input. RP2040 GPIO are 3....
Sercurio's user avatar
1 vote
1 answer
145 views

RP2040 PCB not communicating over USB

I designed a RP2040 board where the github can be found here https://github.com/peterk268/Pico-Pal/tree/main I noticed I made a mistake where I accidentally connected my USB C data P1 to N1 and P2 to ...
peterk's user avatar
  • 113
2 votes
1 answer
407 views

On the Raspberry Pi Pico 2040 Pinout Diagram, why are I2C bus pairs overrepresented across pins?

Picture source: Raspberry Pi's official site RP2040 is a 32-bit dual ARM Cortex-M0+ microcontroller integrated circuit made by Raspberry Pi Ltd. In January 2021, it was released as part of the ...
user391339's user avatar
0 votes
0 answers
158 views

Valid usage of OpAmp for current sensing with motor driver

I am working on a custom PCB that can perform position control using 3 DC motors. One of the functionalities that I am trying to implement is stall detection and current limiting. I closely followed ...
Stathis's user avatar
  • 33
0 votes
1 answer
156 views

Alternatives for 0402 0.1 uF capacitors in custom RP2040 PCB

I've been designing my own custom RP2040 board, but with only a minimal number of components to do a UART and I2C peripheral, and no USB. However, the design guide https://datasheets.raspberrypi.com/...
Wayne Piekarski's user avatar
2 votes
1 answer
300 views

How to access Bluetooth LE features of CYW43439 on Raspberry Pi Pico W?

Raspberry Pi Pico W comes with a chip, CYW43439, that is capable to do WiFi and Bluetooth (both Classic and LE). According to Chapter 2.1 in Raspberry Pi Pico W:s datasheet, GPIO24, GPIO25 and GPIO29 ...
Jonas's user avatar
  • 237
0 votes
1 answer
121 views

RP2040 TM1637 connected to GPIO28-29 no display

I made my own custom RP2040 board. I'm trying to control a TM1637 chip that is placed on the same board as the RP2040. Before making the main board I did make my own small test board for the TM1637 ...
RektByMemes's user avatar
1 vote
1 answer
244 views

External voltage reference MCU RP2040 - Use of series reference?

I designed a board that uses the RP2040 Pico for its ADC and I/O. To improve the ADC of RP2040 I wanted to use an external reference. In the past, for other projects, I used as external reference a ...
Kostr's user avatar
  • 73
2 votes
1 answer
256 views

Connect two peripherals on the same SPI bus with RP2040

I'm using a RP2040 for a personal project. I'm already using the SPI0 with GPIO 3 to 6, and SPI1 with GPIO 11 to 14. Is it possible to use the SPI0 with GPIO 16 to 19 at the same time with another ...
Bouboubi's user avatar
  • 154
1 vote
2 answers
163 views

Pico / FT232H FIFO bad data

So. I've been trying for several days to get parallel data transfer from a Raspberry Pico through a FT232H to a host computer. I'd like ~25MB/s, which is why I'm trying this route in the first place....
Erhannis's user avatar
  • 177
0 votes
1 answer
70 views

Parasite cancelation on a LM386N amp

I have put together: an Raspberry Pi Pico that manages a keypad and a simple audio amp based on LM386N. The audio amp is connected via GP22 which provides PWM and plays the role of sound-audio ...
thermike's user avatar
0 votes
0 answers
102 views

simplest way implement ESC circuit for drone?

I'm designing a fun little quadcopter PCB based around the RP2040 chip and am interested to incorporate the ESCs in my design, all on one board. They don't need to be too fancy in terms of features ...
ben-kerro's user avatar
0 votes
0 answers
205 views

Weird output from TCD1304

I'm working on a project where I need to interact Arduino Nano RP2040 with TCD1304 linear CCD. I managed to solve the signal generating problem and analog reading speed problem with PIO and DMA. First,...
TWTom's user avatar
  • 1
0 votes
0 answers
65 views

SSD1351 Corruption: USB to Pico RAM to SSD1351 buffer issue

I'm trying to get a Raspberry Pi Pico connected over USB to a Pi 4 receiving the correct image data in its RAM, which is converted into a 128x128x2byte image (RGB565 color) using get_image.py (I've ...
StonedEdge's user avatar
2 votes
2 answers
376 views

Custom RP2040 board detection and uploading issues

I have designed and tested a custom RP2040 board for simple GPIO ON/OFF functioning and everything worked just fine. Now, we have ordered 30 more of the same circuits (with same design and components)....
Samiksha's user avatar
0 votes
0 answers
95 views

SD card initialize after some minute it fails

I am using raspberry pi pico with Arduino-IDE. I need to record analog microphone datas and accelerometer data. Raspberry pi pico has 2 core so I decided to use core 1 with microphone and core 2 with ...
mrneedshelpalot's user avatar
1 vote
0 answers
275 views

Can the RP2040 be powered by two AAA batteries alone?

I want to power the RP2040 using two AAA batteries. In the official documentation it says, if I don't care too much about USB and a good ADC, I can go as low as 1.8 V to power the chip. I don't want ...
Thez's user avatar
  • 56
1 vote
2 answers
120 views

Can a Raspberry RP2040 MCU design omit USB altogether?

I've checked the Hardware design with RP2040 document and the RP2040 datasheet, but it does not answer my question: is USB mandatory in a RP2040 custom design? Could I just use a QSPI Flash, crystal ...
qux's user avatar
  • 113
0 votes
0 answers
135 views

Power schematic for RP2040 & serial resistor amount

I am trying to design a PCB with a RP2040 microchip that is able to communicate with a SpektrumRC reciever over the SRXL2 serial protocol from a JST connection. The board will be programmed over USB ...
Antonin Kostal's user avatar
0 votes
0 answers
102 views

Best approach to driving custom RGB mechanical keyboard LEDs

I am in the middle of designing a custom mechanical keyboard and have just finished the PCB schematic, but before I spend a few hours placing and routing components, I thought I might ask y'all a few ...
mistasef's user avatar
0 votes
0 answers
141 views

Electrical connection between RP2040 and ESP-12F

I'm projecting a PCB board with a Raspberry RP2040 and the WiFi module Ai-Thinker ESP-12F (it is the only available from my PCB provider) following the official documentation, but I have some doubts ...
TechRevo's user avatar
0 votes
1 answer
274 views

Where does VBUS go in the RP2040 minimal design example?

What does the arrow labelled VBUS mean in this schematic?
Raahi Singh's user avatar
0 votes
1 answer
107 views

Is there a difference between RP2040 pins and pi pico pins?

I’m trying to make an embedded system with a RP2040 chip at the center. I’m trying to connect a display to the RP2040 and all I can find is pico diagrams, so aside from pins that don’t exist on the ...
R Baker's user avatar
  • 91
2 votes
1 answer
228 views

Micropython problems on custom board using RP2040

I am designing a custom board using the RP2040 and have used the PiPico design as a reference design. I have encountered two problems with micropython: First, an anomaly - I noticed when mounting as ...
Scott's user avatar
  • 191
0 votes
2 answers
177 views

Powering a Micro-controller & PC Fan by a single DC adapter

Motivations: I want to power a microcontroller & 5V-PWM 12V-DC fan simultaneously with a 12V, 6W wall-power supply. This set-up is to form a cheap speed controlled Solder-fume extractor. PSU: 6W ...
hun's user avatar
  • 1
4 votes
2 answers
713 views

AC current on relay causes Pi Pico to reboot continuously

I'm working on a project that involves a Raspberry Pi Pico driving two 4-channel relay modules. With no power supplied to the modules, everything works great - they open and close as designed for my ...
Psyferre's user avatar
0 votes
1 answer
238 views

Alarm gets instantly fired on a Raspberry RP2040

I'm writing a program to manage the velocity of a motor that is remotely controlled. For security reasons, I want to stop the motor after one second after it receives a command if it doesn't receive ...
lasb3tas's user avatar
  • 195
1 vote
0 answers
584 views

How to provide frequency source for RP2040?

I have a few basic questions about providing a "stable external frequency source" as recommended by "Hardware design with RP2040". I would just copy the schematic from section 2.3, ...
cg_f's user avatar
  • 11
2 votes
1 answer
984 views

Problem working with MIDI on hardware serial port on Raspberry Pi Pico 2040

I'm trying to make to make a simple MIDI communication with a Raspberry Pi Pico (2040) microcontroller (Arduino core/PlatformIO). I've successfully made it work using USB MIDI with this code (using ...
risk's user avatar
  • 213
0 votes
1 answer
404 views

Correct Dielectric Height on Differential Impedance Calculation?

I'm designing a custom PCB around the Raspberry Pi RP2040 MCU. Their hardware design guideline said the traces between the USB and the termination resistors should have a differential impedance of 90 ...
Agriculex's user avatar
  • 495
0 votes
1 answer
6k views

Code protection (firmware security) in PI PICO RP2040?

What are the available code protection (firmware security) options for off chip flash in PI PICO RP2040 for industrial IP critical designs?
mmfloom's user avatar
  • 11
1 vote
2 answers
6k views

How can I pass serial data through a Raspberry Pi Pico from USB to GPIO pins to be read in another Pi Pico? [closed]

I read that the Pi Pico/RP2040 has 2 UARTs. If I want to send data from a computer to a Pi Pico, how should I create a UART that uses USB? Micropython expects pin numbers to create a UART. If I use ...
Suresh Subedi's user avatar
1 vote
5 answers
897 views

How to design configurable optocoupled I/O

I am designing an I/O board based on the RP2040. One of the design requirements states that I/O terminals must be isolated hence I'm going for optocoupled I/O using something like 6N137S1 or similar. ...
Miki's user avatar
  • 121
4 votes
2 answers
2k views

How is this peak DNL error in RP2040 ADC realised in actual use?

The errata of RP2040 datasheet mentions a peak DNL error in some values. I'm a newbie on ADCs but I always thought the DNL error is usually the same all over the range. Here itsays that it "peaks&...
Tirdad Sadri Nejad's user avatar
2 votes
2 answers
289 views

Requesting help in identifying a potential short-circuit on a microcontroller board

Recently I've been developing a board, which for me was the most complex I've ever built. Almost all components are SMT, which was new to me. And I'm running into some point of trouble. All relevant ...
justSem's user avatar
  • 43
5 votes
1 answer
1k views

Custom RP2040 PCB Not Detected by PC

I designed a custom RP2040 to control some 24V LED strips. The official hardware design guide from the Raspberry Pi Foundation is what I followed for my design. It was then sent out to JLCPCB for the ...
Agriculex's user avatar
  • 495
0 votes
0 answers
1k views

Raspberry Pi Pico: Hardware UART Tx not working

I recently got a Raspberry Pi Pico as an evaluation board for the RP2040. When I tried to use hardware UART, I found that it would not send data. To find out what was going on, I used an LED on the Tx ...
A Person's user avatar
6 votes
2 answers
8k views

Programming RP2040 with ST-LINK

Disclaimer: This is my first time using OpenOCD and programming ARM microcontroller, so I really don’t know what I am doing. I’m trying to program Raspberry Pi Pico (RP2040) board using ST-LINK/V2 (...
urhen's user avatar
  • 411
1 vote
0 answers
4k views

Sleep modes on Raspberry Pi Pico / RP2040

I am developing a circuit with Raspberry Pi Pico. To power the system from battery, I need to put the Raspberry Pi Pico / RP2040 into sleep mode in order to increase energy efficiency. For this ...
ms1963's user avatar
  • 11