参数资料
型号: RD3152MMA7260Q
厂商: Freescale Semiconductor
文件页数: 41/232页
文件大小: 0K
描述: BOARD REF 3-AXIS ACCELEROMETER
标准包装: 1
系列: ZSTAR
传感器类型: 加速计,3 轴
传感范围: ±1.5g,2g,4g,6g
接口: 模拟
灵敏度: 800、600、300 或 200 mV/g
电源电压: 2.2 V ~ 3.6 V
嵌入式: 是,MCU,8 位
已供物品: 2 个板,电池,CD
已用 IC / 零件: MMA7260,MC68HC908JW32
相关产品: MMA6281QR2CT-ND - IC ACCELEROMETER XZ AXIS 16-QFN
MMA7261QR2CT-ND - SENSOR ACCEL 3-AXIS +/-2.5 16QFN
MMA6271QR2DKR-ND - IC ACCELEROMETER XY AXIS 16-QFN
MMA6271QR2CT-ND - IC ACCELEROMETER XY AXIS 16-QFN
MMA6281QT-ND - IC ACCELEROMETER XZ AXIS 16-QFN
MMA6281QR2TR-ND - IC ACCELEROMETER XZ AXIS 16-QFN
MMA6280QT-ND - IC ACCELEROMETER XZ AXIS 16-QFN
MMA7261QT-ND - IC ACCELEROMETER XYZ AXIS 16-QFN
MMA6271QR2TR-ND - IC ACCELEROMETER XY AXIS 16-QFN
MMA6271QT-ND - IC ACCELEROMETER XY AXIS 16-QFN
更多...
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页当前第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页
Error Conditions
MC68HC908JW32 Data Sheet, Rev. 6
Freescale Semiconductor
135
10.7.1 Overflow Error
The overflow flag (OVRF) becomes set if the receive data register still has unread data from a previous
transmission when the capture strobe of bit 1 of the next transmission occurs. The bit 1 capture strobe
occurs in the middle of SPSCK cycle 7. (See Figure 10-4 and Figure 10-6.) If an overflow occurs, all data
received after the overflow and before the OVRF bit is cleared does not transfer to the receive data
register and does not set the SPI receiver full bit (SPRF). The unread data that transferred to the receive
data register before the overflow occurred can still be read. Therefore, an overflow error always indicates
the loss of data. Clear the overflow flag by reading the SPI status and control register and then reading
the SPI data register.
OVRF generates a receiver/error CPU interrupt request if the error interrupt enable bit (ERRIE) is also
set. The SPRF, MODF, and OVRF interrupts share the same CPU interrupt vector. (See Figure 10-11.)
It is not possible to enable MODF or OVRF individually to generate a receiver/error CPU interrupt request.
However, leaving MODFEN low prevents MODF from being set.
If the CPU SPRF interrupt is enabled and the OVRF interrupt is not, watch for an overflow condition.
Figure 10-9 shows how it is possible to miss an overflow. The first part of Figure 10-9 shows how it is
possible to read the SPSCR and SPDR to clear the SPRF without problems. However, as illustrated by
the second transmission example, the OVRF bit can be set in between the time that SPSCR and SPDR
are read.
Figure 10-9. Missed Read of Overflow Condition
In this case, an overflow can be missed easily. Since no more SPRF interrupts can be generated until this
OVRF is serviced, it is not obvious that bytes are being lost as more transmissions are completed. To
prevent this, either enable the OVRF interrupt or do another read of the SPSCR following the read of the
SPDR. This ensures that the OVRF was not set before the SPRF was cleared and that future
transmissions can set the SPRF bit. Figure 10-10 illustrates this process. Generally, to avoid this second
SPSCR read, enable the OVRF to the CPU by setting the ERRIE bit.
READ
OVRF
SPRF
BYTE 1
BYTE 2
BYTE 3
BYTE 4
BYTE 1 SETS SPRF BIT.
CPU READS SPSCR WITH SPRF BIT SET
CPU READS BYTE 1 IN SPDR,
BYTE 2 SETS SPRF BIT.
CPU READS SPSCR WITH SPRF BIT SET
BYTE 3 SETS OVRF BIT. BYTE 3 IS LOST.
CPU READS BYTE 2 IN SPDR, CLEARING SPRF BIT,
BYTE 4 FAILS TO SET SPRF BIT BECAUSE
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
CLEARING SPRF BIT.
BUT NOT OVRF BIT.
OVRF BIT IS NOT CLEARED. BYTE 4 IS LOST.
AND OVRF BIT CLEAR.
SPSCR
SPDR
相关PDF资料
PDF描述
1300060737 CORDSET FEMALE 12' 16/4 PVC
NBSG53ABAEVB BOARD EVAL BBG NBSG53ABA
NBSG16BAEVB BOARD EVALUATION BBG NBSG16BA
1300060241 CORDSET FEMALE 20' 16/3 PVC
1300100221 CORDSET MALE-FEMALE 6' 16/3 PVC
相关代理商/技术参数
参数描述
RD316 制造商:UNK 功能描述:
RD316T93W 制造商:Eaton Corporation 功能描述:RD 3P 1600A W/DIGITRIP 910 TRIP UNIT W/LS FUNCTION
RD316WK 制造商:Eaton Corporation 功能描述:3 Pole 1600 Amp Molded Case Switch
RD317 制造商:Intel 功能描述:CRD,PLN,PE6800,800T
RD3172MMA7455L 功能描述:加速传感器开发工具 EVAL BD FOR MMA7455L RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V