AX58100

More
1 year 11 months ago #315724 by SOLD
Replied by SOLD on topic AX58100

With the use of SOES github.com/OpenEtherCATsociety/SOES there is no difference for me as a programmer.
There is a tiny difference in how to reset the ESC chip, LAN9252 can be reset by writing over SPI, AX58100 need a pin to go low.
Ax58100 also has a pin for a led that indicates successful read of the eeprom. Pretty useless but has been nice diagnostics when starting up the board.
Other than that one can consider them identical.
I have seen someone state that the AX58100 is faster than the LAN9252. I can not see that, I haven't been in a situation where I can identify the ESC speed as a factor, on individual usec level.
If so, I will try LAN9252 on the next board.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #315725 by SOLD
Replied by SOLD on topic AX58100
I just received a new PCB that I designed based on an AXIS sample project. It is a CIA402 test board.
According to the AXIS manual, it uses an STM32H745, which has 2 cores, both H7 and H4, and is expensive. I saw that all the configuration examples only use the H4 core, so I designed another STM32H723 as an alternative. It has a single core, the H7. It costs almost the same as the F407, which is much cheaper than the H745.

When I finish building the PCB, I hope to compile the files successfully with the knowledge I have gained from Hakan.
The following user(s) said Thank You: tommylight, besriworld, COFHAL, endian

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #315762 by COFHAL
Replied by COFHAL on topic AX58100
Have you been able to get the encoder to work?

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #315763 by SOLD
Replied by SOLD on topic AX58100

Have you been able to get the encoder to work?
I haven't tested that part yet, in fact I'm waiting for you to finish so I can copy it.image missing /media/kunena/emoticons/tongue.png

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #315774 by Hakan
Replied by Hakan on topic AX58100
@COFHAL: You didn't get it to work? I'll try to connect up one as I haven't tested it on this board. It may take a few days though.

@SOLD: Where do you need that extra speed in the Ethercat client? Anyways, it should work with the existing soes library. Check SPI settings, reset line pin, and the SYNC0 pin.
The following user(s) said Thank You: besriworld, SOLD

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #315778 by Hakan
Replied by Hakan on topic AX58100
Well, I had it right here on the table.
Add encoder_config() to setup() like this

Code:
// Compute this scale factor only once input_freq = FrequencyTimer->getTimerClkFreq() / FrequencyTimer->getPrescaleFactor(); encoder_config(); // Needed by encoder, possibly breaks some timers. ecat_slv_init(&config); attachInterrupt(digitalPinToInterrupt(PC0), globalInt, RISING); // For testing, should go into Enable_interrupt later on }

Also, in the call to the constructor, change the Index_Z pin to PA3 according to the schematics. I didn't check that, leave it to you to check that the callback is triggered when the encoder passes the index slot
Code:
MyEncoder Encoder1(TIM2, PA3, indexPulseEncoderCB1);
Last edit: 1 year 10 months ago by Hakan. Reason: Fighting the editor
The following user(s) said Thank You: COFHAL, SOLD

Please Log in or Create an account to join the conversation.

Time to create page: 0.495 seconds
Powered by Kunena Forum