I have an optimized SPI Slave DMA setup which is driven by the chip select interrupt. It looks something like: int main(void)
{
// Initialize SPI SLAVE, SPI_DATASIZE_8BIT, SPI_DIRECTION_2LINES
HAL_SPI_TransmitReceive_DMA(hspi, (uint8_t *)&spi...
I have a stm32f4 nucleo board. Under Windows, I started a project using CubeMX and did a bunch of development. Everything was working as expected.I then moved to Linux (Ubuntu 19.04), and the device just started hard faulting constantly:(gdb) bt
#0 ...
> I didn't quite get it. Do you mean that the hard faulting seems to depend on whether there is Linux or Windows on the other end of USB?Correct. I'm currently duel booting windows / linux. If I reboot from Windows -> Linux (and change nothing else) ...