Jump to content

assembly prog for serial port comm in rs-232


vidhmadh

Recommended Posts

can someone help me with a short assembly program to test the data n control signals when transferring data(eg a byte)using serial comm using rs-232.

2018[/snapback]

I don't know if I can help you if you must use assembler, but I think there is an easier way and you can do it in LabVIEW.

I have written a number of serial and parallel port drivers at quite a low level but the VI's you need to do it are not exposed.

There are two libraries, sersup.llb and serial.llb located in ...LabVIEW 7.1\vi.lib\instr

These are legacy libraries that have been replaced by the VISA Serial functions.

You can also read and write to the USART directly by using Port I/O functions located in the Advanced palette, but this means you need an understanding of the base port address of the USART and documentation for the registers and their address relative to the base address.

I believe the PC chipsets still emulate the 8251 USART, but this information is readily available on the web.

If you can tell me more about what you are trying to do, I might be able to help you further.

Cheers,

Barrie

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.