LOW_POWER.C —demonstrates how to implement a function in RAM to reduce power consumpt" />
參數(shù)資料
型號: 20-101-1094
廠商: Rabbit Semiconductor
文件頁數(shù): 47/130頁
文件大?。?/td> 0K
描述: MCU RCM4000 RABBITCORE
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4000
產(chǎn)品目錄頁面: 619 (CN2011-ZH PDF)
其它名稱: 316-1139
User’s Manual
17
LOW_POWER.C
—demonstrates how to implement a function in RAM to reduce power
consumption by the Rabbit microprocessor. There are four features that lead to the low-
est possible power draw by the microprocessor.
1. Run the CPU from the 32 kHz crystal.
2. Turn off the high-frequency crystal oscillator.
3. Run from RAM.
4. Ensure that internal I/O instructions do not use CS0.
Once you are ready to compile and run this sample program, use <Alt-F9> instead of
just F9. This will disable polling, which will allow Dynamic C to continue debugging
once the target starts running off the 32 kHz oscillator.
This sample program will toggle LEDs DS2 and DS3 on the Prototyping Board. You
may use an oscilloscope. DS2 will blink the fastest. After switching to low power, both
LEDs will blink together.
TAMPERDETECTION.C
—demonstrates how to detect an attempt to enter the bootstrap
mode. When an attempt is detected, the battery-backed onchip-encryption RAM on the
Rabbit 4000 is erased. This battery-backed onchip-encryption RAM can be useful to
store data such as an AES encryption key from a remote location.
This sample program shows how to load and read the battery-backed onchip-encryption
RAM and how to enable a visual indicator.
Once this sample is compiled running (you have pressed the F9 key while the sample
program is open), remove the programming cable and press the reset button on the
Prototyping Board to reset the module. LEDs DS2 and DS3 will be flashing on and off.
Now press switch S2 to load the battery-backed RAM with the encryption key. The
LEDs are now on continuously. Notice that the LEDs will stay on even when you press
the reset button on the Prototyping Board.
Reconnect the programming cable briefly and unplug it again. The LEDs will be flash-
ing because the battery-backed onchip-encryption RAM has been erased. Notice that
the LEDs will continue flashing even when you press the reset button on the Prototyp-
ing Board.
You may press switch S2 again and repeat the last steps to watch the LEDs.
TOGGLESWITCH.C
—demonstrates the use of costatements to detect switch presses
using the press-and-release method of debouncing. LEDs DS2 and DS3 on the Proto-
typing Board are turned on and off when you press switches S2 and S3. S2 and S3 are
controlled by PB4 and PB5 respectively.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM4000 modules interact, you can move on and try the other
sample programs, or begin building your own.
相關(guān)PDF資料
PDF描述
345-030-540-802 CONN CARDEDGE 30POS .100 X .200
305-030-500-202 CONN CARDEDGE 30POS .156 X .140
243-002-542-101 MINI CARD EDGE 0.2" - 2PIN 1ROW
20-101-1217 MODULE RABBITCORE RCM3229
20-101-0494 MODULE RABBITCORE RCM2250
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1095 功能描述:模塊化系統(tǒng) - SOM BL2600 XD HOT SWAP 10/100 RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1104 功能描述:處理器配件 USB xd reader RoHS:否 制造商:Olimex Ltd. 產(chǎn)品:Cable 用于:
20-101-1105 功能描述:模塊化系統(tǒng) - SOM RCM4100 RabbitCore Module RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
20-101-1112 功能描述:模塊化系統(tǒng) - SOM RCM4010 Core Module RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in