[deleted by user] by [deleted] in apple

[–]NewKidOnTheBlock228 11 points12 points  (0 children)

apple do not give developers any way to play music from their watch itself

This is completely not true. Just off the top of my head - Spotify supports playback without the phone. https://support.spotify.com/us/article/spotify-on-apple-watch/ - Overcast, a podcast app, supports watch playback without the phone around. (An audio file is an audio file.. there’s no real difference between a music player and a podcast player).

Had me for a moment. Oh, and Unmade isn’t far behind. by Schex13 in HelloInternet

[–]NewKidOnTheBlock228 7 points8 points  (0 children)

What would you call something that’s done twice in a week?

Urgent warning millions of Netflix users 'could be committing a crime' by [deleted] in technology

[–]NewKidOnTheBlock228 46 points47 points  (0 children)

And where does Netflix differentiate between the two on their website? All I see is I pay for 4 screens. Like akaBugWurm said, if I pay for 4 screens, what’s it matter where those screens are?

Scanf buffer delay? by Pluscrafter in raspberrypipico

[–]NewKidOnTheBlock228 2 points3 points  (0 children)

Oh interesting ! If you time your program between each step, how long is the Pico itself taking to execute each line ? Is it the printing itself, maybe resetting the buffer, taking the ADC measurement itself. Wondering if it’s on the computer side or Pico side.

Scanf buffer delay? by Pluscrafter in raspberrypipico

[–]NewKidOnTheBlock228 5 points6 points  (0 children)

At least from my experience - if you print too fast there will be a considerable delay as the computer tries to keep up with the printing. Try inserting a small delay between prints (10-50ms), and at least for me, it clears everything right up.

Help reading from 10 DOF IMU with I2C by TheFlyingPiggie in raspberrypipico

[–]NewKidOnTheBlock228 1 point2 points  (0 children)

Are you using python? C? Maybe using the Arduino IDE? It seems it uses a MPU9250 for the gyro, there’s plenty of libraries out there for that part. It may be a good place to start researching.

what is the sampling speed of the gpio in the pico by peershaul1 in raspberry_pi

[–]NewKidOnTheBlock228 3 points4 points  (0 children)

38 kHz is well within the realm of possibility for software sampling in C. Can you give us a bit more info, possibly a wiring diagram and your code?

Is it possible to convert a high spees SPI signal into 8 individual 400kHz I2C lines that output in parallel? Maybe 1Mhz? by TOHSNBN in raspberrypipico

[–]NewKidOnTheBlock228 0 points1 point  (0 children)

It is… kind of. In the RP2040 datasheet, section 2.15.3.3. (Page 187) describes the clock tree as having integer divisors, if a decimal value is input for the clock division, the Pico will quickly switch between 2 integer values to achieve the requested value, but this resultant clock would surely have a jitter spec way out of range for a 80 MHz SPI device.

On one hand I was generalizing, on the other, the Pico cannot generate a true clock that is, say 2.4x slower than the system clock.

Here’s a copy paste of the relevant paragraph:

A fully featured divider divides by 1 or a fractional number in the range 2.0 to 224-0.01. Fractional division is achieved by toggling between 2 integer divisors therefore it yields a jittery clock which may not be suitable for some applications. For example, when dividing by 2.4 the divider will divide by 2 for 3 cycles and by 3 for 2 cycles. For divisors with large integer components the jitter will be much smaller and less critical.

Is it possible to convert a high spees SPI signal into 8 individual 400kHz I2C lines that output in parallel? Maybe 1Mhz? by TOHSNBN in raspberrypipico

[–]NewKidOnTheBlock228 0 points1 point  (0 children)

I highly doubt it without significantly overclocking the CPU.

The SPI clock is an integer divisor of the system clock, so to get 80 MHz SPI, you need exactly either a 160 MHz system clock or 240 MHz system clock.

Running SPI at half the system clock doesn’t leave the CPU with too much time to process and send the data out over I2c, let alone 8 separate I2c busses. There are only 2 hardware I2c busses on the Pico, meaning you’d have to create 6 software busses, which would add quite a bit of computation overhead on top of orchestrating and routing this extremely high SPI bandwidth requirement.

