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

Saturday, 26 December 2015

Resurrecting the Sony Ericsson Live View MN800

Another STM32 I've had for years is the Liveview.

A few clever people on the XDA developers forum have reverse engineered the device and made drivers for chibios.

The code is on github here ----> https://github.com/GottZ/olvfw  FYI this is not my code!!

It's old code but I've compiled it my self and flashed it and it works!

And yes I'll be getting canbus working via the micro usb port at some point  :)



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.