Help with 2x2 MIMO on MATLAB/Simulink

Discussions related to embedded firmware, driver, and user mode application software development

Moderator: robert.ghilduta

Post Reply
Jose.Amador95
Posts: 3
Joined: Thu Jun 11, 2020 3:42 pm

Help with 2x2 MIMO on MATLAB/Simulink

Post by Jose.Amador95 » Tue Jul 21, 2020 2:01 pm

Hi! I'm coding a Simulink block for the BladeRF that supports the 2x2 MIMO scheme based on Nuand's System objects. My problem is that the 2-channel receiver seems to have a different sampling rate as Nuand's system object. What I have done is to modify the bladeRF class constructor for it to disable the channel selection, so both TXs and RXs activate just before calling the start function in any direction. I also changed the sync_config arguments to support the corresponding layout. Finally, I modified both transmit and receive functions to support an Nx2 matrix with the samples and the respective interleaving process (as described in the API documentation). For this last one I have increased the size of the s16 buffer to 2 * 2 * samples * int16 for it to hold both real and complex components of the samples for both channels. Is there anything I have to consider to implement the MIMO scheme properly? More specifically, in the sampling rate configuration.

Here is the code for the modified class constructor, XCVR and Simulink block.
https://1drv.ms/u/s!Ao2ZExoIY2L6h6cxQWA ... Q?e=3cZoUt

Post Reply