Archive

Archive for August, 2012

Ethernet on STM32F4DISCOVERY using external PHY

August 24th, 2012 191 comments

For you who have read about the STM32F4 Cortex-M4 processor you might know that this processor family includes a 10/100 Ethernet MAC with dedicated DMA that supports supports IEEE 1588v2 hardware, MII/RMII.
This means that the only electronics needed to enable the ethernet capability is an external PHY and the Magjack connector.

On the STM3240G-EVAL evaluation board the DP83848 PHY is used and luckily for us we were able to find a simple breakout board for this chip on eBay.

DP83848 Phy breakout board


To hook up this Phy to the STM32F4DISCOVERY board a slight change in the pins, compared to the connections on the evaluation board, had to be made. Because the STM32F4DISCOVERY board only contains the 100-pin version some of the full MII pins are missing so we have to use the PHY in RMII mode.
Read more…

Categories: ARM, Development boards Tags:

Wiimote added to USB Host library

August 21st, 2012 72 comments

This is yet again a new announcement regarding the USB Host library. I just added support for the Wiimote via Bluetooth.
Check out the source code at github: https://github.com/felis/USB_Host_Shield_2.0/blob/master/Wii.cpp and the example sketch as well.
I will work on implementing support for the Nunchuck and Wii Motion Plus extension in the near future.

Update:
The library now also supports the Nunchuck controller and the Motion Plus extensions. The newest version of the library can be found at github.

Another Update:
The library now also work with the new Wiimote where the Motion Plus extension is built-in.
Check out my commit to see what where needed in order to make the new Wiimote work as well – the main difference is that you now have to send the data using the interrupt channel.
To tell if your Wiimote is the new type, it should have a label at the bottom saying “Wii MotionPlus INSIDE”. If you are in doubt take a look at this picture.

Yet another update:
The IR camera inside the Wiimote is now also supported. The the following commit for more information.

A new update once again:
The Wii U Pro Controller is now also supported via Bluetooth.

Categories: Arduino, Bluetooth, TKJ Electronics, USB Tags:

Stellaris Multimedia streaming client

August 9th, 2012 No comments

Some of you might already have seen and read about the Multimedia streaming client project we posted as a video a couple of weeks ago. Though for you who haven’t here comes a description.

The Multimedia Streaming Client in action


Back in May we were kindly given some of MikroElektronika’s latest ARM development tools and decided that we would make a big and time consuming project with it.
As we started planning the project we had no ideas at all but all of a sudden the idea of a Multimedia streaming client struck my head. Why not use the on board VS1053 Audio codec chip for music playback and then use the Ethernet port to add a streaming functionality.
Read more…

Categories: TKJ Electronics Tags: