In FAQ the latest post "how to use code tags" is spam, cannot link it using phone as browser
In FAQ the latest post "how to use code tags" is spam, cannot link it using phone as browser
Warning I'm not a teacher
So since I can't get rid of MIBAM (it is essential) this means that I have to use that software protocol provided by AI?
In general, ANY bit-banged protocol that's generated in software, whether it's SHIFTIN/SHIFTOUT/SERIN/SEROUT is going to be unreliable when used with interrupts running. That's one reason hardware peripherals exist.
A software-based receiver is notoriously unreliable even without interrupts since there's no buffering at all.
You can get simple examples and tests to work, but they'll be extremely fragile.
Well, my use case is quite different.
The receiver (1936) which runs MIBAM, does nothing besides BAMing and checking serial input, if anything is delivered.
"Anything" is delivered in form of single byte, once per second, minute or hour.
I'll try to verify the code without MIBAM and see whenever it causes the issues.
And if I switch to hardware serial input, will it still work with MIBAM?
Well, my use case is quite different.
Well, my use case is ̶q̶u̶i̶t̶e̶ ̶d̶i̶f̶f̶e̶r̶e̶n̶t̶.̶ exactly that. ie. bit-banged protocol that has its timing generated in software and is going to be unreliable when used with interrupts running
Warning I'm not a teacher
So I have 6 slave 1936 and 1 master K80.
Now they are all connected via independent pins to K80, where serial transfer goes now
And there is also one common pin, which connects them altogether (not used right now)
So my idea is, to use that common pin as serial data pin, and use these independent pins as enable input for that particular MCU ?
Or use the open output feature and tie all together on one pin.
Ioannis
Bookmarks