Open phdaf opened 6 years ago
Hello Phdaf,
it worked for me. The flag shows that the motor is identified. If Bit5 is still =0 the identification data are send to the TAPAS. If it turns true, the identification is done and the motor-parameters can be saved.
Do you have a generel SPI connection to the board? What does it show when you press 2 for identification? Did it succeed?
hey splash,
thanks for your answer! i think there is actually no spi connection to the TAPAS! do you know where i can find a test program for ccs to test the spi of the TAPAS (by connecting MOSI and MISO)?
Hello, You probably would need a Jtag adapter for connecting to the TAPAS board with CCS. I would try to do the search on the raspberry side.
I connected for example just the manditory PINS and for that I used the MCLKXA, MDXA, MDRA, CS_SW_1, 5V and GND pins from the Tapas board to the raspberry.
Good Luck! :)
hey splash,
thanks again! i have got a jtag programmer and i already tested the raspi spi with a test program (and it worked fine).
i put on the raspi connection to connect to the tapas and i tried all DIP-switches combinations. i guess the pins must be correct when i put the raspberry directly on the board (and according to the pinouts the assignment is right)
the raspberry pi python program (TAPASstart) doesn't seem to enter the while-loop in the identification mode. "while ((ret["flags"] & (1 << 5)) == 0):" never gets true. what does this flag show? or has anyone got a similar problem? thanks in advance!