Quantcast
Channel: Raspberry Pi Forums
Browsing all 5034 articles
Browse latest View live

C/C++ • Re: Use of sync(2) / fsync(2) before a hard before hard shutdowns?

I have my doubts about 5 minutes of writes outstanding, unless someone has tuned it that way; or possibly a case like the file still being open and overwritten (where the metadata doesn't change until...

View Article


Beginners • Re: Connectting 220V to Raspberry PI GIO pins

So, if I'm reading things correctly, the top level goal is to get Google Home to trigger some code to run on a Pi when one of the Google controllers hears the appropriate trigger words?Looking at...

View Article


Troubleshooting • Re: Dip Switches on Pi Keyboard

US = layout 4 and switch 0100b = 4Tamadite's keyboard in the other thread has 0011b = 3 which is Spanish and "Tamadite" is a place in Spain.The layout table has 17 entries now so presumably the latest...

View Article

Beginners • Re: How to Install Blender on Raspberry Pi 4? Compilation Error...

What's wrong with simply doing:Code: sudo apt install blenderStatistics: Posted by craigevil — Fri Sep 06, 2024 10:37 pm

View Article

General • Re: what is the logic of ADC interrupt enabling?

Code: static inline void adc_fifo_setup(bool en, bool dreq_en, uint16_t dreq_thresh, bool err_in_fifo, bool byte_shift) { hw_write_masked(&adc_hw->fcs, (bool_to_bit(en) << ADC_FCS_EN_LSB)...

View Article


Image may be NSFW.
Clik here to view.

General discussion • How to easily be able to use push buttons with GPIO

Okay I have finally worked it out and it’s actually really simple.In case anyone else wants to wire buttons directly to GPIO…Normally every time you reboot the pi it resets any changes unless you...

View Article

General discussion • Re: Details about raspberry pi warranty claim process

With regard to the warranty process itself, the posts above are correct. Your warranty is with the supplier, so that is where you need to go for front-line support and warranty claims. We at Raspberry...

View Article

Raspberry Pi Connect • Re: rpi-connect causes 100% of memory to be used, and...

Seems like the problem is connected to `wayland` and switching to `labwc` fixes it. https://github.com/raspberrypi/bookworm ... issues/281Statistics: Posted by MarlinMr — Fri Sep 06, 2024 10:51 pm

View Article


Image may be NSFW.
Clik here to view.

Graphics, sound and multimedia • Re: fruitbox MP3 jukebox

Okay I have finally worked it out and it’s actually really simple.In case anyone else wants to wire buttons directly to GPIO…Normally every time you reboot the pi it resets any changes unless you...

View Article


General discussion • Re: How to easily be able to use push buttons with GPIO

gpio=0-27=op,pu,dh,ipYou seem to have conflicting options there.op = set to Output modepu = Enable internal Pull-Up (used for Input, pointless on Output)dh = Set Output Highip = Set to Input modeI...

View Article

Beginners • Re: Rpi 5 and HC-SRO4

The Raspberry Pi 5 and HC-SR04 Works with this:Code: import gpiodimport time# Setupchip = gpiod.Chip('gpiochip0') # This accesses the first GPIO chip on the Pitrig_line = chip.get_line(17) # Replace...

View Article

General • Re: Official RP235xB boards?

If you really want an RP2350B board, other vendors make them, such as the Pimoroni Pico Plus 2. (However, I must warn you that even though the Pico Plus 2 uses an RP2350B, it does not expose all of...

View Article

Image may be NSFW.
Clik here to view.

General • Re: SYSINFO:CHIP_ID value ?

Do you really want to know if it is a RP2350 or a RP2354 or do you want to know how much FLASH is attached?Ideally I'd like both.I have favoured doing sizing by checking on mirroring. I have never...

View Article


General • Buffering of uncached XIP loads and stores?

For writes to memory in the uncached XIP address range, does XIP buffer writes? For example, if a processor does an uncached XIP write, is it guaranteed to stall until the QSPI request completes, or...

View Article

Image may be NSFW.
Clik here to view.

Troubleshooting • Re: bookworm update messed up libcamera on a pi3 b+ ?

Thanks naushir for fixing the Floating Point Exception error in github raspberrypi / rpicam-appsI upgraded my two Bookworm PiZ 2W wildlife camera systems this evening (07sep24) and everything is...

View Article


General • Re: Non blocking data logging on dual core system

At least in zeptoforth (full disclosure: this is my Forth which runs on, amongst other things, the RP2040 and, in the alpha releases, the RP2350) what I would recommend is recording the data to a...

View Article

Troubleshooting • Re: Gpiozero issue after last update

I have the dual bootI updated the NVMe PCIe and started getting the same errorI reverted my boot to SD card and same GPIO programs run fine.Guess, we need to wait for another update which fixes...

View Article


General • Re: RP2350 SSP/XIP Block Transfer Examples

Note that flash_xip_stream does still build on RP2350Statistics: Posted by kilograham — Sat Sep 07, 2024 10:51 pm

View Article

General • Re: RP2350 E9 bug - also for other GPIOs, e.g. SPI?

Let's address the concerns.With the new chip, I am using intensively the debugging interface (SWD at 10 MHz) which is some sort of SPI, bidirectional on same data line wit pull-ups, also the both...

View Article

Troubleshooting • Brand new pi and image - can't connect to gateway...

I'm replacing a raspberry pi zero w with a zero 2 w and I'm running into a very strange issue where I can't ping my gateway or external servers via ipv4. I am connecting to the zero from my Mac via...

View Article
Browsing all 5034 articles
Browse latest View live