Created Friday 18 August 2023
Download example from this video (check attachments below!)
STM32F103CBT6 project from this video (STM32CubeIDE project + JSON file for STM32CubeMonitor) or use universal step by step approach from this video.
Step by step instructions:
- Download CubeArrays v1.0 (here)
- Open STM32CubeMonitor, find three stripes / hamburger in up-right corner and press it to open menu → Import
- In "Import nodes" windows select "Local" → STM32CubeMonitor_BasicFlow.json → press Import button
- Delete "show notification", "myChart" and "Clear Graphs" nodes
- Three stripes / hamurger → Import → Clipboard tab → "select a file to import" button → find and select cubearrays10.json → Import button
- Connect variables node upper output to "CubeArrays v1.0" function input node
- Double-click "CubeArrays v1.0" function node, select "On Message" tab, scroll down to const arrayNames=["arrayName1","arrayName2",...
- Replace "arrayName1", "arrayName2" by actual array names put in quotes (case sensitive!)
- Double-click Chart #1, write first array element count in "OR points" field
- If you added Chart node by yourself, set "Set X-axis Label" to "custom" and enter "x"
- Set Y-axis min and max values according to your requirements. For uint8_t it would be min: 0, max: 255
- Configure Chart #2 and Chart 3 in the same manner
- Double-click myProbe_Out node, select your STLink probe. If list is empty, press pencil button, select your ST-Link, write some Name, press "Add" button → "Done"
- Double-click myProbe_In node, select your ST-Link probe → "Done"
- Compile your project, find debug directory with ELF file
- Double-click "myVariables" node → Pencil button near "Executable"
- Paste ELF file folder path to "Folder" field → Press "File" drop-down list and select your project .elf file
- Press "Expand Variable List" → write first array name in lower-right "filter" field and press "Select All" button
- Select all elements of second and third array using same approach: write name in filter → press "Select All"
- Write some text in "Name" field, this will enable "Add" button
- After pressing "Add" button large arrays cause significant delay before STM32CubeMonitor user interface become responsive
- Press Deploy button → Dashboard button → in opened window START ACQUISTION button
- Correct chart configurations if some graphs are out of scale