TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (382 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139716 times)
  2. FAT32 Library (72102 times)
  3. Network Ethernet Library (57320 times)
  4. USB Device Library (47666 times)
  5. Network WiFi Library (43287 times)
  6. FT800 Library (42620 times)
  7. GSM click (29958 times)
  8. mikroSDK (28376 times)
  9. PID Library (26977 times)
  10. microSD click (26378 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

FTDI click - Example

Rating:

0

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: USB

Downloaded: 3477 times

Followed by: 1 user

License: MIT license  

This is demonstration project how FTDI click can be used to control slave microcontroller via I2C.
Lower nibble of slave address is masked which enables the master to address slave using eight different addresses.
Currently four addresses are implemented for different functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "FTDI click - Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "FTDI click - Example" changes.

Do you want to report abuse regarding "FTDI click - Example".

  • mikroSDK Library 2.0.0.0
  • Comments (1)

Example Blog

FTDI click

FTDI click

Front and back view of FTDI Click Board designed in mikroBUS form factor.

View full image

FTDI click is accessory board in mikroBus form factor which enables you to connect, PC and MCU applications using preferred communication protocol (I2C, SPI, UART).

It features FT2232H chip - dual high speed USB 2.0 to UART/I2C/SPI serial interface converter.

In this example project PC Application is communicating with MCU connected on EasyPIC v7 development system via I2C.

PC is master and MCU is receiving control instructions in I2C(MSSP) interrupt routine.

Currently only few functions are implemented, but they can be easily expanded on more functions.

- Send first/second line of typed text to MCU.
(received text is displayed on LCD located on EasyPIC v7 development system)

- Send command to MCU, which then plays the song on Buzzer.

- Control individual pins on PORTD of microcontroller.


Microcontroller is controller via Windows application which is provided in this package.
(Application is written in Visual Studio 2010 Express and LibMPSSE-I2C dll).
http://www.ftdichip.com/Support/SoftwareExamples/MPSSE/LibMPSSE-I2C.htm

Example is written for :
  - EasyPIC v7 - PIC18F45K22

FTDI click schematic

FTDI click schematic

The schematic of the FTDI click board.

View full image

ALSO FROM THIS AUTHOR

WM8731 - Example

0

This project demonstrates communication with WM8731 audio codec.
Program reads one wav file from MMC and sends it to WM8731 for decodingand playing.

Example is for PIC32.

[Learn More]

MUX 2 click

5

MUX 2 click is a Click board that switches one of the eight inputs to one output. It employs the MUX508, a modern CMOS analog multiplexing integrated circuit, produced by Texas Instruments.

[Learn More]

LCD mini Click

0

LCD mini Click displays 2x16 monochrome characters on an LMB162XFW LCD display. It features the MCP23S17 port expander and the MCP4161 digital potentiometer, both from Microchip.

[Learn More]