You are currently browsing the Pilot’s Logbook weblog archives for November, 2008.
- 17. January 2012: Atypical Curiosity
- 4. January 2012: PIC32MX7 PIM, RB5 pin conflict (solved)
- 30. December 2011: MikroE Mini-32 Board
- 29. December 2011: Donate to Wikipedia
- 28. December 2011: PIC32 Interrupt Nesting (update)
- 20. December 2011: Graphics Library 3.02
- 2. December 2011: Home Brewed IDE for PIC32 assembly development
- 30. November 2011: Yoda Conditions, Egyptian brackets and more...
- 9. November 2011: AVI Player Project (for the uMMB)
- 21. March 2011: More Multimedia Boards
- January 2012
- December 2011
- November 2011
- March 2011
- February 2011
- January 2011
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
Archive for November 2008
Bending the laws of physics
19. November 2008 by pilot.
As a reader pointed out today, when preparing one of the pictures in Chapter 3, I did use a little trick, I had almost forgotten…
I did reduce the DELAY constants by a factor of 100 to … speed things up … so to speak. Otherwise the Logic Analyzer window would not be able to contain all the samples required to produce the complete “Hello” message.
I do these things quite a bit when I use the Simulator … Read the rest of this entry »
Posted in Tips and Tricks | No Comments »
Electronica 2008
13. November 2008 by pilot.
This is the week of the Electronica 2008 in Munich (Germany) and I am available at the Microchip booth (A4-560) all week to talk about 16 and 32-bit programming but especially about flying!
If you are a PIC24 or a PIC32 pilot, don’t forget to pass by and say hello!
No secret handshakes required, just ask of Lucio…
Posted in Events | No Comments »
Deep Blue PIC32
6. November 2008 by pilot.
An email from Tim O. this week made me think about the possibility of computers conversing with humans, or rather the impossibility of it, as Turing once proposed it as the ultimate test of the machine intelligence. This in turn made me think about another story that made the news a few years ago (1997) when IBMs Deep Blue computer won a historical match against the (back then) world chess champion Garry Kasparov.
Posted in PIC32 | No Comments »
MIPS DSP Libraries
4. November 2008 by pilot.
With the latest release of MPLAB C32 compiler v.1.04, Microchip has added a complete set of DSP functions for the PIC32 to complement the standard math libraries. Among them you will find a number of vector processing functions and as expected several different types of FFT functions. You will remember that in Chapter 7, in order to give the PIC32 some work to do while we were playing wit the cache and pre-fetch mechanism to find the optimal performance tuning, we used a FFT function. That was a simple “schoolbook” implementation of the basic algorithm in C.
If you try the new DSP library, don’t be too surprised if you discover that the speed of execution is increased by orders of magnitude. In fact the libraries are written for fractional numbers (16 and 32-bit fixed point numbers) as most DSP algorithms do, and were hand optimized (large portions were written in assembly) by MIPS experts to obtain the maximum performance from the PIC32 instruction set.
Posted in PIC32, Tools | 2 Comments »
Inexplicably Working Errata
1. November 2008 by pilot.
A few days ago, I received an email from a reader who reported a new errata on page 123 (in the “Learning to fly the PIC24″ book) in the write() function, an example of redirecting the “stdout” output stream.
The function receives a pointer to a buffer containing characters that need to be forwarded to the output device of choice and a counter. A loop is performed to print sequentially the required number of characters, but (here is the bug) I apparently omitted to increment the buffer pointer. To the reader’s greatest surprise the code example seems to work anyway! How is this possible?
Posted in Tips and Tricks, PIC24 | No Comments »