About far pointer in codewarrior 5.2

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

About far pointer in codewarrior 5.2

666 Views
nxpxhy13
Contributor I

Excuse me: in the serial interrupt service program, a far pointer points to the receive data buffer, the buffer is in PAGED_RAM area, use the far pointer to write the received serial data to this buffer. Is this OK?

0 Kudos
3 Replies

651 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

Could you, please, share your project (to better understand your question)?

I'm not sure which MCU you use.

However, I would like to suggest looking at the SCI example, see attachment.

 

Thank you.

Best regards,

Diana

0 Kudos

637 Views
nxpxhy13
Contributor I

My CPU is mc9s12xe series.

0 Kudos

618 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

A similar question has been discussed in this community thread, see the link below:

https://community.nxp.com/t5/CodeWarrior-for-MCU/Paged-ram-far-pointers-CW-S12X/m-p/207819

 

I hope it helps.

Best regards,

Diana

0 Kudos