If you're using interrupts on either end then you shouldn't use SEROUT/SERIN as interrupts will upset the timing.
You should use the hardware HSEROUT/HSERIN routines, but then you will have to use...
I guess then, the sending device is interrupted by the USB routines while sending and as a consequence the transmission of RS-232 at that time is corrupted.
So I have a need to override a pushbutton (from ON to OFF) and came up with this concept; a solenoid piggyback on a pushbutton switch with a 3D printed cap held by a strand of wire.
...
Published on - 27th May 2010 02:01
Number of Views: 8630
This is an effort to help users understand how the I2C command works by comparing it with SHIFTIN/SHIFTOUT. A serial EEPROM, 24FC1025 will be used in the example.
Re: SERIN2 Receiving Wrong Data
If you're using interrupts on either end then you shouldn't use SEROUT/SERIN as interrupts will upset the timing.
tumbleweed Today, 13:12You should use the hardware HSEROUT/HSERIN routines, but then you will have to use...