ChibiOS-Contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/I2C
zykrahgaming e898157b18 Even more more changes to chconf.h files 2022-01-01 18:37:17 +11:00
..
cfg Even more more changes to chconf.h files 2022-01-01 18:37:17 +11:00
Makefile Updated Makefiles to use newer ARM ports 2022-01-01 17:41:28 +11:00
main.c add I2C example for NUC123 2021-01-09 22:06:22 +09:00
readme.txt add I2C example for NUC123 2021-01-09 22:06:22 +09:00
ssd1306.c add I2C example for NUC123 2021-01-09 22:06:22 +09:00
ssd1306.h add I2C example for NUC123 2021-01-09 22:06:22 +09:00

readme.txt

*****************************************************************************
** ChibiOS/HAL - I2C driver demo for NUC123.                               **
*****************************************************************************

** TARGET **

The demo runs on a NUTINY-SDK-NUC123-V2.0 board with a NUC123SD4AN0 MCU.

** The Demo **

The application demonstrates the use of the NUC123 platform driver, and a little
bit of the PAL. A successful run of the test involves the on-board LED blinking at 2 Hz
(on for 100 ms, then off for 400 ms).


** Board Setup **

- Connect 128x32 OLED module to PA.10=I2C1_SDA and PA.11=I2C1_SCL .
- Connect 128x64 OLED module to PF.2=I2C0_SDA and PF.3=I2C0_SCL .
- If any of the OLED modules are absent, pull-up resistors are required instead.

** Build Procedure **

The demo has been tested using gcc version 9.3.1 (GNU Arm Embedded Toolchain 9-2020-q2-update).
Just add overriding setting for TRGT in the command line in order to use specific version of GCC.
for example: make -j TRGT=/opt/ARM/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-