Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB low-full-high speed peripherals Forum Discussions

DaWi_3430881
Level 3
Level 3
First like given

Hello,

   I am interfacing to an I2C 128x64 OLED display with the FX2LP. I would like to display a graphic on the OLED while the other parts of the system are booting. I would need a maximum of a 1024-byte array to hold the graphic. How can this be done for the FX2LP? I've tried to make such an array and when I program the FX2 it does not enumerate.

Thanks,

Dave

0 Likes
1 Solution

Hi Yatheesh,

  I got it working by changing the array from __data to __code memory space.

Thanks,

Dave

View solution in original post

0 Likes
2 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please make sure that your I2C code is not placed in TD_Init(), as the code inside TD_Init is only used for initializing the device.

The TD_Init will be called before the device descriptors are initialized, If there is any code which delays or obstructs the code flow in TD_Init the device enumeration will be delayed or failed.

Please place the I2C code in TD_poll.

Thanks,

Yatheesh

0 Likes

Hi Yatheesh,

  I got it working by changing the array from __data to __code memory space.

Thanks,

Dave

0 Likes