Skip to content

Commit edb3fa1

Browse files
Updated review comments
1 parent e0e7fb0 commit edb3fa1

File tree

20 files changed

+54
-54
lines changed

20 files changed

+54
-54
lines changed

dspic33e-clock-switch/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Clock Switch",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-clock-switch/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In this example, CPU is initially configured to run from external secondary osc
88
is initiated to run from Internal FRC.
99
The RA4 pin toggles at frequency of 1/8th of system clock frequency.
1010

11-
extern void clockSwitch(unsigned int r);
11+
extern void clockSwitch(unsigned int r);
1212
This function selects the next clock input and initiates clock switch sequence.
1313

1414

@@ -20,6 +20,6 @@ This function selects the next clock input and initiates clock switch sequence.
2020

2121
## Software Used
2222

23-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
24-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
23+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
24+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2525

dspic33e-crc-generation/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"CRC Generation",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-crc-generation/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
In this code examples, CRC module is used to generate CRC for input data.
88

9-
10-
CRC_Calc_ChecksumByte()
9+
CRC_Calc_ChecksumByte()
1110
This function calculates the CRC Checksum for the array of bytes provided by the user based on the polynomial
1211
set in the CRCXORH and CRCXORL registers
1312

@@ -25,6 +24,6 @@ The CRC16 and CRC32 polynomials require 0x0000 to be loaded as the initial value
2524

2625
## Software Used
2726

28-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
29-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
27+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
28+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
3029

dspic33e-dma-trap/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"DMA TRAP",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-dma-trap/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66

77
DMA generates trap error in the following conditions.
88

9-
DMA Write collision:
10-
DMA write collision occurs when both DMA module and CPU tries to write
11-
to the same DMA RAM memory location.
9+
DMA Write collision:
10+
DMA write collision occurs when both DMA module and CPU tries to write
11+
to the same DMA RAM memory location.
1212

13-
Peripheral Write Collision:
14-
Peripheral write collision occurs when both DMA module and CPU tries to write
15-
to the same peripheral SFR.
13+
Peripheral Write Collision:
14+
Peripheral write collision occurs when both DMA module and CPU tries to write
15+
to the same peripheral SFR.
1616

1717
In this code example, UART is configured to continuously transmit/receive data in loop-back mode.
1818
In the back-ground loop, CPU tries to write to DMA RAM or peripheral SFR to create DMA trap condition.
1919

2020
Select the required condition using the following macro in main.c function to generate DMA trap.
2121

22-
// Source Selection for Trap Creation
23-
#define PER_WRITE_COL 1
24-
#define DMA_WRITE_COL 0
22+
// Source Selection for Trap Creation
23+
#define PER_WRITE_COL 1
24+
#define DMA_WRITE_COL 0
2525

2626

2727
## Hardware Used
@@ -32,6 +32,6 @@ Select the required condition using the following macro in main.c function to ge
3232

3333
## Software Used
3434

35-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
36-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
35+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
36+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
3737

dspic33e-doze-mode/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"CPU In DOZE MODE",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-doze-mode/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In this example, CPU is setup in DOZE mode to run at 1/128 of the System Clock.
88
Device is initially configured to run at Fcy=60Mhz and then DOZE mode is enabled to run the CPU at 468.75Khz (60M/128).
99
Check the RA4 pin toggles i.e at a frequency of ~234khz.
1010

11-
extern void setDozeRatio(unsigned int r);
11+
extern void setDozeRatio(unsigned int r);
1212
This function sets the required DOZE ratio and enables the DOZE mode
1313

1414
## Hardware Used
@@ -19,6 +19,6 @@ This function sets the required DOZE ratio and enables the DOZE mode
1919

2020
## Software Used
2121

22-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
23-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
22+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
23+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2424

dspic33e-flash-rtsp/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Flash RTSP code example",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-flash-rtsp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ RTSP allows the user to program a ROW (128 instructions or 384 bytes) at a time
2222

2323
## Software Used
2424

25-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
26-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
25+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
26+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2727

