FLEX Multibus Daughter Board
From ErikaWiki
Description
The FLEX Multibus Board is a FLEX Daughter Board, targeted specifically for data communication. The Multibus Board simplifies the work with the communication peripherals integrated in the Microchip dsPIC (R) DSC. The board, which is fully modular, provides a set of modules that realize the hardware interface with the buses. The Multibus Base Daughter Board is piggybacked on FLEX Full/Light Base Board.
The following slots are available on the Multibus Board:
- UART2 slot, for Serial TTL/RS232/RS485/RS422 module
- UART1 slot, for Serial TTL/RS232/RS485 module
- CAN1 slot, for CAN module
- CAN2 slot, for CAN module
- I2C slot (channel selectable), for I2C module
- SPI slot (channel selectable), for SPI module
- Ethernet slot, for 10Mbit Ethernet module
Modules are mounted only if needed. For example, if the application requires the Ethernet interface and the connection to the CAN bus, only the corresponding modules will be mounted on the Multibus Board, leaving the remaining pins free for other use.
FLEX Multibus Daughter Board product page
FAQ
- Could you please explain how to create a project based on the Microchip UDP (or TCP/IP) stack?
If you use the Demo2 pack for motion control (Motion Daughter Board) you can create a project starting from Scicos. With the Multibus daughter board you can implement the Microchip TCP/IP stack in a project in this way.
In RT-DRUID/Eclipse, create an empty project. Then insert the following files in the project folder and compile.
Description of the files: "HardwareProfile.h" contains the HW configuration macros for the Multibus board. "TCPIPConfig.h" contains the IP address used by the net protocols. "flex_udp.c" and "flex_udp.h" contain the functions you can use in your UDP application. "code.c" and "conf.oil" are the application files.
The image below shows how to set the jumpers and the Ethernet module on the daughter board.
- Could you please explain how to use RS232 module with the FLEX Multibus daugther board?
You just have to mount the RS232 module on the socket and to set up two jumpers as shown in the following image.