Sunday, March 23rd, 2008
In general the dsPIC is well blessed with peripherals. The dsPIC30F6015 I am using at the moment has two serial ports in addition to a couple of SPI ports and an I2C port. These UARTs seem pretty easy to use as well. Still, like other peripherals on the dsPIC, they ...
Posted in Microchip C30 | No Comments »
Saturday, February 23rd, 2008
It was all getting too awkward. A bit of short sighted design on my part had the Nokia LCD sharing an SPI port with the motor encoders. This meant that I had to turn off the encoders to write to the LCD. While no motion information would be lost by ...
Posted in decimus | 5 Comments »
Thursday, February 21st, 2008
The LS7366 is a 32 bit counter with a direct interface for quadrature signals from incremental encoders. There is also an index channel for marker functions. The interface to the microcontroller is SPI mode 0 making it relatively easy to drive with a variety of common controllers. Decimus has ...
Posted in decimus | 4 Comments »
Wednesday, February 20th, 2008
I use SPI on my micromouse both to talk to the Nokia graphical LCD and to talk to the LS7366 quadrature encoders. A large number of devices can be connected to the SPI data lines, MOSI and MISO. Each device needs its own select line. This all appear very simple ...
Posted in Hardware | No Comments »
Tuesday, September 18th, 2007
This is a fairly big jump. With the LEDs and buttons tested, it is time to add the main graphical display, made from a Nokia cellphone display. Also, there is the main system timer event.
The simple user IO is working, and it is time to add a system timer. ...
Posted in Primus | No Comments »