You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 16 MHz quartz oscillator for the CLK on the breakout board as well as all SPI pins connected correctly. The TMC429 is connected in the 3,3V operating mode.
When using the “TestConnection” example that comes with the library i get this:
It is always the same and not changing. I tried the same setup with an Arduino mega (in 3,3V and 5V mode) and I got the expected result.
I tried a bunch of things both hardware and software. I reduced the SPI transfer speed in the library and used level shifter(and some more things) but I can't get it to work.
When trying to fix the problem i took pictures of the entire communication for the “communication sketch” (tmc429.communicating()).
This one is for the working Version on the arduino mega.
and this one is a non-working exchange with C33.
Yellow --> Chip Select
Green --> Serial Clock
Blue --> COPI (MOSI)
Red --> CIPO (MISO)
On a side note: on the bottom of the picture is the decoded SPI data. I could not get it to work for the C33 Version even with adjusting the thresholds. (Also sorry for the white background, i only noticed that afterwards)
Any ideas what else i could try. (i am still waiting for higher frequency oscillator).
The text was updated successfully, but these errors were encountered:
That is frustrating, but interesting. I do not know why the portenta SPI would behave so differently. It is very strange that the MOSI line would be changing before the clock. I can see it changing once to put it into the proper initial condition, depending on the SPI mode, but changing twice seems suspicious.
I have never used the portenta, but I suspect it might be some issue with how you are using their SPI library. I am not sure what could be in this library to cause such a problem, but perhaps.
It would be great to figure out how to make this work, but right now I do not have many ideas other than reading about potential issues with portenta SPI.
I still think it has something to do with the 3.3V operation mode. I just noticed that in these screenshots the IC is still in 5V mode (MISO response is up to 5V). I currently don't have access to an oscilloscope. When i get the time to test that i will give updates, but since i have deadline, will switch to a different µC.
Hello,
I am trying to use an arduino pro portenta c33 with 2 TMC429.
Currently i am only trying to get the TMC429 on a breakout board(specifically the TMC429-BOB https://www.analog.com/media/en/technical-documentation/user-guides/tmc429-bob-user-manual.pdf) to communicate with the C33.
I have a 16 MHz quartz oscillator for the CLK on the breakout board as well as all SPI pins connected correctly. The TMC429 is connected in the 3,3V operating mode.
When using the “TestConnection” example that comes with the library i get this:
It is always the same and not changing. I tried the same setup with an Arduino mega (in 3,3V and 5V mode) and I got the expected result.
I tried a bunch of things both hardware and software. I reduced the SPI transfer speed in the library and used level shifter(and some more things) but I can't get it to work.
When trying to fix the problem i took pictures of the entire communication for the “communication sketch” (tmc429.communicating()).
This one is for the working Version on the arduino mega.
and this one is a non-working exchange with C33.
Yellow --> Chip Select
Green --> Serial Clock
Blue --> COPI (MOSI)
Red --> CIPO (MISO)
On a side note: on the bottom of the picture is the decoded SPI data. I could not get it to work for the C33 Version even with adjusting the thresholds. (Also sorry for the white background, i only noticed that afterwards)
Any ideas what else i could try. (i am still waiting for higher frequency oscillator).
The text was updated successfully, but these errors were encountered: