Tool/software:
See questions from customer related to M0L1228 project.
- Can the timer count register be read reliably while the counter is running? We often use a free-running timer for timestamps. Some timers on some MCUs do not support reading the current counter value while the timer is running.
- How is a 32 bit read of TIMG12 or TIMG13 performed? The counter value register only has a 16 bit value and the function to read the register enforces a 16 bit read. I’m assuming two 16 bit reads need to be performed.
- The S32K1 family of MCUs have a small instruction cache. The BUS clock runs at a max of 48MHz and the CPU clock runs at a max of 80MHz. Also, writes to peripherals are buffered. For all these reasons, there is a need for what is termed Data Serialization. It is necessary to ensure a write to a peripheral completes before a dependent operation is performed. One method of enforcing Data Serialization is to read back the register just written to. The read won’t complete until the prior write does.
- Do the MSPM0L family of MCUs have a similar requirement for Data Serialization? So far it doesn’t seem like it.