Bit banging to Read and Write on to an EEPROM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bit banging to Read and Write on to an EEPROM

Jump to solution
3,701 Views
pradyumnakammar
Contributor III

I am new to freescale and am trying to initialize GPIO pins .  Has any one tried or have documents on how to READ and WRITE on to an EEPROM by bit banging method ?

using KL05, atmel's 512kb EEPROM ,writing a C program to read and write data using bit banging( not via I2c module)

i need info on how to configure GPIO or FGPIO pins to do this.

Acknowledge polling is the major concerns ... how do i do it?

0 Kudos
1 Solution
2,159 Views
BlackNight
NXP Employee
NXP Employee
0 Kudos
7 Replies
2,159 Views
BlackNight
NXP Employee
NXP Employee

Hello,

yes, I'm using I2C bit banging to external EEPROM modules:

Bit Banging I2C | MCU on Eclipse

It features as well Processor Expert components for the 24AA external EEPROM modules (see losing my mind over i2c interfacing to 24lc00 eeprom).

0 Kudos
2,159 Views
pradyumnakammar
Contributor III

Hello Erich ,

thank you so much for replying... i'm actually writing code in Kiel. will have to write my whole code again

will try and go through your  component n use it ...


Thank you 

0 Kudos
2,159 Views
BlackNight
NXP Employee
NXP Employee

Hi Pradyumna,

Keil supports Processor Expert, so no need to re-write that code.

0 Kudos
2,159 Views
pradyumnakammar
Contributor III

0_0 really? thats cool .. how should i start then??

pls help how n from where shall i start

0 Kudos
2,160 Views
BlackNight
NXP Employee
NXP Employee

Hi Pradyumna,

yes. Here is a tutorial:

Using Keil µVision (ARM-MDK) with Processor Expert Driver Suite | MCU on Eclipse

I hope this helps.

0 Kudos
2,159 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

If you need a software code to realise GPIO pin to simulate I2C communication?

B.R.

Ma Hui

0 Kudos
2,159 Views
pradyumnakammar
Contributor III

Hello Ma Hui,

yes i need a code to  make GPIO pins  Simulate I2C communication... I need to communicate with an EEPROM.

failed miserably in writing the code as SDA pin of the EEPROM doesnt go low after sending the device address

some help will be really appreciated

Thank you  

0 Kudos