I am new to CodeWarrior HCS12X, how can I start??

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

I am new to CodeWarrior HCS12X, how can I start??

1,103 Views
parthdh96
Contributor II

I have started with basic coding in software, finding difficulty in working with the controller. 

8 Replies

819 Views
parthdh96
Contributor II

Hello,

Yes, Thank you sir, I am going through those examples. And got flash example as well in that.  

0 Kudos

819 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

You are welcome. If you have any related question, please, let me know.

Best Regards,

Diana

819 Views
parthdh96
Contributor II

Hi,

how can we interface external EPROM with MC9S12X256. 

0 Kudos

819 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Parth,

It is better when you will create a new request for the questions which are not related to this case.

However, you can look at the AN2708 - An Introduction to the External Bus Interface on the HCS12X

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

The purpose of the external bus interface is the expansion of internal bus to enable connection of external memories/peripherals.

I hope it helps.

Best Regards,

Diana

0 Kudos

819 Views
parthdh96
Contributor II

And also if you can help me on reading and writing non volatile memory. 

0 Kudos

819 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Parth,

Did you download the S12X Example pack?

https://community.nxp.com/docs/DOC-95116 

There can be found the ADT examples:

XEP100 - ATD + GPIO - CW47

XEP100 - ATD and PIT - CW47

XEP100 - ATD Continuous conversion with interrupt - CW4

XEP100 - ATD multichannel - CW46

XEP100 - ATD Single conversion - CW46

And on this link can be found the FLASH examples.

 https://community.nxp.com/docs/DOC-329209 

You can use it as a reference.

I hope it helps.

Best Regards,

Diana

0 Kudos

819 Views
parthdh96
Contributor II

Hello,

Sorry I am late with replying.

I am using MC9S12X256, and code warrior version 5.1. I want to use some ADCs of this micro-controller to acquire some voltages and want to set output accordingly. I am studying Timers and interrupts, and also memory accessing. If you can help me on this, I will be very thankful.  

0 Kudos

819 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Parth,

If you give me more information such as a concrete type of MCU or what's causing you difficulty I can tell you more.

Do you have already installed CodeWarrior? If yes, which version?

For now, I would like to provide you some examples and documents:

S12X Examples Pack:

https://community.nxp.com/docs/DOC-339787

List of MagniV and S12(X) Examples and Documents (please, focus on the S12(X) section)

https://community.nxp.com/docs/DOC-341378

List of MagniV S12(X) Application notes

https://community.nxp.com/docs/DOC-341377

S12X PLL (Filter) Calculator

https://community.nxp.com/docs/DOC-103954

Also, important information can be found on the NXP site:

https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit...

I hope it helps.

Best Regards, 

Diana