I am confuse over the conversion of cycle per second and the cycle period with bytes during the tutorial class and hope that you can provide some guidance on this kind of question.
Using the question 4 for tutorial as an example
A serial communications I/O module is configured to receive data using the asynchronous format with 1 start-bit, 7 data-bits, 1 parity-bit and 1 stop-bit. The module will interrupt the CPU every time it receives a character. The CPU will then execute the Interrupt Service Routine (ISR) to read the character received. Assume each interrupt takes a minimum of 100 μs (from the time the interrupt request is generated) to service, what is the maximum baud rate that can be supported by this serial communication I/O module?
The solution is 1/100us = 10000 interrupts per second
10bits * 10000 = 100Kbits per second
For the 1/100us, does the front 1 mean one byte? so 1byte divide by 100us will allow 10000 byte interrupts per second? Similarly, 1/10000 interrupts will mean one byte interrupts take a clock cycle of 100us?
So for 10bits, we take 10/100us and the resulting answer will be 100kbits interrupts per second?
[Jason] Assume maximum number of interrupts. So, an interrupt occurs every 100 us, equivalent to 1/100us= 10000 interrupts per second. Each time an interrupt occurs, a data packet is sent. In this case, each data packet is 10bit (start+data+parity+stop). So the maximum transfer rate in bps is 100 Kbits per second (baud rate).
Thanks for your help
With Regards,
Kerk Kok Hui