Post Go back to editing

SPI and logic analyzer in ADALM2000 w/ libm2k


Now I am trying to use SPI API's (refer to in the github) and logic analyzer functionality simultaneously in python using libm2k. Is it possible using one adalm2000?

I tried the above, but it doesn't work (freezing when getSamples).

I guess this is because m2k_spi_init and other SPI related settings may affect other DIO configurations including sampling rate etc.  (of course, I assigned different DIO# for SPI and logic analyzer)

Actually, when I commented SPI-related code out, getSamples works correctly

If we want to use both SPI API and logic analyzer at the same time with one python script, we need to prepare two adalm2000. Is this right?

Thanks, Ipce