Read/Write Eeprom in HCS12X using Processor Expert

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

Read/Write Eeprom in HCS12X using Processor Expert

450 Views
parthdh96
Contributor II

Hi

I am using Code Warrier 5.1 and initialized timers and ADCs using processor expert. I am facing problem with writing data in eeprom, I need some guidance with read/writ in eeprom.

Thank you

0 Kudos
1 Reply

371 Views
soledad
NXP Employee
NXP Employee

Hello, 

 In order to use processor Expert.
1. Create a project for HCS12 using Processor Expert and add a bean IntEEPROM to the application.
2. Configure the bean according to what you want to do, 

3. let Processor Expert generate code.

In addition, please check the application note AN2204, this appnote provides sample code for reading/writing to EEPROM.

https://www.nxp.com/docs/en/application-note/AN2204.pdf 

I hope this helps, 

Have a nice day

Regards

Soledad

0 Kudos