Other Parts Discussed in Thread: HDC1080, MSP430WARE, MSP430G2121
I'm looking to migrate a customer from an Atmel based application to one of our processors.
First I need help selecting the right processor. I have pre-selected the MSP430G2252, but there should be better choices available.
The requirements are:
- Very cost sensitive application
- Required 14-20pin package available in DIP/SOIC
- Hardware I2C desirable (but not essential)
- 1 timer to wake the device from sleep every so often.
- 1 or 2K Flash memory
The requirements are fairly straightforward. A timer interrupt is used to wake up every so often. Once so, the device reads a HDC1080, processes the data and sends it to a SPI radio. SPI is bit-banged using free I/O's
Second I would like some bare metal examples on how to set the registers to configure the I2C hardware, timer, digital I/O's and, if possible, one ADC.
Any help greatly appreciated.