Posts

Showing posts from June, 2022

sequential (46) no realistic serial circuit (inverter)

Image
  https://wodewangzhishime.blogspot.com/2022/06/satellite-for-loop.html?m=1 . Ref:  https://chihaukam.blogspot.com/2024/06/blog-post.html?m=1 . . . . John: There're 2 pictures above. They are the circuit of inverter.  Which one is correct? Me: Logically, the 1st picture is correct. John: Why? Me: I show it to you in code. John: OK. . If (input side = Up cycle) { NPN = UP cycle and NPN = saturated. PNP = UP cycle and PNP = cut off. The output = 0. } . John: You're wrong. The 2nd picture is correct also.  I show it to you in code. Me: OK. . If ( input side = Up cycle ) { NPN = Up cycle and NPN = saturated. PNP = Down cycle and PNP = saturated. The output = 1 or 0 } . Me: When the input side is Up cycle, the gate of PNP is down cycle. It is impossible. John: It is possible. Take a look at this article ( https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_14.html ). . Me: OK. I assume that it is possible. Then, what is the output of the 2nd picture? John...

sequential (64) fields

Image
https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime_46.html?m=1 . Ref: https://wodewangzhishime.blogspot.com/2022/04/httpswodewangzhishime_23.html . . . Me: I instantly quote an example. . .We have a code of MOV R4, R1. .  . Inside the the Register of R4, there're 6 fields. 1) Subject [R1] 2) Role [Master] 3) Interrupt Status [system clock line] 4) Type of value [Words] <--- First round. . R1 will Check if the type of value is words. 5) Object [R4] <---- First round. .R1 will  Check if there is a register called R4 in the cache. 6) Value [0101.1000] === There is a vector table next to the modulator. . . This table is cache. Inside the cache, there're 6 fields. . 1)  Subject [R4] <------ First round checking, pass. 2) Role [pending] 3) Interrupt status [pending] 4) Value type [Words] - - First round checking, pass 5) Object [pending] 6) value[pending] <--- Second round. Set the value . Me: If the first round checking doesn't pass, there is no se...

sequential (57) I2C and SPI protocol

Image
  https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime_10.html?m=1 . Ref: https://kamchihau.blogspot.com/2022/09/different-frequency.html .  . . John: There're many type of protocol of communication . You might have a look .  https://instrumentationblog.com/communication-protocols/ . // . For example, RJ45, I2C, USB, SPI, RS232, so on and on.  Me: Ok. John: We use the protocol of SPI as an example.  Look at the picture above.  The slave of SPI use the clock line of the master. Me: OK. John: Normally, the master of SPI choose the clock line of the system.  However, hacker hack it. It Become, . Subject [Master of SPI] Interrupt [The clock line of RJ45] <---- Originally it is The clock line of the System.  Object [] Value [pending] . John: If there's carrier wave on the clock line of RJ45 of the master, those carrier wave enter the Slave cause the slave use the clock line of RJ45 too.

sequential (55) Left right shift line

Image
https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime.html . Ref: https://kamchihau.blogspot.com/2022/10/httpskamchihau_16.html . . . John: See the picture above. Not all the chips have the Left/Right shift line. Left/Right shift line is a field. . For (int i = 0; i<100; i++) { Sum = Sum + i (Right shift) Receiving.  } . __ . For (int i = 100; i>0; i--) { Decrease = decrease - i (Left shift) Sending.  } Subject [I2C] Object [Sum] Interrupt_status [ ] Load_Shift_status [Shift] Left_Right_Shift [ right ] <-- Right shift mean receiving. In the port of SPI, you're not supposed to set it. . Me: The port of I2C is only one line. This one line is used for both receiving and sending. Therefore,  Left/Right Shift line is needed in this case. . John : Other chips doesn't have Left/Right Shift line. . Me: Right shift mean receiving in the port of I2C.  Left shift mean sending in the port of I2C. . John : Spi port has 2 line. One is for receiving.  On...

learning and teaching (36) teacher and student of China

https://wodewangzhishime.blogspot.com/2022/05/httpswodewangzhishime_13.html . Ref: https://wodewangzhishime.blogspot.com/2021/10/httpswodewangzhishime_61.html . John : Miuson is the person in this link.  https://johnchihau.blogspot.com/2026/04/blog-post.html?m=1 Me: Ok. . John: 2014, Kelvin use the poison to kill my father in the hospital. Guess what happen ? . . Kelvin : I killed John's father.  You do me a favour.  You help me to  provoke John . . Mary (the public relation of the hospital): How do I provoke John ? . Kelvin: You give a phone-call to John. You pretend to feel pity and pretend to sob and say to John, " Your father is miserable. ". ____________________ Bradley: Kill those students, e.g., Mary. . Kelvin : Hey ! It's me who killed John's father not her. . Bradley : Then, what's her role ? . Kelvin : She is a student.  . Bradley : That's why I tell you to kill her. ___ Miuson : You told Bradley that It's you who kill John's father not...