Section 12.4 Before Class: The Datasheet Scavenger Hunt
On Thursday we’ll complete the accelerometer’s device driver and watch live acceleration data stream to CoolTerm. To get ready for that class you have two pieces of homework: writing
lsm303_AccelRegisterWrite() on paper, and working out what settings belong in the two control registers, CTRL_REG1_A and CTRL_REG4_A. This reading has two goals. The first is to say what a working accelerometer reads when it is sitting still, which is how you’ll know on Thursday whether your driver is right. The second is a scavenger hunt through the datasheet, to get familiar with the many kinds of information in it; on the way you will pass the tables from which the two register settings come.
