3. Making a Test Board
– Prepare C8051F380-TB board from Silicon Labs and WIZ550io from WIZnet. Also, prepare the Breadboard, all-purpose kit, and jumper wire.
C8051F380 IO pins are basically used as GPIO pin, it can be switching to SPI, UART, or Peir(IO pin) through CrossBar. We have to know which port is connected to SPI IO pins before making test board because Pin’s location is changed depends on how Crossbar is set up.
Simplicity Studio supports the tool named as Configuration Wizard 2.
Run Configuration Wizard 2 and select C8051F380.
To add “Peripherals” on the Menu, click the [OK] button.
If you select “Port I/O”, you can set up the Port I/O pin as following
You can move SPI IO pins to any port pin that you want by using Pin Skip Check Box.
In order to output the Serial Debugging Message, set up UART0 as P0_4(TXD), P0_5(RXD) and set up SPI IO as P0_0(SCLK), P0_1(MISO), P0_2(MOSI), P0_3(NSS) without Port Skip.
WIZ550io is Network Module based on W5500 chip from WIZnet. Please refer to following website; http://wizwiki.net/wiki/doku.php?id=products:wiz550io:allpages.
Let’s make Test Board in earnest from now.
Before making Test board, let’s make simple schematic first.
Connect RSTn pin and INTn pin from WIZ550io with P1_0 pin and P0_6 pin from C8051F380 respectively.
RDY PIN becomes “High” when WIZ550io MCU in itself complete the Network Configuration of W5500. RDY PIN is Option PIN that would be more stable in order to control WIZ550io. If GPIO PIN of target B/D for development code is not enough, just access WIZ550io with 200ms delay instead you connect it with GPIO PIN.
|Signal Name||C8051F380 PIN location||WIZ550io PIN location|
|SPI : SCLK||P0_0 (J13:C12, J2:1)||J1:5|
|SPI : MISO||P0_1 (J13:B12, J2:2)||J1:4|
|SPI : MOSI||P0_2 (J13:A12, J2:3)||J1:3|
|SPI : SCS||P0_3 (J13:C11, J2:4)||J1:6|
|Interrupt||P0_6 (J13:C10, J2:7)||J2:5|
|3.3 VDD||J13:A1||J1:7, J1:8, J2:1|
Let’s solder now by using jumper wire.
Finally, complete to make the test board.
After connecting WIZ550io, give permission to have power.
We are ready for porting ioLibrary_BSD to MCU 8051.
See you in next chapter!