This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AMC7834: help with emc7834 evm kit using tm4c1294ncpdt

Part Number: AMC7834
Other Parts Discussed in Thread: TM4C1294NCPDT

Tool/software: Code Composer Studio

hello,

i'm new to this evalution board and require somehelp with it if some one can provide me with an example then that would be really appreciated. 

thank you.

  • Hello Rohan,

    You probably want to check with the Data Converter group instead. We don't have any example for that device from the TM4C side. But the AMC7834 support team may have such an example. Please ask them on their E2E forum which are: e2e.ti.com/.../73

  • hi ralph,
    basically i'm trying to configure the amc7834 evm module with tm4c1294ncpdt using the spi connection to view and to write data on it.
    we don't have any api for this so i manually made the gpios as clock and othe gpio as input/output from the module.
    thank you for your reply!!
  • Hello Rohan,

    TivaWare includes SPI example code, I would download and use that: http://www.ti.com/tool/SW-TM4C

    You will find the basic examples at [Install Path]\TivaWare_C_Series-2.1.4.178\examples\peripherals

    I would take that code, copy it into an existing example like blinky.c, and then try and adjust the settings to match the settings for your target device (SPI mode, data rate, etc.).
  • Ralph Jacobi said:
    I would take that code, copy it into an existing example like blinky.c, and then try and adjust the settings to match the settings for your target device (SPI mode, data rate, etc.).

    Bravo Ralph - you have SO SAVED this 'Client-User' from 'DAYS of Frustration!'      The near universal desire to 'Create one's own Project - most always - achieves the (near) exact opposite!   (NO Project is successfully created!)    (such proves true as there are SO MANY 'hooks' and unique settings - the 'example project MANAGES ALL of that  'over-challenge'  for posters - thus enabling them to, "Proceed w/their REAL Objective!")

    Pity that such advice appears (to my knowledge) only here - and just briefly - as this thread 'quickly rotates away' - into forum oblivion.    (w/the arrival of newer postings...)

    Bit-banging - as the poster proposed - makes little sense - when the MCU's SPI Module sits ready/waiting - and poster is well guided - by multiple examples.     It likely proves helpful for poster to find, and review the "Peripheral Driver Library User Guide" - which greatly, 'Speeds, Eases & Enhances' - those 'new' to your powerful API...

    And - just as you advised - the Peripheral Device is the 'Boss' - almost NEVER the MCU!     (that is so as most such SPI devices have 'limited flexibility' - while the MCU possesses substantial SPI configuration & setting resources...)

    One final piece of advice - as a confirmed 'KISS' advocate - I urge this poster (if he's new to SPI)  to acquire a (very) small capacity - SPI-based - EEProm.    These - by  virtue of their simplicity - provide eased understanding & signaling - and yield the greatest incidence of (near) INSTANT SUCCESS!'      (FEW successful climbers ...  'Start w/Mt. Kilimanjaro - and that for good reason!)

  • thank you ralph for this suggestion I will try this for sure.