Part Number: MSPM0G5187
The tinyusb example on this MCU uses systick as a millis counter.
Part Number: MSPM0G5187
The tinyusb example on this MCU uses systick as a millis counter.
Hi Keith,
Reading the volatile uint32_t should be a single LDR instruction, and because interrupts can only preempt between instructions you should never observe a torn or half-updated value. This should also apply for the MSPM33C321, but this device belongs to our Signal Conditioning and Performance Interface group. I would start a new E2E thread for their confirmation.
Best Regards,
Brian
Hi Keith,
You are correct, sorry for the confusion. I have shared your post with the SCPI team for them to respond wrt the MSPM33C321.
Best Regards,
Brian
Hello Keith,
Just as Brian said, the same applies to the M33 line. The read is one atomic operation so an interrupt cannot tear it apart. Let me know if you have further questions/concerns on this.
**Attention** This is a public forum