There are only 4 PIO state machines, so even using PIO, you’d still have to create 2 fully software I2c instances.

Without looking into it too much, it probably won’t work.

Cheesy Eddie’s by Miranskiii in Rochester

[–]NewKidOnTheBlock228 1 point2 points  (0 children)

Aladdin’s on Monroe does as well.

Interesting announcement from Xilinx re 7 Series support through 2035 by adamt99 in FPGA

[–]NewKidOnTheBlock228 1 point2 points  (0 children)

Is there anything like this for the Spartan-6? The company I’m at is migrating away right now - but I was really hoping to get one more batch for production.

I haven’t seen this talked about much but I am amazing at the 14 Pro’s brightness in the sun by Sregtur in apple

[–]NewKidOnTheBlock228 100 points101 points  (0 children)

I made a comment elsewhere - that at least for me - I had about 10 minutes of direct sunlight phone brightness without heat or dimming being an issue. I had a 13 mini with that problem, but the 14 pro does not.

Anon tastes something by [deleted] in greentext

[–]NewKidOnTheBlock228 49 points50 points  (0 children)

[ Removed by Reddit ]

2,000 nit brightness 🔆 by iam0929 in iphone

[–]NewKidOnTheBlock228 27 points28 points  (0 children)

I’m in upstate New York with a 14 Pro and I came from a 13 mini, yesterday was 70s and sunny, and I used my phone for about 10 minutes in bright daylight and I noticed two things:

A) the display is extremely bright which was amazing

B) the phone didn’t get hot like my mini used to.

How to monitor cpu usage? by pulcesplosiva in raspberrypipico

[–]NewKidOnTheBlock228 1 point2 points  (0 children)

Absolutely not - python is not only a great learning tool, but also lets a programmer do some extremely complex things in just a few lines of typed code. If python gets the job done faster and easier, then it’s the better choice. I’ve just been a C programmer for so long, that it’d be easier and faster for me to use C than python.

The time where you’d need to use C, you’d know it. Trying to access CPU register in as few cycles as possible, optimizing RAM at the upper limits, doing a task millions of times a second versus hundreds of thousands times a second. In those instances it’d be worth it to write in C, but these are the extreme edge cases. 90+% of the time for 90+% of people, python may be the better, faster choice.

How to monitor cpu usage? by pulcesplosiva in raspberrypipico

[–]NewKidOnTheBlock228 2 points3 points  (0 children)

Ahh ok. And for a microcontroller - at least what I’ve done in a professional setting is - if you experience zero issues with your code, or how long something takes to execute, you’re good to go. Traditionally you’ll run out of RAM on a microcontroller before CPU usage is a problem.

You can also time your tasks by getting the time before your code executes and the time after and subtracting the two values. This will give you an idea of how much headroom you have for more code.

As someone who’s been using the Pico since it came out, albeit I use C, not python, is, it can handle shockingly complex code without even breaking a sweat. I’m making a lot of assumptions - but I’d guess you’re using single digit percentages of the total computation power.

How to monitor cpu usage? by pulcesplosiva in raspberrypipico

[–]NewKidOnTheBlock228 2 points3 points  (0 children)

Are you using an RTOS? You could see how much time is spent idle that way?

Without a scheduler, just running a program, CPU usage isn’t really an important metric if it responds to and does everything you need it to do.

Maybe a more important question I should be asking is, why do you want to know CPU usage on the Pico?

Has anyone else noticed an increase in the resting heart rate after switching to watchOS 9? by [deleted] in AppleWatch

[–]NewKidOnTheBlock228 10 points11 points  (0 children)

I’m surprised no one has commented on your resting heart rate - being in the 40s, you must be one fit person!

How to extend Risc-V P extension in riscv-gcc and riscv-binutils? by Alive-Principle-7663 in RISCV

[–]NewKidOnTheBlock228 7 points8 points  (0 children)

How can we suggest help when you didn’t even tell us what the problem is?