Jump to content
Sign in to follow this  
VisSim Forum Archives

How to map ADCRESULT input to actual pins on board.

Recommended Posts

Submitted by BeachCat on Sun, 08/02/2015 - 22:55 

I have a F28377D experimenters board, how do I setup VisSim to read specific pins on the board with the ADC ?

I have the TI pinouts see attached file for the board. But cant see how to map VisSim ADC blocks to them.

‹ "Target Open failed" trying to download 

Share this post


Link to post
Share on other sites

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)
  • 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 sample window. Hi impedence signals require longer sampling intervals to produce an accurate value.

ADCF28377-config.png

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.
F28377-ADC-chan-config.png

Share this post


Link to post
Share on other sites

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

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...