Вы находитесь на странице: 1из 5

26/3/2019 How to map ADCRESULT input to actual pins on board.

- Altair Embed - Altair Forum

Existing user? Sign In   Sign Up

Welcome to the Altair Support Forum Japanユーザーフォーラム Search... 

 Home  Altair Support Forum  Model-Based Development  Altair Embed   All Activity
How to map ADCRESULT input to actual pins on board.

How to map ADCRESULT  Sign in to follow this   Followers 0

input to actual pins on board.


By VisSim Forum Archives, June 13, 2016 in Altair Embed

VisSim Forum Posted June 13, 2016 Report post 


Archives
Submitted by BeachCat on Sun, 08/02/2015 - 22:55 
Rahul Ponginan

I have a F28377D experimenters board, how do I setup VisSim to read speci c
pins on the board with the ADC ?
I have the TI pinouts see attached le for the board. But cant see how to map
VisSim ADC blocks to them.
‹ "Target Open failed" trying to download 

Moderators

3
1101 posts
Are you University user?:No

VisSim Forum Posted June 13, 2016 Report post 


Archives Submitted by pete on Tue, 08/04/2015 - 02:07.
Rahul Ponginan
 You do that via the ADC Config... screen. Note that their are 4 separate ADC units
on the 28377, named A,B,C and D. So there are 4 separate sets
of ADCxRESULTn regs. In the upper right corner of the ADC Config screen you
choose the ADC unit.

The first column lists the result registers for a given unit.
The 2nd Src column lets you set the external ADC pin that will be sensed.
(N/C mean No Connection)
Moderators The 3rd Trigger column selects the trigger to start an ADC conversion on that
channel.
The 4th Sample Clks column lets you choose the clock duration of the ADC
3
sample window. Hi impedence signals require longer sampling intervals to
1101 posts
produce an accurate value.
https://forum.altair.com/topic/17441-how-to-map-adcresult-input-to-actual-pins-on-board/ 1/5
26/3/2019 How to map ADCRESULT input to actual pins on board. - Altair Embed - Altair Forum

Are you University user?:No

To read a result register into the diagram, select an Embedded > Delfino >
Digital/Analog input. To configure it to a particular ADCxRESULTn register, right click
the block and select the ADC unit and channel.

VisSim Forum Posted June 13, 2016 Report post 


Archives
Submitted by BeachCat on Tue, 08/04/2015 - 03:52.
Rahul Ponginan


https://forum.altair.com/topic/17441-how-to-map-adcresult-input-to-actual-pins-on-board/ 2/5
26/3/2019 How to map ADCRESULT input to actual pins on board. - Altair Embed - Altair Forum

Yep, tried that here are the settings I used along with the vsm le, everything
seems to be set as should be.
 

Moderators

3
1101 posts
Are you University user?:No

Bridge1_0.vsm

VisSim Forum Posted June 13, 2016 Report post 


Archives
Submitted by pete on Tue, 08/04/2015 - 04:06.
Rahul Ponginan
https://forum.altair.com/topic/17441-how-to-map-adcresult-input-to-actual-pins-on-board/ 3/5
26/3/2019 How to map ADCRESULT input to actual pins on board. - Altair Embed - Altair Forum

 You have ADCBRESULT0 set up to trigger on ePWM1 SOCA. Do you have
ePWM1 set up to send SOCA on a proper event?
If not, it's described here

Moderators

3
1101 posts
Are you University user?:No

VisSim Forum Posted June 13, 2016 Report post 


Archives
Submitted by BeachCat on Tue, 08/04/2015 - 05:04.
Rahul Ponginan
 Yes I checked that.
I even found there is a signal on channel 3 & 5 of all the ADC units and my
VisSim diagram plotted it ok.
I also found that if I disconnected the DAC that was using the default ADC A 0
pin, it still would not work.

Moderators

3
1101 posts
Are you University user?:No

VisSim Forum Posted June 13, 2016 Report post 


Archives
Submitted by pete on Tue, 08/04/2015 - 05:18.
Rahul Ponginan

Attach your .vsm le to your post so we can give it a try.

Moderators

3
1101 posts
Are you University user?:No

VisSim Forum Posted June 13, 2016 Report post 


https://forum.altair.com/topic/17441-how-to-map-adcresult-input-to-actual-pins-on-board/ 4/5
26/3/2019 How to map ADCRESULT input to actual pins on board. - Altair Embed - Altair Forum

Archives Submitted by BeachCat on Tue, 08/04/2015 - 05:23.


Rahul Ponginan
It's attached to my second post.


Moderators

3
1101 posts
Are you University user?:No

Create an account or sign in to comment


You need to be a member in order to leave a comment

Create an account Sign in


Sign up for a new account in our community. It's Already have an account? Sign in here.
easy!
Sign In Now
Register a new account

 GO TO TOPIC LISTING
Altair Embed

        

 Home  Altair Support Forum  Model-Based Development  Altair Embed   All Activity
How to map ADCRESULT input to actual pins on board.

Theme 

Privacy | Website Terms of Use | Cookie Consent


© Copyright 2018 Altair Engineering, Inc. All Rights Reserved. | HyperWorks is a division of Altair
Powered by Invision Community

https://forum.altair.com/topic/17441-how-to-map-adcresult-input-to-actual-pins-on-board/ 5/5

Вам также может понравиться