Update spectral analysis, increase test fw gen frequency

This commit is contained in:
jaseg 2025-04-03 17:06:34 +02:00
parent 95a68e62bd
commit 20446874b6
2 changed files with 183 additions and 3 deletions

View file

@ -291,7 +291,7 @@ int main(void) {
DAC2->DHR12R1 = 0xfff; /* VBIAS_DAC */
HRTIM1->sMasterRegs.MCR = HRTIM_MCR_CONT | HRTIM_MCR_MREPU;
HRTIM1->sMasterRegs.MPER = 21 * 0x20; /* We have to translate all counter values to the 32x oversampled high-resolution clock */
HRTIM1->sMasterRegs.MPER = 2 * 0x20; /* We have to translate all counter values to the 32x oversampled high-resolution clock */
/* The master period should now be 168 HRTIM bus clock cycles, which at 168 MHz corresponds to 1.00 µs.
* Note that the HRTIM doc is very unclear if we should set the register to 168 or 167 for that, let's just see.
*/

File diff suppressed because one or more lines are too long