Interesting. Money talks, money walks, and we all ask questions. Yes, I know, I always come across negative.
Renesas is inferior to pretty much any other MCU in that class, but very recently the Japanese invested $10MM in Arduino, and got one of their top executives (VP) join Arduino’s board of directors, so I guess they are buying their way into the game. Whatever.
Sure, I’m interested in trying it out. What do we do?
I finally managed to order them - both the R4 Minima and the R4 WiFi - after their site was down all day yesterday… I guess people really want those new UNOs
I also have the Portenta C33 sitting on my desk, another Renesas MCU.
So I’ll check out the Arduino Framework for these chips this weekend, and write a PWM driver for them so we can test them out. We have to hope the boards pins are configured in a way that lets us do 6-PWM, assuming the MCU’s timers support it. I have yet to check into it.
I really agree with this. Lets see how the MCU is, but if it performs well and they gave us enough PWM and analog pins, then I think especially the WiFI model could be an excellent platform for experimenting with the SimpleFOC shield.
So I took a look over the UNO R4 datasheet, and it looks like not only does the chip have good motor control features, but the Arduino folks also kindly routed out a bunch of PWM pins we can use. It looks like it will be compatible with the SimpleFOC shield
Yes, I would assume it’s more, not sure if you can use them via Arduino’s APIs though.
Certainly for the PWM pins it’s far more than they indicated. I think they mainly implement those pins that the original UNO had, that’s what they define as “Arduino”
You’re right, the low side sensing is not implemented for Renesas MCU.
The performance of the R4 wasn’t quite as good as we were hoping
So at the moment I haven’t got it on my schedule to implement the Renesas current sensing. If someone wanted to make the attempt, it looks like it would allow for quite a good low side setup, using the timer event system, DMA, etc…
The UNO R4 WiFi and the UNO R4 Minima have the same MCU by Renesas. The ESP32 on the R4 WiFi only supports its WiFi function. Normally you don’t program that directly.