TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136223 times)
  2. FAT32 Library (69491 times)
  3. Network Ethernet Library (55709 times)
  4. USB Device Library (45993 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40800 times)
  7. GSM click (28789 times)
  8. PID Library (26332 times)
  9. mikroSDK (26059 times)
  10. microSD click (25145 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: 3354 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

EERAM 5v click

5

Add memory to your project with EERAM 5V click. It carries the 47L16/47C16 I2C serial EERAM from Microchip. The click is designed to run on a 5V power supply. It communicates with the target microcontroller over I2C interface, with additional functionality provided by the INT pin on the mikroBUSâ„¢ line.

[Learn More]

Flash 6 click

0

The Flash 6 Click based on W25Q128JV (128M-bit) flash memory from Winbond provides a storage solution for systems with limited space, pins and power.

[Learn More]

Digital Input Output Demo

0

The application demonstrates GPIO SDK functionality.

[Learn More]