7 Configuration Bits

In dsPIC33AK256MPS306 family devices, the Configuration Words are implemented as volatile memory. This means that configuration data will be loaded into volatile memory (from the Flash Configuration Words) each time the device is powered up. Their specific locations are shown in Table 7-2. The configuration data are automatically loaded from the Flash Configuration Words to the proper Configuration Shadow registers during device Resets.

In the dsPIC33AK256MPS306 family, the configuration and calibration data is duplicated in Flash for improved robustness. If a double ECC error is detected during the start-up sequence, the device will restart the loading of the calibration and configuration from the alternate set in Flash.

To maintain the integrity of the stored configuration values, logic performs ongoing bit value checks. All device configuration bits are implemented as a complementary set of register bits.

Table 7-1. Configuration Regions
RegionAddress Range
CFGA10x7F3000 - 0x7F3800
CFGB0x7F4000 - 0x7F4800
CFGA20x7FB000 - 0x7FB800
Table 7-2. dsPIC33AK256MPS306 Configuration Addresses
Register NameAddressConfiguration Region
FCP0x7F3000CFGA1
FICD0x7F3010CFGA1
FDEVOPT0x7F3020CFGA1
FWDT0x7F3030CFGA1
FPWRM0x7F3040CFGA1
FPR0CTRL0x7F4000CFGB
FPR0ST0x7F4004CFGB
FPR0END0x7F4008CFGB
FPR1CTRL0x7F4010CFGB
FPR1ST0x7F4014CFGB
FPR1END0x7F4018CFGB
FPR2CTRL0x7F4020CFGB
FPR2ST0x7F4024CFGB
FPR2END0x7F4028CFGB
FPR3CTRL0x7F4030CFGB
FPR3ST0x7F4034CFGB
FPR3END0x7F4038CFGB
FPR4CTRL0x7F4040CFGB
FPR4ST0x7F4044CFGB
FPR4END0x7F4048CFGB
FPR5CTRL0x7F4050CFGB
FPR5ST0x7F4054CFGB
FPR5END0x7F4058CFGB
FPR6CTRL0x7F4060CFGB
FPR6ST0x7F4064CFGB
FPR6END0x7F4068CFGB
FPR7CTRL0x7F4070CFGB
FPR7ST0x7F4074CFGB
FPR7END0x7F4078CFGB
FIRT0x7F4080CFGB
FSECDBG0x7F4090CFGB
FPED0x7F40A0CFGB
FEPUCB0x7F40B0CFGB
FWPUCB0x7F40C0CFGB
FBOOT0x7F40D0CFGB
FCP0x7FB000CFGA2
FICD0x7FB010CFGA2
FDEVOPT0x7FB020CFGA2
FWDT0x7FB030CFGA2
FPWRM0x7FB040CFGA1
Table 7-3. Device ID and Revision Addresses
Register Address
DEVID0x7C2000
DEVREV0x7C2004
Table 7-4. Family Device Identifier
DeviceDevice ID Value
dsPIC33AK128MPS3030xB514
dsPIC33AK128MPS3050xB515
dsPIC33AK128MPS3060xB516
dsPIC33AK256MPS3030xB51C
dsPIC33AK256MPS3050xB51D
dsPIC33AK256MPS3060xB51E
dsPIC33AK128MPS1030xB504
dsPIC33AK128MPS1050xB505
dsPIC33AK128MPS1060xB506
dsPIC33AK256MPS1030xB50C
dsPIC33AK256MPS1050xB50D
dsPIC33AK256MPS1060xB50E