First multi multiple SAD trigger worked for me, after 5 days work.
One important this is choosing reference, which won't be same accross not just MCUs, but also compilers.
Adding hover over the stupid bokeh graphs will make it lot clearer where to start with your reference:
So if your figure variable is `o` like this, add the HoverTool part:
o = figure(plot_width=1200)
o.add_tools(HoverTool(show_arrow=False, line_policy='next', tooltips=[
('X_value', '@x'),
('Y_value', '@y')
]))
Now since we are using the most negative point for a round of AES, choose that X as reference (from first pic), maybe minus 2 or so:
reference = trace.wave[12715:20000] #ATSAM
scope.SAD.reference = reference
You might change the adc.segments based on where you started it, from 11 in the example to 10 or 9.
Only then will multiple SAD work (see second pic)
Mein braver Teststick :-) ... 2 x #CANFD, 1 x #LIN, 1 x #USB (serial) und ein paar digitale, analoge und comms auf Stiftleisten rausgeführt. Schnell zusammengenagelt in dieses schöne kleine USB-Stick-Gehäuse, damit die Sammy-C21-Platine mit dem LIN-Transceiver sicher verpackt ist.
Für die Feldbusse nehm ich dann diverse D-Sub auf Dupont-Adapter nach Bedarf. Ein sehr nützliches Ensemble.
#canfd #lin #usb #elektronik #atsam #c21 #atmel #microchip #can #maker
Bon je crois que je vais devoir réinstaller les composants informatiques nécessaires au fonctionnement du système Sesam-Vitale #CryptolibCPSKaputt #ATSAM #ATesSouhaits
#cryptolibcpskaputt #atsam #atessouhaits