Tuesday, March 9, 2010
More Coding! Yipee!
So, this week, I'm getting back into the swing of things, after last week's trip to New Mexico. Currently I'm reading up on the data that needs to be sent from the main processor in the stethoscope into the audio codec (chip that makes audio signals understandable to the processor). While this sounds simple, I would like to insert a quote from the Texas Instruments datasheet for the codec: "[the codec] contains 108 pages of 8-bit registers, each page can contain up to 128 registers" essentially, this means that there is a theoretical maximum of 13824 values that must be loaded in order to get the darned thing to export audio data! This will likely be culled down to a more manageable several hundred after further reading and coding, as I am not using all the features within the codec, but still seems to imply a difficulty curve akin to running headlong into a brick wall. While I could write (read: bore you) more about the minutiae of the I2C and I2S (Inter Integrated Circuit and Inter-IC Sound) serial bus timings and arbitration protocols, doing so would serve very little purpose and would interest no one. So, with that said, I return now to my code, which keeps me less warm at night than I would like to think.
Subscribe to:
Post Comments (Atom)
Better be excited about coding Mr.Future EE.
ReplyDeleteI'm in the same boat as you... except that my code is more fun and mathy (i.e. rotational matrices sorta multiplying various interpolating functions)!
ReplyDelete