Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Problem with SPI bus in XIRQ interrupt

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Problem with SPI bus in XIRQ interrupt - ymliao - Mar 4 11:09:35 2009

Hi!

I use MC9S12E128 micro in my application, and XIRQ interrupt to handle power fail.

In the XIRQ interrupt, I need to save data to memory via the SPI bus. And I notice that sometimes the SPI bus is not working properly:

1) data appears on the bus is not what's being sent by the micro

2) SPI bus clock becomes scrunched up (before power fails, there is some idle time between each group of eight clock ticks when reading/writing a bunch of data on the bus, but after power fails, SPI clock appears one after another, no more idle time)

Has anyone seen this before? Any help is greatly appreciated!

Thanks!

Amy

------------------------------------



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )