fpga/testfw: Update clock frequency to 24 MHz

Reconfigure the baudrate to keep 500 kbaud.

Correct a forgotten test in testfw that wasn't updated the last time
frequency was raised in commit
75b028505f in June 17, 2024.
This commit is contained in:
Jonas Thörnblad 2025-01-09 15:15:16 +01:00 committed by Michael Cardell Widerkrantz
parent 50aacb4a5c
commit 68f5c9af26
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
4 changed files with 10 additions and 9 deletions

View file

@ -311,8 +311,8 @@ int main(void)
}
puts("\r\nTesting timer... 3");
// Matching clock at 18 MHz, giving us timer in seconds
*timer_prescaler = 18 * 1000000;
// Matching clock at 24 MHz, giving us timer in seconds
*timer_prescaler = 24 * 1000000;
// Test timer expiration after 1s
*timer = 1;