mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-08 06:32:25 -04:00
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:
parent
0a634c76da
commit
07dc20e4e1
4 changed files with 10 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue