kranenborg
Senior Member
Hello,
I have a question considering the behaviour of serin and hserin for variable-length input (i.e sometimes less bytes are sent than the serin/hserin command expects). Two issues in particular:
- do these commands complete correctly (by filling in remaining registers/scratchpad with zeros)?
- does this even work correctly with background receive for highspeed serin (hsersetup)?
I would like to prescribe the maximum number of databytes that are sent in the system, but allow shorter messages to be sent as well without creating a "hang-up" situation.
Thanks,
Jurjen
I have a question considering the behaviour of serin and hserin for variable-length input (i.e sometimes less bytes are sent than the serin/hserin command expects). Two issues in particular:
- do these commands complete correctly (by filling in remaining registers/scratchpad with zeros)?
- does this even work correctly with background receive for highspeed serin (hsersetup)?
I would like to prescribe the maximum number of databytes that are sent in the system, but allow shorter messages to be sent as well without creating a "hang-up" situation.
Thanks,
Jurjen