dspic33e-frc-tuning/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Dynamic tuning of Internal Fast RC Oscillator",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-frc-tuning/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The TUN bits (4 or more in number) reside in the OSCCON register in Oscillator S
1616
In Oscillator System Version 3, the TUN bits are located in the OSCTUN register. The traps.c file contains
1717
trap service routines (handlers) for hardware exceptions generated by the dsPIC33E device.
1818

19-
The function in the tuneFrcOsc.c file has the following prototype:
19+
The function in the tuneFrcOsc.c file has the following prototype:
2020

21-
Function: void tuneFrcOsc(unsigned int )
22-
Input: signed int data type equal in the range [-32,31]
21+
Function: void tuneFrcOsc(unsigned int )
22+
Input: signed int data type equal in the range [-32,31]
2323
Description: This subroutine writes to TUN bits which are present in the
2424
OSCTUN register.
2525

@@ -34,6 +34,6 @@ is provided in the device datasheets. It is usually 0.75% or 1.5% of the nominal
3434

3535
## Software Used
3636

37-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
38-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
37+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
38+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
3939

dspic33e-math-error-trap/.main-meta/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Math Error Traps for Robust Operation",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",
@@ -26,7 +26,7 @@
2626
"content":{
2727
"metaDataVersion":"1.0.0",
2828
"category":"com.microchip.device",
29-
"name":"DSPIC33EP512MU810",
29+
"name":"dsPIC33EP512MU810",
3030
"versionRange":"*"
3131
}
3232
},

dspic33e-math-error-trap/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ automatic Math Error Trap detection.
1010

1111
Math errors may be caused by one of the following:
1212

13-
a. Divide by Zero
13+
1.Divide by Zero
1414

15-
b. Accumulator A overflow (bit 31 destroyed)
15+
2.Accumulator A overflow (bit 31 destroyed)
1616

17-
c. Accumulator B Overflow (bit 31 destroyed)
17+
3.Accumulator B Overflow (bit 31 destroyed)
1818

19-
d. Catastrophic overflow of Accumulator A (bit 39 destroyed)
19+
4.Catastrophic overflow of Accumulator A (bit 39 destroyed)
2020

21-
e. Catastrophic overflow of Accumulator B (bit 39 destroyed)
21+
5.Catastrophic overflow of Accumulator B (bit 39 destroyed)
2222

23-
f. Accumulator Shift count error
23+
6.Accumulator Shift count error
2424

2525
If the application defines an Math Error Trap service routine (trap handler), the processor will vector to the
2626
trap handler when it detects a math error.
@@ -43,6 +43,6 @@ optimization level of 0 is assumed for this file.
4343

4444
## Software Used
4545

46-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
47-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
46+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
47+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
4848

dspic33e-open-drain/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Open Drain Configuration",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-open-drain/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This code shows an example of setting the Open Drain Configuration for a generic
88
The open-drain feature allows the generation of outputs higher than VDD
99
(e.g., 5V on a 5V tolerant pin)by using external pull-up resistors.
1010
An external Pull up resistor should be connected for the port configured as
11-
open drain output.
11+
open drain output.
12+
1213
Open drain output is default high because of the external pull up resistor.
1314
In software the port configured as open drain is set to low during initialization
1415
and set as high when Switch S3 is pressed.
@@ -22,6 +23,6 @@ Refer ce419_i2c_eeprom code example for a peripheral configured as open drain ou
2223

2324
## Software Used
2425

25-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
26-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
26+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
27+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2728

dspic33e-oscillator-error-trap/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Oscillator failure traps and Fail-safe Clock Monitoring",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-oscillator-error-trap/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ that cause a stack error trap to occur.
3939

4040
## Software Used
4141

42-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
43-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
42+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
43+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
4444

dspic33e-sleep-wakeup/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Fast wake-up from SLEEP mode",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-sleep-wakeup/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ option to wake-up from SLEEP in a short amount of time and execute code at the h
3232

3333
## Software Used
3434

35-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
36-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
35+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
36+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
3737

0 commit comments

Comments
 (0)