|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
MPC5500 eMIOS functionsI have an input to a single eMIOS pin on an MPC5566. I need to measure
both period and pulse width. I cannot find a function that combines these two measurements. Any suggestions? Thanks, Steve [Non-text portions of this message have been removed] |
|
|
|
|
|
RE: MPC5500 eMIOS functionsThe eMIOS is designed to handle 2 edges. To measure both period and
pulse width you need to capture 3 edges. randy ________________________________ From: MPC500@... [mailto:MPC500@...] On Behalf Of StevenASchroeder@... Sent: Thursday, August 27, 2009 10:03 AM To: mpc500@... Subject: [MPC500] MPC5500 eMIOS functions I have an input to a single eMIOS pin on an MPC5566. I need to measure both period and pulse width. I cannot find a function that combines these two measurements. Any suggestions? Thanks, Steve . <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m sgId=4012/stime=1251385450/nc1=1/nc2=2/nc3=3> [Non-text portions of this message have been removed] |
|
|
RE: MPC5500 eMIOS functionsCan a connection to a single eMIOS pin be internally routed to two eMIOS
channels? I remember the MPC563 could do a little of that. Or, is there an eTPU function available that will provide frequency and pulse width/duty cycle at the same time? Thanks, Steve ________________________________ From: MPC500@... [mailto:MPC500@...] On Behalf Of Dees Randy-RSAF30 Sent: Thursday, August 27, 2009 12:47 PM To: MPC500@... Subject: RE: [MPC500] MPC5500 eMIOS functions The eMIOS is designed to handle 2 edges. To measure both period and pulse width you need to capture 3 edges. randy ________________________________ From: MPC500@... <mailto:MPC500%40yahoogroups.com> [mailto:MPC500@... <mailto:MPC500%40yahoogroups.com> ] On Behalf Of StevenASchroeder@... <mailto:StevenASchroeder%40eaton.com> Sent: Thursday, August 27, 2009 10:03 AM To: mpc500@... <mailto:mpc500%40yahoogroups.com> Subject: [MPC500] MPC5500 eMIOS functions I have an input to a single eMIOS pin on an MPC5566. I need to measure both period and pulse width. I cannot find a function that combines these two measurements. Any suggestions? Thanks, Steve . <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > sgId=4012/stime=1251385450/nc1=1/nc2=2/nc3=3> [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] |
|
|
RE: MPC5500 eMIOS functionsI'm not certain but I don't think routing the pin to two emios channels
is possible. If an ETPU function doesn't exist, you could certainly write one to do this. The easy work-around is to tie two EMIOS pins together externally and use one channel for each function, but I presume you are trying to preserve resources. - Allan ________________________________ From: MPC500@... [mailto:MPC500@...] On Behalf Of StevenASchroeder@... Sent: Wednesday, September 09, 2009 1:57 PM To: MPC500@... Subject: RE: [MPC500] MPC5500 eMIOS functions Can a connection to a single eMIOS pin be internally routed to two eMIOS channels? I remember the MPC563 could do a little of that. Or, is there an eTPU function available that will provide frequency and pulse width/duty cycle at the same time? Thanks, Steve ________________________________ From: MPC500@... <mailto:MPC500%40yahoogroups.com> [mailto:MPC500@... <mailto:MPC500%40yahoogroups.com> ] On Behalf Of Dees Randy-RSAF30 Sent: Thursday, August 27, 2009 12:47 PM To: MPC500@... <mailto:MPC500%40yahoogroups.com> Subject: RE: [MPC500] MPC5500 eMIOS functions The eMIOS is designed to handle 2 edges. To measure both period and pulse width you need to capture 3 edges. randy ________________________________ From: MPC500@... <mailto:MPC500%40yahoogroups.com> <mailto:MPC500%40yahoogroups.com> [mailto:MPC500@... <mailto:MPC500%40yahoogroups.com> <mailto:MPC500%40yahoogroups.com> ] On Behalf Of StevenASchroeder@... <mailto:StevenASchroeder%40eaton.com> <mailto:StevenASchroeder%40eaton.com> Sent: Thursday, August 27, 2009 10:03 AM To: mpc500@... <mailto:mpc500%40yahoogroups.com> <mailto:mpc500%40yahoogroups.com> Subject: [MPC500] MPC5500 eMIOS functions I have an input to a single eMIOS pin on an MPC5566. I need to measure both period and pulse width. I cannot find a function that combines these two measurements. Any suggestions? Thanks, Steve . <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > > sgId=4012/stime=1251385450/nc1=1/nc2=2/nc3=3> [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] |
|
|
Re: MPC5500 eMIOS functionsWith the Input Pulse Mode (IPM), you can capture both edges, rising and falling, either single-shot or continuously. Depending on the "polarity" setting, the clock at rising edge will be captured in register A and the clock at falling edge in register B, or vice-versa. You can configure for an interrupt on each rising or falling edge, and your ISR can compute both pulse width (A-B) and the period (A2-A1) on every rising or falling edge. Will that do it?
Joe --- In MPC500@..., "Dobbin Allan-R11834" <Allan.Dobbin@...> wrote: > > I'm not certain but I don't think routing the pin to two emios channels > is possible. If an ETPU function doesn't exist, you could certainly > write one to do this. > > The easy work-around is to tie two EMIOS pins together externally and > use one channel for each function, but I presume you are trying to > preserve resources. > > - Allan > > ________________________________ > > From: MPC500@... [mailto:MPC500@...] On Behalf > Of StevenASchroeder@... > Sent: Wednesday, September 09, 2009 1:57 PM > To: MPC500@... > Subject: RE: [MPC500] MPC5500 eMIOS functions > > > > > Can a connection to a single eMIOS pin be internally routed to two eMIOS > channels? I remember the MPC563 could do a little of that. > > Or, is there an eTPU function available that will provide frequency and > pulse width/duty cycle at the same time? > > Thanks, > > Steve > > ________________________________ > > From: MPC500@... <mailto:MPC500%40yahoogroups.com> > [mailto:MPC500@... <mailto:MPC500%40yahoogroups.com> ] On > Behalf > Of Dees Randy-RSAF30 > Sent: Thursday, August 27, 2009 12:47 PM > To: MPC500@... <mailto:MPC500%40yahoogroups.com> > Subject: RE: [MPC500] MPC5500 eMIOS functions > > The eMIOS is designed to handle 2 edges. To measure both period and > pulse width you need to capture 3 edges. > > randy > > ________________________________ > > From: MPC500@... <mailto:MPC500%40yahoogroups.com> > <mailto:MPC500%40yahoogroups.com> > [mailto:MPC500@... <mailto:MPC500%40yahoogroups.com> > <mailto:MPC500%40yahoogroups.com> ] On > Behalf > Of StevenASchroeder@... <mailto:StevenASchroeder%40eaton.com> > <mailto:StevenASchroeder%40eaton.com> > Sent: Thursday, August 27, 2009 10:03 AM > To: mpc500@... <mailto:mpc500%40yahoogroups.com> > <mailto:mpc500%40yahoogroups.com> > Subject: [MPC500] MPC5500 eMIOS functions > > I have an input to a single eMIOS pin on an MPC5566. I need to measure > both period and pulse width. I cannot find a function that combines > these two measurements. Any suggestions? > > Thanks, > Steve > > . > > <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > > > <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > <http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m > > > > > sgId=4012/stime=1251385450/nc1=1/nc2=2/nc3=3> > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > > > > > [Non-text portions of this message have been removed] > |
| Free embeddable forum powered by Nabble | Forum Help |