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 Mikael Ågren
parent 0a634c76da
commit 07dc20e4e1
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
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;