kranenborg
Senior Member
Hello,
I have a few questions I could use some help with:
In my application using a number of 28X1 chips (beta SerialPower V4) I will use the HSerin/Hserout pins intermittently for high-speed serial operations (HSERSETUP baudrate, %00000011 ... HSERSETUP OFF) as well as the Hserin pin as a standard input pin (In7) for detecting a change via a serial interrupt and the Hserout pin at a well-defined state. This also means that after the HSERSETUP OFF command the state of both these pins must be well defined. My questions then are:
- If not in high-speed serial mode, is it sufficient for setting the output state of the C port via the HIGH/LOW PORTC command only, or is the LET DIRSC command always necessary first to define C port pins as outputs?
- If LET DIRSC is also necessary, can I first define the output state and then use LET DIRSC instead of the other way around?
- Does the HSERSETUP OFF command leave the corresponding pins always as inputs, or does their state then revert to the latest setting (input or output Hiigh or output Low) just before the high speed serial operation was enabled?
Thanks!
/Jurjen
I have a few questions I could use some help with:
In my application using a number of 28X1 chips (beta SerialPower V4) I will use the HSerin/Hserout pins intermittently for high-speed serial operations (HSERSETUP baudrate, %00000011 ... HSERSETUP OFF) as well as the Hserin pin as a standard input pin (In7) for detecting a change via a serial interrupt and the Hserout pin at a well-defined state. This also means that after the HSERSETUP OFF command the state of both these pins must be well defined. My questions then are:
- If not in high-speed serial mode, is it sufficient for setting the output state of the C port via the HIGH/LOW PORTC command only, or is the LET DIRSC command always necessary first to define C port pins as outputs?
- If LET DIRSC is also necessary, can I first define the output state and then use LET DIRSC instead of the other way around?
- Does the HSERSETUP OFF command leave the corresponding pins always as inputs, or does their state then revert to the latest setting (input or output Hiigh or output Low) just before the high speed serial operation was enabled?
Thanks!
/Jurjen
Last edited: