FLEX Multibus Daughter Board

From ErikaWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '= Description = The FLEX Multibus Board is a FLEX Daughter Board, targeted specifically for data communication. The Multibus Board simplifies the work with the communication peri…')
Line 26: Line 26:
In RT-DRUID/Eclipse, create an empty project. Then insert the following files in the project folder and compile.
In RT-DRUID/Eclipse, create an empty project. Then insert the following files in the project folder and compile.
-
zip
+
[http://erika.tuxfamily.org/download/UDPproject.zip UDP project files]
-
** HardwareProfile.h contains the HW configuration macros for the Multibus board.
+
Description of the files:
-
** TCPIPConfig.h contains the IP address used by the net protocols.
+
"HardwareProfile.h" contains the HW configuration macros for the Multibus board.
-
** flex_udp.c and flex_udp.h contain the functions you can use in your UDP application.
+
"TCPIPConfig.h" contains the IP address used by the net protocols.
-
** code.c and conf.oil are the application files.  
+
"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.
The image below shows how to set the jumpers and the Ethernet module on the daughter board.
[[image:multibus_eth.PNG]]
[[image:multibus_eth.PNG]]

Revision as of 08:36, 12 May 2010

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.

UDP project files

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. Multibus eth.PNG

Personal tools