I2C Example

Download pre-release library modules and new examples to use with Astrobe for RISC5. Forum members can also upload their own source code examples.

I2C Example

Postby cfbsoftware » Sun Dec 23, 2018 10:07 am

Magnus Karlsson of Saanlima Electronics has implemented the I2C protocol in Verilog for the Project Oberon 2013 RISC5 processor running on their Pepino-LX9 development board. More information and downloads are available on the Saanlima Electronics forum.

I have attached an Embedded Project Oberon example which shows how to use this I2C feature on the Pepino-LX9. There are two modules included:

  • I2C.Mod - A simplified version of the NXP library module included with Astrobe for Cortex-M3.
  • Compass.Mod - A demo program which reads the magnetic compass bearings (0 - 359 deg) every seoond from an HMC6352 digital compass and displays them whenever they change.
Attachments
I2CExample.zip
(3.18 KiB) Downloaded 32 times
cfbsoftware
Site Admin
 
Posts: 369
Joined: Fri Dec 31, 2010 12:30 pm

Return to RISC5

cron