The Workbench can only generate code for sensorless or quadrature/hall sensors. Can the controller be fed with position values (received via SPI for example) or is this not intended?My particular usecase is: The motor to be used has a BISS encoder an...
I'm developing a PMSM inverter for a motor that has a built in absolute encoder and I'd like to continue using this encoder instead of using sensorless or hall/quadrature schemes. Can I use the MC-SDK with a custom encoder (just feeding it with angle...
Posted on February 20, 2016 at 18:28Code is in the Attatchments.I'm trying to periodically send data over SPI and to receive data over USART. Sending over SPI w/ DMA works. But the USART DMA doesn't work. I can send whichever data I want, but the DM...
Posted on October 23, 2015 at 17:49Is there a way to use the USB stack of the F4Disco with DMA? I'd like to transfer some 100 bytes and then trigger an interrupt... At the moment I'm using UART with a USB-UART bridge for that.
Posted on October 17, 2015 at 11:07
I am currently trying to make DMA periodically pull data from memory (array ''buffer'') and push it to spi. When I manually call the SPI_Transmit function, it transmits something, the clock line shows up on my...
The sdk datasheet implies user-made encoder code. As the quadrature encoder code is _weak attributed, can I just override the getPosition methods?Would the delay disturb the controller?