Get Adobe Flash player
English Arabic French German Italian Portuguese Russian Spanish

Did you know?

One lightning bolt has enough electricity to service 200 000 homes

Help us stay online:

small donate

spi ebaseThe Serial Peripheral Interface (SPI) module is a synchronous serial interface useful for communicating with other peripheral or microcontroller devices. These peripheral devices may be Serial EEPROMs, shift registers, display drivers, A/D converters, etc.Block diagram of the SPI module is shown on picture. Depending on the variant, the dsPIC30F family offers one or two SPI modules on a single device. SPI1 and SPI2 are functionally identical. The SPI2 module is available in many of the higher pin count packages (64-pin and higher), while the SPI1 module is available on all devices.

Read more...

logo dspic adcThe 12-bit Analog-to-Digital Converter (ADC) allows conversion of an analog input signal to a 12-bit digital number. This module is based on a Successive Approximation Register (SAR) architecture and provides a maximum sampling rate of 200 ksps. The A/D module has up to 16 analog inputs which are multiplexed into a sample and hold amplifier. The output of the sample and hold is the input into the converter which generates the result.

Read more...

dspic uartThis is basic example on how to send and receive data over dsPIC30F UART peripheral. It is easy to understand and if you have not worked with UART on microcontroller before, it is good starting point. In article UART - usage of registers we have explained details of register usage.

We will show how to send charachters, decimal values and strings and how to recive one charachter via UART. You can download whole project for MPLABX and try it at your own solution.

Read more...

microcontroller uart_rs232_adaptor2The Universal Asynchronous Receiver Transmitter (UART) module is one of the serial I/O modules available in the dsPIC30F device family. The UART is a full-duplex asynchronous system that can communicate with peripheral devices, such as personal computers, RS-232 and RS-485 interfaces.

The primary features of the UART module are:

Read more...


  • Internal ADC
  • UART


    Tutorials of how to drive input/output pins of dsPIC Microchip microcontroller are placed here. GPIO pin you need for every microcontroller for interaction with outside world. Detailed description of register usage with example code writen for C30 compiler is placed here for you to download, test and learn thru examples.


  • dsPic SPI