This is an old revision of the document!
Warning: Undefined array key 1 in /data/docs.osukl.com/public_html/lib/plugins/note/syntax.php on line 103
3271-SAM 2 Build Instructions
3271-SAM 2 Programming Instructions
Connect unit to programming device.
- Select STM32CubeProgrammer
- Connect to Unit
- Select Device programming
- Browse and select the S:/Code/Production/3271-SAM2/3271-SAM2-Bootloader
* Click Start Programming Making sure all the checked boxes are correct
You can now disconnect the unit, if programming unsucessful, erase the device memory and try again.
- Open Monex and click 'Get Serial' and 'GetProdInfo', you should see the following
- Go to the Programming tab and match the device instance to the Target Select
- Click on 3271-SAM2 and the Reprogram on the pop-up
- Select S:/Code/Production/3271-SAM2/3271-SAM2
- The Device should start programming and should 'PASS', and Reboot to Application Code
- Go Back to Device Info Tab and check that Model ID now shows as Sender Averaging Module
Conect PCB into Monex. This should light up 3 LED’s. Blue Tx which pulses, A and B will be solid red lights.
Set instances as per picture below
Set fluid type and buttons as per picture below.
Use 2x sliders to check averaging is working. This picture shows below, “8” set to 75% and “9” set to 25%, so the average is 50. Try on a couple of other values. LED’s on PCB should now be as follows: Tx LED will flash blue, and A and B will both be flashing green
Assembly. Remove M12 nut (retain for later). Remove rubber grommet – this can be disposed of as it is not required.
Fit standoffs so that the PCB sits at the correct height in the plastic case
Potting: fill the box just under half way, this allows the potting to seep over the edge of the PCB as it’s pushed into the potting.
Then fill the potting to the shoulder of the switch. Take care not to cover the LED’s during this phase.
Allocate serial number and print label
use a bubble bag to protect the unit. Pack into RPT 108 box, with sleeve.


















