Get a free Giffgaff Sim
Showing posts with label STM32. Show all posts
Showing posts with label STM32. Show all posts

Saturday, 26 December 2015

Hacking the Bury CC9060 / VW Touch Phone Kit - Part 1

Whilst looking for an LCD to use as a display for Megasquirt

I found a display from a Volkswagen Touch Phone kit, these are a VW themed and branded version of the Bury CC9060. 

The 708 version of this hardware has an STM32F103 with some nice little goodies left on the board from when it was being developed.

I've sacrificed one to work out the JTAG/SWD pinouts and to establish how the LCD is connected to the board.



Yes that is an unpopulated mini usb connector and that vertical row of pads is the JTAG/SWD interface.

Which works out as the following

TOP TO BOTTOM 
pin 1 - voltage, (haven't checked what voltage, suspect 3v) 
pin 2 - PA14 - JTCK - SWCLK
pin 3 - PB3 - JTDO - SWO
pin 4 - PA13 - JTMS - SWDIO
pin 5 - PA15 - JTDI 
pin 6 - PB4 - NJTRST
pin 7 - ground 

The LCD seems to be an ILI9341 made by Top Foison the data sheet can be found here.
http://www.topfoison.com/product/2.8inch-TFT-LCD-module.html

Its connected to the STM32 on the fsmc pins, I've been trying to get Chibios and ugfx to work with it but example code is a bit scarce for this controller in 16bit.

I'm going to keep poking as its a nice device and once I've go the LCD going, CANbus etc shouldn't be far behind.

Innovate MTS to Megasquirt CAN Bus converter part 1



After quiting my job last month I've finally had some time to put my collection of STM32 boards to work.

With the addition of the STM32 cpus to the MBED platform its made it super simple to write code for them.

The first thing that I've decided to develop is an Innovate MTS to Megasquirt CANBUS converter.

You can see the MBED project here

https://developer.mbed.org/users/sordfish/code/MTS_TO_MSCAN/wiki/Homepage


Its still alpha code but I've had it connected to a Microsquirt and it was doing something!

I've added CAN filtering since I last tested so it may or may not work at this moment in time but I'll be adding a part 2 with the actual hardware in the next few days.