All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - ForceParity
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 08 Sep 2003 :  11:01:52  Show Profile  Email Poster
ForceParity.exe

This application illustrates how to force the parity bit on XScale serial transmissions to a specific level (StrongARM systems don't support fixed parity, so the parity level will remain fixed). It transmits a byte several times per second, toggling the parity bit each time.

On an oscilloscope, you will see the RS-232 level drop for one bit at the start of the byte's transmission. You will then see that the parity bit toggles at the end of the transmission.

Status information from the application is displayed on the debug port. The application runs for five minutes.

ForceParity.exe in this ZIP file was compiled with eVC 3.0.

Key APIs Used


GetCommState
SetCommState

Lines of Code: 25

Download: Source and EXE
Rev 1 - September 4, 2003 (11k zip).

  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000