Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

NEED SUPER ASAP WILL GIVE GOOD RATE A) you plan to interface an external device

ID: 3718220 • Letter: N

Question

NEED SUPER ASAP WILL GIVE GOOD RATE A) you plan to interface an external device using handshaking through parallel ports. You need to send 4 bit data to the device ( simplex link). sketch the interface between your microcontroller and the device assuming you can use parallel port 3. name the signals and their function
B) You need to transfer a lookup table with constants from the flash memory into a buffer in the ram memory. Lookup table starts at address 0xE000, and has 64 6 bit words. The destination address of the buffer ram is 0x0800. Explain how the DMA registers should be initialized to carry out this transfer NEED SUPER ASAP WILL GIVE GOOD RATE A) you plan to interface an external device using handshaking through parallel ports. You need to send 4 bit data to the device ( simplex link). sketch the interface between your microcontroller and the device assuming you can use parallel port 3. name the signals and their function
B) You need to transfer a lookup table with constants from the flash memory into a buffer in the ram memory. Lookup table starts at address 0xE000, and has 64 6 bit words. The destination address of the buffer ram is 0x0800. Explain how the DMA registers should be initialized to carry out this transfer NEED SUPER ASAP WILL GIVE GOOD RATE A) you plan to interface an external device using handshaking through parallel ports. You need to send 4 bit data to the device ( simplex link). sketch the interface between your microcontroller and the device assuming you can use parallel port 3. name the signals and their function
B) You need to transfer a lookup table with constants from the flash memory into a buffer in the ram memory. Lookup table starts at address 0xE000, and has 64 6 bit words. The destination address of the buffer ram is 0x0800. Explain how the DMA registers should be initialized to carry out this transfer NEED SUPER ASAP WILL GIVE GOOD RATE A) you plan to interface an external device using handshaking through parallel ports. You need to send 4 bit data to the device ( simplex link). sketch the interface between your microcontroller and the device assuming you can use parallel port 3. name the signals and their function
B) You need to transfer a lookup table with constants from the flash memory into a buffer in the ram memory. Lookup table starts at address 0xE000, and has 64 6 bit words. The destination address of the buffer ram is 0x0800. Explain how the DMA registers should be initialized to carry out this transfer

Explanation / Answer

Answer::

mov( $378, dx ); // Data port address

mov( Data2Xmit, al ); // Send the data to the printer.

out( al, dx );


mov( $37a, dx ); // Point DX at the control port.

in( dx, al ); // Get the current port setting.

or( 1, al ); // Set the L.O. bit.

out( al, dx ); // Set the strobe line high.

and( $fe, al ); // Clear the L.O. bit.

out( al, dx );