TI C2000 Delfino - Setting up a software SOC trigger for an ADC in Simulink
25 views (last 30 days)
Show older comments
Aryaman Pandav on 8 Mar 2021
Answered: Aditya Padmanabha on 18 Oct 2021
Hi, I'd like to know how to set up a software SOC trigger for an ADC in Simulink. Page 1564 of the TI Delfino Technical Reference Manual (Rev. I) states that to trigger this interrupt, we should write bits to the ADCSOCFRC1 register. It seems fairly straightforward to do this in Code Composer Studio by writing to a particular register. However I am unable to find documentation for how to do this in Simulink.
Could you please advise me on how to set this up? Should I be using the Memory Copy block to write to a particular address?
For reference, here are the block parameters for the particular ADC in question, which I'd like to trigger using software. Note the "SOCx trigger source" parameter says "Software".
Aditya Padmanabha on 18 Oct 2021
Please refer to the following pages which explains or showns how to configure SOC for ADC.
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!