Open aMOPel opened 2 years ago
Could you post the whole code somewhere so I could try it locally on a FOMU ?
https://github.com/aMOPel/fomu-trng/tree/try_all_comb/src
The majority of the code is taken from your migen_icebreaker_muacm.py
I was trying enabling out_ready
only at certain points but it didn't change anything. It's quite possible pyserial is by not making use of the valid
and ready
signals and I need to enable it in the configuration.
There are different flow control settings it can use. I didn't figure out which is the right one for acm if any yet, though.
https://pyserial.readthedocs.io/en/latest/pyserial_api.html#serial.Serial.xonxoff
Hi again,
I've been playing around with the migen acm example on the fomu for a bit now. While testing the connection and it's limits I've come across problems I can't seem to solve. Probably it's related to me operating the acm module incorrectly. If you could help me or point me a good direction it would be very appreciated.
The test works like this:
This is how I am currently operating the
NitroMuAcmBuffered
module:This is my test setup using pyserial lib:
The resulting problems:
counter
:out_ready
to 1 at all times)Iteration 25
Iteration 25 - end
So my conclusion from all this testing is that there are 2 problems.
out_ready
only at certain times. I tried, but couldn't figure it out.