4410-4412: configure_ram_mode add slack

When the RAM data is larger, extra slack is needed to avoid underflow.
This commit is contained in:
occheung 2021-12-22 17:10:50 +08:00
parent 9b40af6c6a
commit d26fe0f5d5
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ def configure_ram_mode(self, dds):
dds.amplitude_to_ram(self.amp, self.asf_ram)
dds.write_ram(self.asf_ram)
dds.set(frequency=10*MHz, ram_destination=RAM_DEST_ASF)
self.core.break_realtime()
# Pass osk_enable=1 to set_cfr1() if it is not an amplitude RAM
dds.set_cfr1(ram_enable=1, ram_destination=RAM_DEST_ASF)