Just to add to Martin's note...
If that 0x8001 restart doesn't work on this device,
I2C restart is the same as stop/start in functionality, just a bit quicker.
So a write transaction of 1 byte with the register address, followed by a read one byte transaction should work equally well.
Search found 510 matches
- Sat Dec 27, 2025 5:26 pm
- Forum: Projects - Embedded
- Topic: Reading AS5600 registers with ARM using I2C Transactions
- Replies: 7
- Views: 135
- Mon Dec 22, 2025 10:51 am
- Forum: General
- Topic: Raspberry Pi program launcher
- Replies: 6
- Views: 254
Re: Raspberry Pi program launcher
Another possibility is using crontab @reboot (with a sleep)
- Sun Dec 14, 2025 6:24 pm
- Forum: Bug Reports
- Topic: cirular buffer & blackpill
- Replies: 2
- Views: 217
Re: cirular buffer & blackpill
Hi, If you use the RX interrupt, then you should only process one received character within the called macro, putting it into a circular buffer is the best approach. Then in your main macro use the circular buffer commands to determine when you have received a string and process it. (You can't mix i...
- Fri Dec 12, 2025 2:55 pm
- Forum: Tips & Tricks
- Topic: Getting program to run from boot (Raspberry Pi)
- Replies: 4
- Views: 486
Re: Getting program to run from boot (Raspberry Pi)
These changes relate to the recent adoption of systemd. As a user of Unix/Linux for several decades it's all unwelcome changes for me 
- Fri Dec 12, 2025 1:56 pm
- Forum: Tips & Tricks
- Topic: Getting program to run from boot (Raspberry Pi)
- Replies: 4
- Views: 486
Re: Getting program to run from boot (Raspberry Pi)
Thanks for the heads up on that, just to add a bit of caution... /home/pi/.bashrc will only run when you log in, which happens automatically when you boot up and go directly to the desktop and also every time when a new terminal is opened, or when a new SSH connection is made. A search found this, b...
- Thu Dec 11, 2025 10:11 pm
- Forum: General
- Topic: Timer or interupt?
- Replies: 19
- Views: 1890
Re: Timer or interupt?
"!1" ?
That won't toggle.
As usual, it's best if you can attach your program file, then we can see what exactly you are doing.
That won't toggle.
As usual, it's best if you can attach your program file, then we can see what exactly you are doing.
- Wed Dec 10, 2025 9:00 pm
- Forum: General
- Topic: C Based Delay - with and Without Timers
- Replies: 10
- Views: 834
Re: C Based Delay - with and Without Timers
How are you measuring it?
If you are toggling an output pin then you need to factor in those instruction times, and any loop/jump, as well.
If you are toggling an output pin then you need to factor in those instruction times, and any loop/jump, as well.
- Wed Dec 10, 2025 3:02 pm
- Forum: General
- Topic: UART Baud and Bit rate Measurement With a scope.
- Replies: 3
- Views: 373
Re: UART Baud and Bit rate Measurement With a scope.
Yep, AI is wrong, as usual 
Depends what you asked though.
Your screen shot method is correct for UART baud.
Depends what you asked though.
Your screen shot method is correct for UART baud.
- Sat Nov 29, 2025 3:40 pm
- Forum: General
- Topic: BLACKPILL STM32F411 RTC
- Replies: 20
- Views: 2140
Re: BLACKPILL STM32F411 RTC
C13 is user LED (active low)
C14 and C15 are RTC crystal
C14 and C15 are RTC crystal
- Fri Nov 28, 2025 6:07 pm
- Forum: General
- Topic: BLACKPILL STM32F411 RTC
- Replies: 20
- Views: 2140
Re: BLACKPILL STM32F411 RTC
Ah right. I guess we need to look at the Blackpill circuit diagram and 411 datasheet to answer that one 