Wednesday, April 17, 2013

Port Mapping

1. Write the password (0x02D52) to the port mapping register.
2. Select the secondary function of each pin (PxMAPy; x = port, y = pin).
3. Write something else (0x00) to the port mapping register to lock access.

Communications

Setting up UART in MSP430

1. Set PxSEL to choose secondary function. For Tx also set PxOUT.
2. Configure interface: Reset interface, choose clock source, choose baud rate and modulation pattern, start interface, enable interruptions if necessary.

Setting up I2C in MSP430

1. Set PxSEL to choose secondary function.
2. Configure interface: Choose I2C mode (master, slave), synchonous communication, choose clock source, choose baud rate, if master set slave address, start interface, enable interruptions if necessary.

Monday, March 11, 2013

PCB Design

Today Jeroen and I found that the footprint of the crystal oscillator for the RF module is upside-down, the crystal was removed because it was causing a short circuit between pins 25 and 26 of the MCU.

As we are not using batteries at the moment to test our circuit, we are relying on the USB interface of the programmer; a bridge was soldered in the footprint of the battery charger as we don't have such a component to link the input voltage coming from the USB connector to the PCB of our sensor (pins 3 and 4).

Tuesday, March 5, 2013

Welcome

This blog will serve both to log our improvements on the project and to keep trace of the solutions we came up.

Every single event and conclusion should be uploaded for further review.