FAQ
- Microcontrollers /
- MCU Function application /
- SN8PCxx Series /
- Memory
-
.What is the minimum voltage to keep the information in IC RAM? Is there a general range for reference?
-
.Can user make read and write operations directly on Pflag register?
Pflag program status register shows below:
From the table, you can see, NT0, NPD (show double mode), can be read and write, C, DC, Z (shows the bit state) can be both read and write; but LVD36,LVD24(low voltage detection bit) can only read and can not write.
In Sonix chip datasheet, all Read/Write line shows R/W's are all read and write bit, user can make read and write operation of it. if there is only R or W, the bit of that register only can only read or write. -
.How to make management for RAM area with pages?
Some single chip series depart memory data with pages for management, Ram divided into BANK0, BANK1, even BANK2, such as SN8P2708A and some USB series MCU.
1. Define Bank1 RAM area when user defined more than one BANK ram, use can try the following way to define a variable BANK of ram.
.DATA //declare the following definitions for the variables
ORG 0X00 //BANK0 ram address
Buffer DS 1 //BANK0 variables
。。。。。。。。。。。。。。。。。。。。。。。。
ORG 0X100 //BANK1 ram address
Buffer1 DS 1 //BANK1 variables
2. Operation between Banks area, user needs to pay attention to change bank.
- Microcontrollers /
- MCU Function application /
- SN8PCxx Series /
- Memory