SOCIALS 

SUBSCRIBE 

 Please subscribe.   So, you will get notification of the latest exciting posts. 

© 2023 by FEEDs & GRIDs. Proudly created with Wix.com

ABOUT FEEDs & GRIDs

My name is Mike.   This blog is made especially for you to enter my technology universe.  You will find new ideas and skills that may be helpful to you.   Feel free to leave your comments.   I am excited to hear from you.  Thank you. 

Bus (I2C,SPI,UART,USBX) Tutorials for Renesas S5D9 IOT board

February 2, 2018

 

Project Goals

  • Learn to configure port for popular bus standards.

  • Learn to generate both driver and framework versions. 

    • The driver version can work without ThreadX RTOS.

    • The framework version is suitable for applications that require ThreadX RTOS.

  • How to set up the hardware for testing.

Board

 

Renesas S5D9 IoT Fast Prototyping Kit

 

Software

 

1. Renesas E2 Studio Tool version 5.4.0.023

2. Renesas SSP version 1.30

3. S5D9 IOT ENABLER pack file

 

 

Hardware

 

1.The Jlink debugger board (included in S3A7 kit or purchase from SeeedStudio)

2. Pin Female Jumper To Grove 4 Pin Conversion Cable (Amazon Link)

3. Both SPI and I2C interface BMC 150 Motion and Accelerator Sensor (included S3A7 kit).  Use other SPI or I2C interface sensor module from SeeedStudio if you don't have BMC 150, but the code will require changes.

4. FTDI Serial TTL-232 USB Cable purchased from Adafruit.  This is for USB to UART conversion.

 

Note:  Item 3 is for the SPI and I2C tutorials.   Item 4 is for the UART tutorial.

 

 

Prerequisites

 

1. E2 Studio Installation.  For this tutorial, use E2 Studio version 5.4.0.023 and SSP version1.30. (IOT Community page)

2. Blinkey Example with E2 Studio and Jlink Flash (IOT Community) - Need to know how to configure pins/thread.

3. Simple C language coding skill.

 

Tutorial examples

 

1. Lesson 1a I2C with riic driver - Grove B port

2. Lesson 1b I2C with sci driver - Grove A port

3. Lesson 1c I2C with riic framework (RTOS) - Grove B port

4. Lesson 1d I2C with sci framework (RTOS) - Grove A port

5. Lesson 2a SPI with rspi framework (RTOS) - PMOD port

6. Lesson 2b SPI with sci framework (RTOS) - PMOD port

7. Lesson 3a UART with sci driver - Grove A port

8. Lesson 3b UART with sci framework (RTOS) - Grove A port

9. Lesson 4a USBX with usbx framework (RTOS) - USB port

10. Lesson 4b USBX with usbx framework (RTOS) and floating printf support - USB port

 

Bus Schematic

 

 

Download

 

Here is the link to the Github repository where documents and Synergy project files are available to download.  The project files are zipped in two zip files.

 

https://github.com/mikelisfbay/Renesas_s5d9_bus_examples_i2c_spi_uart_usbx

 

Tags:

Share on Facebook
Share on Twitter
Please reload

RECENT POSTS

Please reload

FEATURED POSTS

I2C Tutorial for Renesas S5D9 board: Add ThreadX real time OS support. (Part 3)

February 18, 2018

1/5
Please reload

FOLLOW US

  • Grey Facebook Icon
  • Grey Twitter Icon
  • Grey Instagram Icon
  • Grey Google+ Icon
  • Grey Pinterest Icon
This site was designed with the
.com
website builder. Create your website today.
Start Now