Use of RS-232 and SPI boards together on HP-488 board

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
Mark
Posts: 209
Joined: Thu Oct 19, 2006 11:46 am
Location: Bakewell, UK
Has thanked: 20 times
Been thanked: 16 times

Use of RS-232 and SPI boards together on HP-488 board

Post by Mark »

Can I use the RS-232 and SPI boards together with a HP-488 board? Both presumably need to be connected to Port C in tandem using an extension cable. However, there seems to be some overlap in the use of port C pins? Can this be resolved using the patch system?

Assuming they can be used together will a Flowcode allow me to move the pin assigments to match?

I am hoping that I have not made a fundamental mistake on the use of port C pins!

Thanks,
Go with the Flow.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello Mark

Which PIC micro are you using.

The RS232 uses the following pins

RX and TX

The SPI uses the following pins

SDO, SDI and SCL

Therefore it is possible on most PIC devices to connect both the RS232 and SPI to the PortC and use the patch system to channel the pins to the correct locations on the E-Blocks. You may need to be aware of enable pins etc as they may collide with other pins outs in use.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

It should work fine as long as the PICmicro in question does not multiplex the UART pins (rx/tx) with the SPI pins (SCK, SDO, SDI). You will need a splitter cable, or if you are careful you can use the patch system to connect between the boards.

Flowcode allows you to alter some pins, such as CTS/RTS and the enable lines of the SPI E-Block. But the core TX/RX and SCK/SDO/SDI pins cannot be altered.

Mark
Posts: 209
Joined: Thu Oct 19, 2006 11:46 am
Location: Bakewell, UK
Has thanked: 20 times
Been thanked: 16 times

Post by Mark »

Steve,

Once again many thanks. I will be using the 16F876 which has the correct pins. Thanks for clarifying the pins that Flowcode uses.
Go with the Flow.

Post Reply