Skip to content

Commit

Permalink
Changed the baud rate configuration, to enable 12 MHz output
Browse files Browse the repository at this point in the history
  • Loading branch information
hsemwal committed Jan 28, 2025
1 parent c218efb commit 0c12053
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
9 changes: 5 additions & 4 deletions mio/data/config/wireless/MSUS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ mio_version: "v5.0.0"
device: "OK"

# bitstream file to upload to Opal Kelly board
bitstream: "XEM7310-A75/USBInterface-5mhz-J2_2-3v3-IEEE.bit"
bitstream: "XEM7310-A75/USBInterface-12_5mhz-J2_2-3v3-IEEE.bit"
# bitstream: "XEM7310-A75/USBInterface-5mhz-J2_2-3v3-IEEE.bit"
# bitstream: "XEM7310-A75/USBInterface-6_67mhz-J2_2-3v3-IEEE.bit"
# bitstream: "XEM7310-A75/USBInterface-8_33mhz-J2_2-3v3-IEEE.bit" # original

Expand All @@ -20,12 +21,12 @@ preamble: 0x12345678
# Image format. StreamDaq will calculate buffer size, etc. based on these parameters
frame_width: 320
frame_height: 320
pix_depth: 10
pix_depth: 12

# Buffer data format. These have to match the firmware value
header_len: 384 # 12 * 32 (in bits)
buffer_block_length: 12 # how many words per block length
block_size: 4000 # 4000 # just buffer (header/data)
buffer_block_length: 12 # originally 12 how many words per block length
block_size: 800 # 4000 # just buffer (header+data)
num_buffers: 9 # num of data buffers inside mcu
dummy_words: 12 # num of dummy words before header file

Expand Down
23 changes: 11 additions & 12 deletions mio/data/config/wireless/stream-buffer-header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@
id: stream-buffer-header
mio_model: mio.models.stream.StreamBufferHeaderFormat
mio_version: "v5.0.0"
linked_list: 5 ## first change for LL
frame_num: 7 ## changed
buffer_count: 5 ## changed
frame_buffer_count: 3 # changed
write_buffer_count: 4 # changed
dropped_buffer_count: 10 # changed
timestamp: 2 # changed
write_timestamp: 8 # not changed
pixel_count: 7 # not chnaged not used
battery_voltage_raw: 9 # not changed not used
input_voltage_raw: 10 # not changed not used

linked_list: 1
frame_num: 7
buffer_count: 3
frame_buffer_count: 3
write_buffer_count: 4
dropped_buffer_count: 0
timestamp: 6
write_timestamp: 8
pixel_count: 7
battery_voltage_raw: 9
input_voltage_raw: 10



0 comments on commit 0c12053

Please sign in to comment.