infineon4engi@twitter infineon@linkedin infineon4engineers infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: BLDC_SHIELD_TLE9879 questions.

  1. #1
    Beginner Beginner john7 is on a distinguished road
    Join Date
    Mar 2020
    Posts
    10
    Points
    85

    BLDC_SHIELD_TLE9879 questions.

    As I understand the board has a firmware ready to operate from SPI master (the board serves as SPI slave).
    But I haven't found any documentation regarding the communication protocol and commands.
    I also haven't found how do I set a chip select pin for the board (it has 4 on board so 4 boards can be operated from one axis manager).
    May be I could be satisfied by high level API like
    Code:
    shields->setMode(HALL, BOARD1);
    shields->setMode(FOC, BOARD1);
    	
    shields->setMotorSpeed(500, BOARD1);
    shields->setMotorSpeed(2000, BOARD2);
    
    shields->setMotorMode(START_MOTOR, BOARD1);
    delay(5000);
    shields->setMotorMode(START_MOTOR, BOARD2);
    delay(5000);
    shields->setMotorMode(STOP_MOTOR, BOARD1);
    delay(5000);
    shields->setMotorMode(STOP_MOTOR, BOARD2);
    delay(5000);
    But I need more control on the boards.
    Last edited by john7; Mar 10th, 2020 at 06:07 AM.

  2. #2

    Infineon Employee
    Infineon Employee
    Elettrograffiti is on a distinguished road
    Join Date
    Oct 2019
    Posts
    14
    Hi John, are you using the autoaddressing function "startAutoAddressing()"? with these function the boards will automatically get addressed starting from the bottom of the stack (board 1) to the top (board 4). At the moment this is the way the board addressing works for this platform.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner john7 is on a distinguished road
    Join Date
    Mar 2020
    Posts
    10
    Points
    85
    I see. Thank you.
    My motors has encoders and I have to close a position loop. How can read the encoder data?

  4. #4

    Infineon Employee
    Infineon Employee
    Elettrograffiti is on a distinguished road
    Join Date
    Oct 2019
    Posts
    14
    how many bits is this encoder? If it is just 3, line an Hall sensor, you could try to use the hall pattern detection to your advantage. Otherwise you could use any GPIO in input mode and generate interrupt function for your loop regulation.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.