diff --git a/.main-meta/main.json b/.main-meta/main.json index 189184b..251de89 100644 --- a/.main-meta/main.json +++ b/.main-meta/main.json @@ -5,9 +5,9 @@ "metaDataVersion": "1.1.0", "name": "com.microchip.mcu8.studio.project.avr128db48-training-on-opamp-xoschf-mvio-studio", "version": "1.0.0", - "displayName": "Training on OPAMP, XOSCHF and MVIO", + "displayName": "AVR DB training on OPAMP, XOSCHF and MVIO", "projectName": "avr128db48-training-on-opamp-xoschf-mvio-studio", - "shortDescription": "These Atmel Studio 7 examples in Training on OPAMP, XOSCHF and MVIO Atmel Studio, show how the OPAMP, XOSCHF and MVIO peripherals can be used on the AVR DB family of microcontrollers.", + "shortDescription": "Atmel Studio 7 training code examples for the AVR DB family of microcontrollers, demonstrating use of the OPAMP, XOSCHF and MVIO peripherals.", "ide": { "name": "Studio", "semverRange": ">=7.0.2397" diff --git a/Assignment2/Assignment2/nbproject/private/private.xml b/Assignment2/Assignment2/nbproject/private/private.xml deleted file mode 100644 index 2eee429..0000000 --- a/Assignment2/Assignment2/nbproject/private/private.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Assignment3/Assignment3/Assignment3.cproj b/Assignment3/Assignment3/Assignment3.cproj index b892a2f..792d7b5 100644 --- a/Assignment3/Assignment3/Assignment3.cproj +++ b/Assignment3/Assignment3/Assignment3.cproj @@ -75,7 +75,6 @@ - %24(PackRepoDir)\Atmel\AVR-DB_DFP\1.0.21\include %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ @@ -117,7 +116,6 @@ - %24(PackRepoDir)\Atmel\AVR-DB_DFP\1.0.21\include %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ diff --git a/Assignment3/Assignment3/nbproject/private/private.xml b/Assignment3/Assignment3/nbproject/private/private.xml deleted file mode 100644 index 2eee429..0000000 --- a/Assignment3/Assignment3/nbproject/private/private.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/DataVisualizer/Assignment4.json b/DataVisualizer/Assignment4.json index 8aad8da..ea5408f 100644 --- a/DataVisualizer/Assignment4.json +++ b/DataVisualizer/Assignment4.json @@ -1 +1 @@ -{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":["0ab90de2-039e-4448-ae60-26b681271b90","17e1e5f4-a327-403a-bab6-67a99550b915"],"trackSizes":{"vertical":[],"horizontal":[]}}},"axisProps":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","active":false,"offset":0,"scale":776,"type":"data"},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","active":false,"offset":0,"scale":776,"type":"data"},"primary-graph":{"panelId":"primary-graph","active":false,"offset":6120.506505143239,"scale":0.11841535675921477,"type":"time"}},"axisPositions":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","alignment":"after","track":0,"order":0}},"plotProps":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Waveform Generator (DAC)","color":"#f44e3b","lineMode":"linear"},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Non Inverting PGA (OPAMP)","color":"#a4dd00","lineMode":"linear"}},"plotPositions":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","hAxes":[],"vAxes":["01ac7941-a5e7-46fd-ab15-411719569eca"]},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","hAxes":[],"vAxes":["df84fd6c-5a67-4a92-815f-e21d2cb98942"]}},"cursorProps":{"0ab90de2-039e-4448-ae60-26b681271b90":{"panelId":"primary-graph","tag":"A","anchor":"domain","color":"#00F","offset":2577.4138224912617},"17e1e5f4-a327-403a-bab6-67a99550b915":{"panelId":"primary-graph","tag":"B","anchor":"domain","color":"#00F","offset":2577.433860545186}},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"df84fd6c-5a67-4a92-815f-e21d2cb98942","prevColorChoiceIndex":-1},"terminal":{"sourceId":"","characterSet":"hex","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM27":{"id":"COM27","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"COM10":{"id":"COM10","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}}}},"protocolShapes":{"byId":{"":{"fields":[{"id":"$Waveform Generator (DAC)","name":"Waveform Generator (DAC)","type":4,"offset":0},{"id":"$Non Inverting PGA (OPAMP)","name":"Non Inverting PGA (OPAMP)","type":4,"offset":2}],"id":"","name":"Decoder 1","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"fields":[{"id":"$Waveform Generator (DAC)","name":"Waveform Generator (DAC)","offset":0,"type":4},{"id":"$Non Inverting PGA (OPAMP)","name":"Non Inverting PGA (OPAMP)","offset":2,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-e8151bb0-5973-11ea-907c-eb810a612336","name":"Decoder 1","outputs":["decoder-e8151bb0-5973-11ea-907c-eb810a612336$Waveform Generator (DAC)","decoder-e8151bb0-5973-11ea-907c-eb810a612336$Non Inverting PGA (OPAMP)"]}},"shapeSelection":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":""},"statisticsById":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"discardedByteCount":4,"decodedFrameCount":5548,"decodeRate":804,"hasProtocolMismatch":false}}},"links":{"byId":{"014a3fe0-03d6-11eb-a036-770604a8eb49":{"sourceId":"COM13","sinkId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336"}}}}} +{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":["0ab90de2-039e-4448-ae60-26b681271b90","17e1e5f4-a327-403a-bab6-67a99550b915"],"trackSizes":{"vertical":[],"horizontal":[]}}},"axisProps":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","active":false,"offset":0,"scale":776,"type":"data"},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","active":false,"offset":0,"scale":776,"type":"data"},"primary-graph":{"panelId":"primary-graph","active":false,"offset":95.541144543241,"scale":0.11841535675921477,"type":"time"}},"axisPositions":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","alignment":"after","track":0,"order":0}},"plotProps":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Waveform Generator (DAC)","color":"#f44e3b","lineMode":"linear"},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Non Inverting PGA (OPAMP)","color":"#a4dd00","lineMode":"linear"}},"plotPositions":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","hAxes":[],"vAxes":["01ac7941-a5e7-46fd-ab15-411719569eca"]},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","hAxes":[],"vAxes":["df84fd6c-5a67-4a92-815f-e21d2cb98942"]}},"cursorProps":{"0ab90de2-039e-4448-ae60-26b681271b90":{"panelId":"primary-graph","tag":"A","anchor":"domain","color":"#00F","offset":2577.4138224912617},"17e1e5f4-a327-403a-bab6-67a99550b915":{"panelId":"primary-graph","tag":"B","anchor":"domain","color":"#00F","offset":2577.433860545186}},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"df84fd6c-5a67-4a92-815f-e21d2cb98942","prevColorChoiceIndex":-1},"terminal":{"sourceId":"","characterSet":"hex","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM27":{"id":"COM27","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"COM10":{"id":"COM10","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"COM13":{"id":"COM13","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}}}},"protocolShapes":{"byId":{"":{"fields":[{"id":"$Waveform Generator (DAC)","name":"Waveform Generator (DAC)","type":4,"offset":0},{"id":"$Non Inverting PGA (OPAMP)","name":"Non Inverting PGA (OPAMP)","type":4,"offset":2}],"id":"","name":"Decoder 1","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"fields":[{"id":"$Waveform Generator (DAC)","name":"Waveform Generator (DAC)","offset":0,"type":4},{"id":"$Non Inverting PGA (OPAMP)","name":"Non Inverting PGA (OPAMP)","offset":2,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-e8151bb0-5973-11ea-907c-eb810a612336","name":"Decoder 1","outputs":["decoder-e8151bb0-5973-11ea-907c-eb810a612336$Waveform Generator (DAC)","decoder-e8151bb0-5973-11ea-907c-eb810a612336$Non Inverting PGA (OPAMP)"]}},"shapeSelection":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":""},"statisticsById":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"discardedByteCount":2,"decodedFrameCount":36349,"decodeRate":800.7968,"hasProtocolMismatch":false}}},"links":{"byId":{"014a3fe0-03d6-11eb-a036-770604a8eb49":{"sourceId":"COM13","sinkId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336"}}}}} diff --git a/DataVisualizer/Assignment5.json b/DataVisualizer/Assignment5.json index 152c728..03b66fa 100644 --- a/DataVisualizer/Assignment5.json +++ b/DataVisualizer/Assignment5.json @@ -1 +1 @@ -{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":[],"trackSizes":{"vertical":[],"horizontal":[]}}},"axisProps":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","active":false,"offset":0,"scale":3300,"type":"data"},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","active":false,"offset":0,"scale":3300,"type":"data"},"primary-graph":{"panelId":"primary-graph","active":false,"offset":158.00395184896996,"scale":0.2720470510312225,"type":"time"}},"axisPositions":{"01ac7941-a5e7-46fd-ab15-411719569eca":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"df84fd6c-5a67-4a92-815f-e21d2cb98942":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0},"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","alignment":"after","track":0,"order":0}},"plotProps":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Differential Input","color":"#f44e3b","lineMode":"linear"},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","sourceId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336$Instrumentation Amplifier (OUT)","color":"#a4dd00","lineMode":"linear"}},"plotPositions":{"8e18288e-418d-4bd5-a325-4f46292097d4":{"panelId":"primary-graph","hAxes":[],"vAxes":["01ac7941-a5e7-46fd-ab15-411719569eca"]},"552e5a74-8e29-4a0a-a874-1a02f83ff62c":{"panelId":"primary-graph","hAxes":[],"vAxes":["df84fd6c-5a67-4a92-815f-e21d2cb98942"]}},"cursorProps":{},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"01ac7941-a5e7-46fd-ab15-411719569eca","prevColorChoiceIndex":-1},"terminal":{"sourceId":"","characterSet":"hex","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM27":{"id":"COM27","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"COM10":{"id":"COM10","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}}}},"protocolShapes":{"byId":{"":{"fields":[{"id":"$Differential Input","name":"Differential Input","type":4,"offset":0},{"id":"$Instrumentation Amplifier (OUT)","name":"Instrumentation Amplifier (OUT)","type":4,"offset":2}],"id":"","name":"Decoder 1","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"fields":[{"id":"$Differential Input","name":"Differential Input","offset":0,"type":4},{"id":"$Instrumentation Amplifier (OUT)","name":"Instrumentation Amplifier (OUT)","offset":2,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-e8151bb0-5973-11ea-907c-eb810a612336","name":"Decoder 1","outputs":["decoder-e8151bb0-5973-11ea-907c-eb810a612336$Instrumentation Amplifier (OUT)","decoder-e8151bb0-5973-11ea-907c-eb810a612336$Differential Input"]}},"shapeSelection":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":""},"statisticsById":{"decoder-e8151bb0-5973-11ea-907c-eb810a612336":{"discardedByteCount":0,"decodedFrameCount":4781,"decodeRate":804,"hasProtocolMismatch":false}}},"links":{"byId":{"7ef433b0-03d6-11eb-80a9-bdad7d40afda":{"sourceId":"COM13","sinkId":"decoder-e8151bb0-5973-11ea-907c-eb810a612336"}}}}} +{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":[],"trackSizes":{"horizontal":[],"vertical":[]}}},"axisProps":{"primary-graph":{"panelId":"primary-graph","type":"time","scale":0.9473228540737182,"offset":287.12243704592674,"active":false},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","type":"data","scale":1891.646540884072,"offset":45.30464460411349,"active":false}},"axisPositions":{"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","track":0,"alignment":"after","order":0},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","orientation":"vertical","track":0,"alignment":"before","order":0}},"plotProps":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","sourceId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2","lineMode":"steps","color":"#009ce0"}},"plotPositions":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","hAxes":[],"vAxes":["fc5a8758-3bfc-4585-9e32-a4b64590fb13"]}},"cursorProps":{},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"fc5a8758-3bfc-4585-9e32-a4b64590fb13","prevColorChoiceIndex":1},"terminal":{"characterSet":"iso-8859-1","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM13":{"id":"COM13","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"1003-8565-mchp3372021800000244-GPIO":{"id":"1003-8565-mchp3372021800000244-GPIO","formValues":{"gpio-1-monitored":1,"fill-gpio-points":1,"timestamp":1,"gpio-0-monitored":0}}}},"protocolShapes":{"byId":{"12":{"fields":[{"id":"12$VADDIO2","name":"VADDIO2","type":4,"offset":0}],"id":"12","name":"VDDIO2","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"fields":[{"id":"$VADDIO2","name":"VADDIO2","offset":0,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","name":"VDDIO2","outputs":["decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2"]}},"shapeSelection":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":"12"},"statisticsById":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"discardedByteCount":5,"decodedFrameCount":253124,"decodeRate":2406.3745,"hasProtocolMismatch":false}}},"links":{"byId":{"7751ff60-fd8d-11ea-8781-4bf2a9320c30":{"sourceId":"COM13","sinkId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30"}}}}} diff --git a/DataVisualizer/Assignment6.json b/DataVisualizer/Assignment6.json index 07ef851..110093c 100644 --- a/DataVisualizer/Assignment6.json +++ b/DataVisualizer/Assignment6.json @@ -1 +1 @@ -{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":[],"trackSizes":{"horizontal":[],"vertical":[]}}},"axisProps":{"primary-graph":{"panelId":"primary-graph","type":"time","scale":0.9473228540737182,"offset":254.97617604592656,"active":false},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","type":"data","scale":1086.4656348746876,"offset":1121.1069957920151,"active":false}},"axisPositions":{"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","track":0,"alignment":"after","order":0},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","orientation":"vertical","track":0,"alignment":"before","order":0}},"plotProps":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","sourceId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2","lineMode":"steps","color":"#009ce0"}},"plotPositions":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","hAxes":[],"vAxes":["fc5a8758-3bfc-4585-9e32-a4b64590fb13"]}},"cursorProps":{},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"fc5a8758-3bfc-4585-9e32-a4b64590fb13","prevColorChoiceIndex":1},"terminal":{"characterSet":"iso-8859-1","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM13":{"id":"COM13","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"1003-8565-mchp3372021800000244-GPIO":{"id":"1003-8565-mchp3372021800000244-GPIO","formValues":{"gpio-1-monitored":1,"fill-gpio-points":1,"timestamp":1,"gpio-0-monitored":0}}}},"protocolShapes":{"byId":{"12":{"fields":[{"id":"12$VADDIO2","name":"VADDIO2","type":4,"offset":0}],"id":"12","name":"VDDIO2","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"fields":[{"id":"$VADDIO2","name":"VADDIO2","offset":0,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","name":"VDDIO2","outputs":["decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2"]}},"shapeSelection":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":"12"},"statisticsById":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"discardedByteCount":4,"decodedFrameCount":129992,"decodeRate":2376,"hasProtocolMismatch":false}}},"links":{"byId":{"7751ff60-fd8d-11ea-8781-4bf2a9320c30":{"sourceId":"COM13","sinkId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30"}}}}} +{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":[],"trackSizes":{"horizontal":[],"vertical":[]}}},"axisProps":{"primary-graph":{"panelId":"primary-graph","type":"time","scale":0.9473228540737093,"offset":3266.240129639269,"active":false},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","type":"data","scale":1086.4656348746876,"offset":1121.1069957920151,"active":false},"90c78cd5-c85b-45ab-8d59-7004d2ff82ee":{"panelId":"primary-graph","type":"data","scale":1.2125732532083064,"offset":-0.03015455998803525,"active":false}},"axisPositions":{"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","track":0,"alignment":"after","order":0},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","orientation":"vertical","track":0,"alignment":"before","order":0},"90c78cd5-c85b-45ab-8d59-7004d2ff82ee":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0}},"plotProps":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","sourceId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2","lineMode":"steps","color":"#009ce0"},"b6624165-a838-4204-9cfc-cd8ccbbd25e2":{"panelId":"primary-graph","sourceId":"1003-8565-mchp3372021800000244-GPIO$1","lineMode":"steps","color":"#29A634"}},"plotPositions":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","hAxes":[],"vAxes":["fc5a8758-3bfc-4585-9e32-a4b64590fb13"]},"b6624165-a838-4204-9cfc-cd8ccbbd25e2":{"panelId":"primary-graph","hAxes":[],"vAxes":["90c78cd5-c85b-45ab-8d59-7004d2ff82ee"]}},"cursorProps":{},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"90c78cd5-c85b-45ab-8d59-7004d2ff82ee","prevColorChoiceIndex":1},"terminal":{"characterSet":"iso-8859-1","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM13":{"id":"COM13","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"1003-8565-mchp3372021800000244-GPIO":{"id":"1003-8565-mchp3372021800000244-GPIO","formValues":{"gpio-1-monitored":1,"fill-gpio-points":1,"timestamp":1,"gpio-0-monitored":0}}}},"protocolShapes":{"byId":{"12":{"fields":[{"id":"12$VADDIO2","name":"VADDIO2","type":4,"offset":0}],"id":"12","name":"VDDIO2","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"fields":[{"id":"$VADDIO2","name":"VADDIO2","offset":0,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","name":"VDDIO2","outputs":["decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2"]}},"shapeSelection":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":"12"},"statisticsById":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"discardedByteCount":175,"decodedFrameCount":7525775,"decodeRate":2310.7568,"hasProtocolMismatch":false}}},"links":{"byId":{"7751ff60-fd8d-11ea-8781-4bf2a9320c30":{"sinkId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","sourceId":"COM13"}}}}} diff --git a/DataVisualizer/Assignment7.json b/DataVisualizer/Assignment7.json deleted file mode 100644 index 110093c..0000000 --- a/DataVisualizer/Assignment7.json +++ /dev/null @@ -1 +0,0 @@ -{"scheme":2,"settings":{"chart":{"panels":{"primary-graph":{"cursors":[],"trackSizes":{"horizontal":[],"vertical":[]}}},"axisProps":{"primary-graph":{"panelId":"primary-graph","type":"time","scale":0.9473228540737093,"offset":3266.240129639269,"active":false},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","type":"data","scale":1086.4656348746876,"offset":1121.1069957920151,"active":false},"90c78cd5-c85b-45ab-8d59-7004d2ff82ee":{"panelId":"primary-graph","type":"data","scale":1.2125732532083064,"offset":-0.03015455998803525,"active":false}},"axisPositions":{"primary-graph":{"panelId":"primary-graph","orientation":"horizontal","track":0,"alignment":"after","order":0},"fc5a8758-3bfc-4585-9e32-a4b64590fb13":{"panelId":"primary-graph","orientation":"vertical","track":0,"alignment":"before","order":0},"90c78cd5-c85b-45ab-8d59-7004d2ff82ee":{"panelId":"primary-graph","orientation":"vertical","alignment":"before","track":0,"order":0}},"plotProps":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","sourceId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2","lineMode":"steps","color":"#009ce0"},"b6624165-a838-4204-9cfc-cd8ccbbd25e2":{"panelId":"primary-graph","sourceId":"1003-8565-mchp3372021800000244-GPIO$1","lineMode":"steps","color":"#29A634"}},"plotPositions":{"4d126cd4-cf24-4ce7-a4a2-8861db8e1f1d":{"panelId":"primary-graph","hAxes":[],"vAxes":["fc5a8758-3bfc-4585-9e32-a4b64590fb13"]},"b6624165-a838-4204-9cfc-cd8ccbbd25e2":{"panelId":"primary-graph","hAxes":[],"vAxes":["90c78cd5-c85b-45ab-8d59-7004d2ff82ee"]}},"cursorProps":{},"inspector":{"enabled":true,"yPosition":30},"activeDataAxisId":"90c78cd5-c85b-45ab-8d59-7004d2ff82ee","prevColorChoiceIndex":1},"terminal":{"characterSet":"iso-8859-1","filterControlChars":false,"hexMode":false,"echo":true,"lineEnd":"\r\n","terminalDirty":false},"ui":{"sidebars":{"left.sidebar":{"id":"left.sidebar","visible":true},"right.sidebar":{"id":"right.sidebar","visible":true}},"panels":{"connections.panel":{"id":"connections.panel","open":true},"connection.options.panel":{"id":"connection.options.panel","open":true}},"dialogs":[],"darkTheme":true,"devMode":false},"sourceSettings":{"byId":{"COM13":{"id":"COM13","formValues":{"baudRate":115200,"charLength":8,"stopBits":0,"parity":0,"invalid":-1}},"1003-8565-mchp3372021800000244-GPIO":{"id":"1003-8565-mchp3372021800000244-GPIO","formValues":{"gpio-1-monitored":1,"fill-gpio-points":1,"timestamp":1,"gpio-0-monitored":0}}}},"protocolShapes":{"byId":{"12":{"fields":[{"id":"12$VADDIO2","name":"VADDIO2","type":4,"offset":0}],"id":"12","name":"VDDIO2","frame":{"mode":{"label":"Auto","id":"auto"},"startOfFrame":0}}}},"protocols":{"byId":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"fields":[{"id":"$VADDIO2","name":"VADDIO2","offset":0,"type":4}],"frame":{"mode":"auto","startOfFrame":0},"id":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","name":"VDDIO2","outputs":["decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30$VADDIO2"]}},"shapeSelection":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":"12"},"statisticsById":{"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30":{"discardedByteCount":175,"decodedFrameCount":7525775,"decodeRate":2310.7568,"hasProtocolMismatch":false}}},"links":{"byId":{"7751ff60-fd8d-11ea-8781-4bf2a9320c30":{"sinkId":"decoder-75d76d50-fd8d-11ea-8781-4bf2a9320c30","sourceId":"COM13"}}}}} diff --git a/README.md b/README.md index 112ca4d..a3299d0 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ [![MCHP](images/microchip.png)](https://www.microchip.com) -# Training on OPAMP, XOSCHf and MVIO +# Training on OPAMP, XOSCHF and MVIO This training consists of 6 assignments exploring some of the new features of the AVR® DB, namely: The Analog Signal Conditioning (OPAMP), the High Frequency Crystal Oscillator (XOSCHF) and the Multi Voltage I/O (MVIO). -The OPAMP peripheral features up to three internal operational amplifiers (op amps). The op amps can be configured t a multitude of different operations using internal multiplexers and resistor laders. +The OPAMP peripheral features up to three internal operational amplifiers (op amps). The op amps can be configured in a multitude of different operations using internal multiplexers and resistor ladders. -The XOSCHf enables the use of an external crystal or an external clock signal up to 32 MHz. This can be used as a clock source for the MAin Clock (CLK_MAIN), the Real_Time Conter (RTC) and the 12-bit Timer/Counter Type D (TCDn). +The XOSCHF enables the use of an external crystal or an external clock signal up to 32 MHz. This can be used as a clock source for the Main Clock (CLK_MAIN), the Real Time Counter (RTC) and the 12-bit Timer/Counter Type D (TCDn). The MVIO allows PORTC of the AVR DB to run on a different voltage domain (VDDIO2) than the rest of the PORTC. @@ -24,7 +24,7 @@ Op Amp as a Regulated Power Supply for VDDIO2 * **Assignment 6:** VDDIO2 Failure Detection -Each assignment also comes whit a solution project found in the corresponding solution folder. +Each assignment also comes with a solution project found in the corresponding solution folder. ## Related Documentation @@ -40,6 +40,8 @@ Each assignment also comes whit a solution project found in the corresponding so ## Software Used * [Atmel Studio](https://www.microchip.com/mplab/avr-support/atmel-studio-7) 7.0.2397 or later +* AVR-GCC 5.40 or later +* [Atmel Start](https://start.atmel.com/) version 1.8.499 or later * Atmel Studio AVR-Dx_DFP version 1.4.73 or later * For the MPLAB® X version of these projects, please go to [this repository](https://github.com/microchip-pic-avr-examples/avr128db48-training-on-opamp-xoschf-mvio-mplab) @@ -47,21 +49,26 @@ Each assignment also comes whit a solution project found in the corresponding so * [AVR128DB48 Curiosity Nano](https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/EV35L43A) + + ## Setup -Most assignments can be completed using the AVR128DB48 Curiosity Nano without any extra components, but some assignments require a logic analyser or hardware modifications. See the training manual for setup for specific assignments. +Most assignments can be completed using the AVR128DB48 Curiosity Nano without any extra components, but some assignments require a logic analyzer or hardware modifications. See the training manual for setup of specific assignments. + +![MCHP](images/avr128db48-cnano.png) ## Operation * Connect the AVR128DB48 Curiosity Nano to the computer using a USB cable * Clone the repository or download the zip to get the source code * Open the .atsln file in the assignment folder for the desired assignment -* Complete the assignment according the the training manual +* Complete the assignment according to the training manual * Press *Start Without Debugging* (CTRL+ALT+F5) to run the assignment +![SetUpAssignment](images/SetupAssignment.png) -## Summary +## Conclusion After completing the training you should have a better understanding of some of the new features of the AVR DB such as the OPAMP, XOSCHF and MVIO. diff --git a/Solution3/Solution3/Solution3.cproj b/Solution3/Solution3/Solution3.cproj index 9873de7..569a49f 100644 --- a/Solution3/Solution3/Solution3.cproj +++ b/Solution3/Solution3/Solution3.cproj @@ -75,7 +75,6 @@ - %24(PackRepoDir)\Atmel\AVR-DB_DFP\1.0.21\include %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ @@ -117,7 +116,6 @@ - %24(PackRepoDir)\Atmel\AVR-DB_DFP\1.0.21\include %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ diff --git a/Solution4/Solution4/Debug.xml b/Solution4/Solution4/Debug.xml deleted file mode 100644 index 50df8a1..0000000 --- a/Solution4/Solution4/Debug.xml +++ /dev/null @@ -1,48 +0,0 @@ - - -mmcu=avr128db48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\gcc\dev\avr128db48" - True - True - True - True - False - True - True - - - DEBUG - - - - - ../examples/include - ../include - ../utils - ../utils/assembler - ../ - ../Config - %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ - - - Optimize (-O1) - True - True - Default (-g2) - True - - - libm - - - - - ../Config - ../examples/include - ../include - ../utils - ../utils/assembler - ../ - %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ - - - Default (-Wa,-g) - \ No newline at end of file diff --git a/Solution4/Solution4/Default.xml b/Solution4/Solution4/Default.xml deleted file mode 100644 index 0f55e8f..0000000 --- a/Solution4/Solution4/Default.xml +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - - DebugLevel - None - - - IncludePaths - NDEBUG - - - MiscellaneousSettings - -std=gnu99 - - - OptimizationLevel - Optimize for size (-Os) - - - SymbolDefines - NDEBUG - - - SymbolUndefines - - - - Verbose - False - - - WarningsAsErrors - False - - - avrgcc.compiler.general.CLanguageExp - True - - - avrgcc.compiler.general.SubroutinesFunctionPrologues - False - - - avrgcc.compiler.general.ChangeSPWithoutDisablingInterrupts - False - - - avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned - True - - - avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned - True - - - avrgcc.compiler.preprocessor.DoNotSearchSystemDirectories - False - - - avrgcc.compiler.preprocessor.PreprocessOnly - False - - - avrgcc.compiler.optimization.OtherFlags - - - - avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection - True - - - avrgcc.compiler.optimization.PrepareDataForGarbageCollection - True - - - avrgcc.compiler.optimization.PackStructureMembers - True - - - avrgcc.compiler.optimization.AllocateBytesNeededForEnum - True - - - avrgcc.compiler.optimization.UseShortCalls - False - - - avrgcc.compiler.optimization.RelaxBranches - - - - avrgcc.compiler.optimization.OtherDebuggingFlags - - - - avrgcc.compiler.warnings.AllWarnings - True - - - avrgcc.compiler.warnings.ExtraWarnings - False - - - avrgcc.compiler.warnings.Undefined - False - - - avrgcc.compiler.warnings.CheckSyntaxOnly - False - - - avrgcc.compiler.warnings.Pedantic - False - - - avrgcc.compiler.warnings.PedanticWarningsAsErrors - False - - - avrgcc.compiler.warnings.InhibitAllWarnings - False - - - avrgcc.compiler.miscellaneous.Device - True - - - avrgcc.compiler.miscellaneous.CompileOnly - True - - - avrgcc.compiler.miscellaneous.SupportAnsiPrograms - False - - - avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles - False - - - avrgcc.compiler.miscellaneous.MakeFileDependent - True - - - - - Libraries - libm - - - LibrarySearchPath - - - - MiscellaneousSettings - - - - avrgcc.linker.general.DoNotUseStandardStartFiles - False - - - avrgcc.linker.general.DoNotUseDefaultLibraries - False - - - avrgcc.linker.general.NoStartupOrDefaultLibs - False - - - avrgcc.linker.general.OmitAllSymbolInformation - False - - - avrgcc.linker.general.NoSharedLibraries - False - - - avrgcc.linker.general.GenerateMAPFile - True - - - avrgcc.linker.general.UseVprintfLibrary - False - - - avrgcc.linker.optimization.GarbageCollectUnusedSections - True - - - avrgcc.linker.optimization.PutReadOnlyDataInWritableDataSection - False - - - avrgcc.linker.optimization.RelaxBranches - - - - avrgcc.linker.memorysettings.InitialStack - - - - avrgcc.linker.memorysettings.Flash - - - - avrgcc.linker.memorysettings.Sram - - - - avrgcc.linker.memorysettings.Eeprom - - - - Release - - - - - DebugLevel - Default (-g2) - - - IncludePaths - DEBUG - - - MiscellaneousSettings - -std=gnu99 - - - OptimizationLevel - Optimize (-O1) - - - SymbolDefines - DEBUG - - - SymbolUndefines - - - - Verbose - False - - - WarningsAsErrors - False - - - avrgcc.compiler.general.CLanguageExp - True - - - avrgcc.compiler.general.SubroutinesFunctionPrologues - False - - - avrgcc.compiler.general.ChangeSPWithoutDisablingInterrupts - False - - - avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned - True - - - avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned - True - - - avrgcc.compiler.preprocessor.DoNotSearchSystemDirectories - False - - - avrgcc.compiler.preprocessor.PreprocessOnly - False - - - avrgcc.compiler.optimization.OtherFlags - - - - avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection - True - - - avrgcc.compiler.optimization.PrepareDataForGarbageCollection - True - - - avrgcc.compiler.optimization.PackStructureMembers - True - - - avrgcc.compiler.optimization.AllocateBytesNeededForEnum - True - - - avrgcc.compiler.optimization.UseShortCalls - False - - - avrgcc.compiler.optimization.RelaxBranches - - - - avrgcc.compiler.optimization.OtherDebuggingFlags - - - - avrgcc.compiler.warnings.AllWarnings - True - - - avrgcc.compiler.warnings.ExtraWarnings - False - - - avrgcc.compiler.warnings.Undefined - False - - - avrgcc.compiler.warnings.CheckSyntaxOnly - False - - - avrgcc.compiler.warnings.Pedantic - False - - - avrgcc.compiler.warnings.PedanticWarningsAsErrors - False - - - avrgcc.compiler.warnings.InhibitAllWarnings - False - - - avrgcc.compiler.miscellaneous.Device - True - - - avrgcc.compiler.miscellaneous.CompileOnly - True - - - avrgcc.compiler.miscellaneous.SupportAnsiPrograms - False - - - avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles - False - - - avrgcc.compiler.miscellaneous.MakeFileDependent - True - - - - - Libraries - libm - - - LibrarySearchPath - - - - MiscellaneousSettings - - - - avrgcc.linker.general.DoNotUseStandardStartFiles - False - - - avrgcc.linker.general.DoNotUseDefaultLibraries - False - - - avrgcc.linker.general.NoStartupOrDefaultLibs - False - - - avrgcc.linker.general.OmitAllSymbolInformation - False - - - avrgcc.linker.general.NoSharedLibraries - False - - - avrgcc.linker.general.GenerateMAPFile - True - - - avrgcc.linker.general.UseVprintfLibrary - False - - - avrgcc.linker.optimization.GarbageCollectUnusedSections - True - - - avrgcc.linker.optimization.PutReadOnlyDataInWritableDataSection - False - - - avrgcc.linker.optimization.RelaxBranches - - - - avrgcc.linker.memorysettings.InitialStack - - - - avrgcc.linker.memorysettings.Flash - - - - avrgcc.linker.memorysettings.Sram - - - - avrgcc.linker.memorysettings.Eeprom - - - - Debug - - - \ No newline at end of file diff --git a/Solution4/Solution4/Release.xml b/Solution4/Solution4/Release.xml deleted file mode 100644 index f96918f..0000000 --- a/Solution4/Solution4/Release.xml +++ /dev/null @@ -1,46 +0,0 @@ - - -mmcu=avr128db48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\gcc\dev\avr128db48" - True - True - True - True - False - True - True - - - NDEBUG - - - - - ../examples/include - ../include - ../utils - ../utils/assembler - ../ - ../Config - %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ - - - Optimize for size (-Os) - True - True - True - - - libm - - - - - ../Config - ../examples/include - ../include - ../utils - ../utils/assembler - ../ - %24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.4.73\include\ - - - \ No newline at end of file diff --git a/debug.log b/debug.log new file mode 100644 index 0000000..e69de29 diff --git a/images/SetupAssignment.png b/images/SetupAssignment.png new file mode 100644 index 0000000..7ac6e59 Binary files /dev/null and b/images/SetupAssignment.png differ diff --git a/images/avr128db48-cnano.png b/images/avr128db48-cnano.png new file mode 100644 index 0000000..1efd1ce Binary files /dev/null and b/images/avr128db48-cnano.png differ