|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
HCS12 with 3 SCI Ports?I have been looking, but I can't seem to find any HCS12 products with more than two undependant SCI ports. Does anyone know of a HSC12 product that does?
|
|
|
Re: HCS12 with 3 SCI Ports?The MC9SE128 has three (independent) SCI ports.
Regards, Donald E Haselwood On Wednesday 24 June 2009 11:31:33 am jmeyer@... wrote: > I have been looking, but I can't seem to find any HCS12 > products with more than two undependant SCI ports. Does > anyone know of a HSC12 product that does? |
|
|
Re: HCS12 with 3 SCI Ports?--- In 68HC12@..., jmeyer@... wrote:
> > I have been looking, but I can't seem to find any HCS12 products with more than two undependant SCI ports. Does anyone know of a HSC12 product that does? > Check out the HCS12XA family you can get up to 6 SCI's. The 9S12A256 that I use has 3 SCI's but only in the large chip version. In the small chip version that I use only 2 SCI's are brought out to external pins but registers are there for 3 SCIs. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XA&webpageId=1143140751948709793176&nodeId=01624686363176&fromPage=tax |
|
|
Re: HCS12 with 3 SCI Ports?Hello everybody,
it's my first time to use COSMIC to program MC9S12XDP512. I got along well with it. However, i'm a little bit confused on how to write my interrupt. you see, there're only defined function pointers without any explicit indication as follows: @interrupt @near void (* const _vectab[])(void) = { dummit, /* 0xFF10 Surious Interrupt */ dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, /* 0xFF60 XRAM access violation */ dummit, /* 0xFF62 XGATE software error */ dummit, /* 0xFF64 XGATE software trigger 7 */ dummit, /* 0xFF66 XGATE software trigger 6 */ dummit, /* 0xFF68 XGATE software trigger 5 */ dummit, /* 0xFF6a XGATE software trigger 4 */ dummit, /* 0xFF6c XGATE software trigger 3 */ dummit, /* 0xFF6e XGATE software trigger 2 */ dummit, /* 0xFF70 XGATE software trigg } I'm really confused by such definitions. they are truelly different from AVR. Who can interprete it clearly to me? Thank you very much in advance! |
|
|
RE : Re: HCS12 with 3 SCI Ports?Hi,
The vector table contains function addresses, so to implement an interrupt function, you have to create it somewhere with the @interrupt prefix, and you have to replace the matching entry in the vector table by the function name, not forgetting to declare it as an extern @interrupt function if it is not written in the same source file. Regards, Jean-Pierre Lavandier -----Message d'origine----- De : 68HC12@... [mailto:68HC12@...] De la part de stefan.ming Envoyé : lundi 27 juillet 2009 14:55 À : 68HC12@... Objet : [68HC12] Re: HCS12 with 3 SCI Ports? Hello everybody, it's my first time to use COSMIC to program MC9S12XDP512. I got along well with it. However, i'm a little bit confused on how to write my interrupt. you see, there're only defined function pointers without any explicit indication as follows: @interrupt @near void (* const _vectab[])(void) = { dummit, /* 0xFF10 Surious Interrupt */ dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, dummit, /* 0xFF60 XRAM access violation */ dummit, /* 0xFF62 XGATE software error */ dummit, /* 0xFF64 XGATE software trigger 7 */ dummit, /* 0xFF66 XGATE software trigger 6 */ dummit, /* 0xFF68 XGATE software trigger 5 */ dummit, /* 0xFF6a XGATE software trigger 4 */ dummit, /* 0xFF6c XGATE software trigger 3 */ dummit, /* 0xFF6e XGATE software trigger 2 */ dummit, /* 0xFF70 XGATE software trigg } I'm really confused by such definitions. they are truelly different from AVR. Who can interprete it clearly to me? Thank you very much in advance! [Non-text portions of this message have been removed] |
| Free embeddable forum powered by Nabble | Forum Help |