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.

tmc4123 spi with lmp90100

Other Parts Discussed in Thread: LMP90100

hi guys,

i'm trying to comunicate the tmc4123 uc with the lmp90100 afe  but i'm having some problems with the spi comunication, i've tried to create my own code but i've about with paremeters i have to send to configurate the afe and how i can read the values.This code is what i've done until now.

  • Hello Roan

    First and foremost, I would suggest using TivaWare API for configuration and data communication,. It is proven, simpler to understand and helps us support debug better.

    Second of all, did you check with a scope or Logic Analyzer, if the bus is toggling as expected?
  • Hello Roan,
    I believe you are ommiting part of the code for clarity? Since I'm used to coding using the Tivaware library, I can't tell off my head if you have all the necessary steps done.
    Do you have some particular reason as to use the registers directly?
    May I suggest that you deal with the MCU's peripherals by using the Tivaware library functions instead of dealing with registers? I believe you will have a much faster progress.
    Regards
    Bruno

    (Amit, sorry to repeat you - I had just typed this when I saw your reply, then I hit enter anyway...)
  • Hello Bruno,

    Not to be sorry. reaffirmation is a good thing especially when dealing with multi-coding styles.