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:
parent
9b40af6c6a
commit
d26fe0f5d5
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue