st92f124 STMicroelectronics, st92f124 Datasheet - Page 417

no-image

st92f124

Manufacturer Part Number
st92f124
Description
8/16-bit Single Voltage Flash Mcu Family With Ram, E3 Tmemulated Eeprom, Can 2.0b And J1850 Blpd
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st92f124R9T6
Manufacturer:
ST
0
Part Number:
st92f124R9TB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124R9TB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
MAXIM
Quantity:
56
Part Number:
st92f124V1QB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124V1QB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124V1T6
Manufacturer:
MAX
Quantity:
62
Part Number:
st92f124V1T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124VQB
Manufacturer:
ST
Quantity:
1 831
KNOWN LIMITATIONS (Cont’d)
Workaround 2
Workaround 2 (see
FMP=2 and the CAN cell is receiving, if not the
FIFO can be released immediately. If yes, the pro-
gram goes through a sequence of test instructions
on the RX pin that last longer than the time be-
tween the acknowledge dominant bit and the crit-
ical time slot. If the Rx pin is in recessive state for
more than 8 CAN bit times, it means we are now
Figure 6. Reception with TCAN=12/f
Figure 7. Workaround 2 in Assembler
asm (“
_release:
“);
Sampling of Rx pin
CAN Bus signal
spp #48
ld
and
cp
jxnz
pushw RR232
srp
btjf
btjf
btjf
btjf
btjf
btjf
btjf
btjf
btjf
btjf
btjf
btjf
popw
r0, R244
r0, #3
r0, #2
_release
#31
r1.5, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
r12.3, _release
or R244, #32
RR232
Figure
R R R
7) first tests that
/*
/* set CAN0_CTRL page
/* Use spp #36 for CAN1
/* For FIFO 0
/* NB: Replace R244 with R245 for FIFO 1
/*
/*
/* (JRNE instruction)
/* if FMP is not 2 then FIFO
/* release can be done
/* push working group
/* set group F as working group
/* REC bit of CMSR register
/* sample RX bit for 8 bit time
/* ie. 11 btjf instructions
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/* NB: Replace R244 with R245 for FIFO 1
/* restore previous working group
D
CPU
R R R
set RFOM bit of CRFR0 register
and sampling time is 16/f
ST92F124/F150/F250 - KNOWN LIMITATIONS
D
after the acknowledge and the critical slot. If a
dominant bit is read on the bus, we can release the
FIFO immediately. This workaround has to be
written in assembly language to avoid the compiler
optimizing the test sequence.
The implementation shown here is for the CAN
bus maximum speed (1MBd @ 8MHz CPU clock).
R R R
D
CPU
Bytes/cycles
R R R
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
2/4
2/4
3/6
3/6
2/6
2/8 or 10
2/4
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6 or 10 if jmp
3/6
2/10
D
R R R
417/426
D
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
1

Related parts for st92f124