TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 103
![MODULE, BLUETOOTH, DATA ACQUISITION](/photos/23/37/233794/109612805-40_sml.jpg)
TOOTHPIC
Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet
1.TOOTHPIC.pdf
(126 pages)
Specifications of TOOTHPIC
Svhc
No SVHC (15-Dec-2010)
- Current page: 103 of 126
- Download datasheet (2Mb)
Note that the clock time is not changed if initialization is due to a software reset, so the module can use the
software reset to return to a known state without the real time clock being re-initialized.
If the button was pressed at power-up, ToothPIC will enter wireless field programming mode. If not, control
then passes to c018itp.c, which initializes C static variables and reinitializes the stack.
c018itp.c passes control to the developer function main().
Interrupts
Interrupt Management
High and low priority interrupts are provided on the PIC18LF6720. In ToothPIC, the high priority interrupt is
preserved for urgent, extremely quick tasks such as taking a byte received from a UART and placing it in a
buffer. This must be done quickly because another byte may be received soon after. You should do nothing
in a high priority interrupt which takes much time because other high priority interrupts will have to wait until
your task is complete. The BlueMatik UART (USART1) operates at 115kBaud and so no high priority task
should task more than around 80µs (400 instruction cycles).
Low priority interrupts are for tasks which must be completed before the main program can continue. They
may take as long as they like, however, because a high priority interrupt event will still be handled immediately.
CAUTION: MPLAB permits low priority interrupt processing to be ‘nested’ by clearing the GIEF interrupt flag
or by using the macro EnableLowInts from within an interrupt. However, this is not permitted with ToothPIC
Services as the interrupts generated by ToothPIC services are not expecting it. Therefore, to protect critical
code from being interrupted, you should only re-enable low priority interrupts if they were previously enabled,
e.g.
Interrupt Handlers
You must provide the following two interrupt handling functions:
They will be called if an interrupt occurs which does not concern the ToothPIC operating system.
The following registers will be saved while servicing a high priority interrupt:
ErrorStatus may be called from the High Priority interrupt.
ErrorStatus may be unpredictable if ErrorStatus or any of the functions it calls uses static variables.
The following registers will be saved while servicing a low priority interrupt:
MATH_DATA, .tmp_data, TBLPTR, TABLAT
and is set to 20 bytes. If the compiler requires more .tmp_data space it is usually due to complicated
expressions. These can be broken down to a series of smaller ones.
Page 103
• Serial port service is registered in BlueMatik Service Discovery Database.
• Semaphore BKSF_BMTEXISTS is set.
unsigned char LIS = LowIntState;
DisableLowInts;
if (LIS) EnableLowInts;
void LowInterrupt( void )
void HighInterrupt( void )
9-Apr-06
--- your critical code ---
Toothpick 3.0.00007
DS380-8
. The size of .tmp_data is fixed at ToothPIC Services compile time
© FlexiPanel Ltd
Patents apply and/or pending
The effect of returning from a call to
WREG
,
WREG
STATUS
,
www.FlexiPanel.com
STATUS
,
BSR
,
Finally,
,
PROD,
BSR
.
Related parts for TOOTHPIC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![SW-277TR](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
RF Switch SPDT 0MHz to 2GHz 27dB 8-Pin SOIC T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
![SW-393TR](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
RF Switch SPST 500MHz to 2GHz 40dB 8-Pin SOIC T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
![AS191-73](/images/manufacturer_photos/0/6/615/skyworks_solutions_inc_tmb.jpg)
Part Number:
Description:
RF Switch SPDT 100MHz to 4GHz 14dB 6-Pin SOT-6
Manufacturer:
Skyworks Solutions Inc
Datasheet:
![AS156-73](/images/manufacturer_photos/0/6/615/skyworks_solutions_inc_tmb.jpg)
Part Number:
Description:
RF Switch SPST 500MHz to 2.5GHz 10dB 6-Pin SOT-6
Manufacturer:
Skyworks Solutions Inc
![RF600E](/photos/7/65/76517/rf600e_tmb.jpg)
Part Number:
Description:
IC ENCODER TRANSMITTER RF 8DIP
Manufacturer:
RF Solutions
Datasheet:
![RF600D](/photos/7/65/76518/rf600d_tmb.jpg)
Part Number:
Description:
IC DECODER RECEIVER RF 18DIP
Manufacturer:
RF Solutions
Datasheet:
![RF803E-SO](/photos/7/65/76505/rf803e-so_tmb.jpg)
Part Number:
Description:
IC ENCODER 3 DGTL I/O SOT23-6
Manufacturer:
RF Solutions
Datasheet:
![RF803E](/photos/7/65/76506/rf803e_tmb.jpg)
Part Number:
Description:
IC ENCODER 3 DGTL I/O 8-PDIP
Manufacturer:
RF Solutions
Datasheet:
![RF803D](/photos/7/65/76515/rf803d_tmb.jpg)
Part Number:
Description:
IC DECODER 3 DGTL I/O 8-PDIP
Manufacturer:
RF Solutions
Datasheet:
![RF803D-SO](/photos/7/65/76516/rf803d-so_tmb.jpg)
Part Number:
Description:
IC DECODER 3 DGTL I/O 8-SOIC
Manufacturer:
RF Solutions
Datasheet:
![110C1-315](/images/no-image3.png)
Part Number:
Description:
118 SERIES AM REMOTE CONTROL SYSTEMS.
Manufacturer:
RF Solutions Ltd.