RE: Toucan softreset issue
Sudhersan Lal <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hello Allan Thanks for the information. As I mentioned earlier the clearing of EE bit fixes the problem. I am wondering whether there is any other way to confirm that this is exacly what is happening ? Any ideas ? Do you have any other document regarding CDR_AR_1120 ? More discription or test report ? Sudhersan --- Dobbin Allan-r11834 <[email protected]> wrote: > It's possible. Look at errata CDR_AR_214 and 1120. > Follow the > workaround i.e. clear EE before performing the soft > reset and see if > this fixes your problem. > > - Allan > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Sudhersan Lal > Sent: Monday, April 03, 2006 2:27 PM > To: [email protected] > Subject: RE: [MPC500] Toucan softreset issue > > > Hello Allan > Thanks for the information . I was doing little bit > more analysis regarding the Reset issue (external > watchdog) suring CAN softreset. Looks like our SPI > communication is > disturbed during this time thus causing an external > watchdog timeout . > > At this point of time we are suspecting that we are > loosing some SPI interrupts when we are making a > soft > reset at the TOUCAN module . > > The MPC 563 Errata sheet says the following > > --------------------------------------------------- > USIU: Interrupt Controller may generate vector 0x0 > or > has no request indication > DESCRIPTION: > When software masks interrupt requests, clears > interrupt flags, stops or disables a > module, or masks or changes interrupt logic in the > UIMB or the USIU interrupt > controller while MSR[EE] = 1, the interrupt request > may disappear during or after > the RCPU has acknowledged the external interrupt > exception. It may also occur after > re-enabling interrupts in the RCPU. > ------------------------------------------------------ > As I mentioned earlier the The > problem(reset,external > watchdog) goes away when I disable interrupts > during > TOUCAN soft reset . > > So I am wondering whether I am observing the same > situation as specified in the errata sheet (loosing > SPI interrupt). > Do you think this would be possible ? > > Regards > Sudhersan > > --- Dobbin Allan-r11834 <[email protected]> > wrote: > > > There is no undocumented interrupt during soft > > reset. The softreset > > takes less than 20 can (IMB) clocks. > > > > So you take a reset when you perform a softreset > on > > CAN_B while CAN_A is > > in bus off, and if you disable interrupts (CAN_A, > > CAN_B, EE ?) just > > before performing a softreset, your code runs as > > expected? > > > > Is it possible you're simply not handling your > > interrupts correctly i.e. > > if you handle interrupts without doing a > softreset, > > do you still get a > > reset? > > > > Perhaps you could explain the interrupts in more > > detail i.e. which > > interrupt do you disable to avoid the problem? > Are > > you taking a BUS OFF > > exception i.e. are you performing softreset within > > busoff ISR? If you do > > not perform softreset, can you confirm that your > > interrupt handles > > correctly? > > > > Regards, > > Allan > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf > > Of Sudhersan Lal > > Sent: Friday, March 24, 2006 9:48 AM > > To: [email protected] > > Subject: RE: [MPC500] Toucan softreset issue > > > > > > Hello Allan > > I am doing a softreset for the TOUCAN Module > during > > the bus off interrupt. Is there any possibility of > > generating any other kind of interrupt during soft > > reset (documented / undocumented ) ? In general > how > > long it will take to complete the softreset > > functionality ? > > > > The only mistake I did was , I was doing a > softreset > > on CAN B when detected bussoff in CAN A. But > > according to the documentation , this should not > > cause > > any other issues or interrupts . The > > problem(reset,external watchdog) goes away when I > > disable interrupts during soft reset . > > > > Regards > > Sudhersan > > > > > > --- Dobbin Allan-r11834 > <[email protected]> > > wrote: > > > > > Please explain exactly what problems you are > > seeing. > > > > > > - Allan > > > > > > -----Original Message----- > > > From: [email protected] > [mailto:[email protected]] On > > > Behalf Of Sudhersan Lal > > > Sent: Friday, March 24, 2006 7:52 AM > > > To: [email protected] > > > Subject: [MPC500] Toucan softreset issue > > > > > > > > > Hello All > > > I am facing some problems with TOUCAN softreset > functionality. When > > > I am disabling the interrupts during the soft > reset , the problems > > > goes away. Wondering anybody else has faced this > problem > > before > > > ? > > > > > > Is there any recommendations like disable > > interrupts > > > during toucan softreset ? Is there any errata > > > avaialbe > > > with respect to this other than one "CAN: Bus > Off > > > recovery not ISO compliant" ? > > > Regards > > > Sudhersan > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > http://mail.yahoo.com > > > > > > > > > > > > ----------------------------------------------------------- > > > To learn more about Freescale Microcontrollers, > > > please visit > > > http://www.freescale.com/mcu > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > http://mail.yahoo.com > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------------- To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MPC500/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/