STM32 MCUs Boards and hardware tools

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Good morning all, I have a board to test with n.4 L9026 in daisy chain, driven with a microcontroller STM32G0V1ET. Unfortunately there are no examples on ST website and I am not able to switch on outputs. Any idea?

 // Init L9026 // 00 CHIP_ID, default // 01 CFG0, output high side // W=1,ADD=1,DATA=00111111,P=0,FR=0 HAL_Delay(2); // Set CS lo on L9026 GPIOD->ODR&=(~0x02);   // PD1 = 0 data16=0b1000010011111100; SPI_Out_Buffer[0]=SPI_Out_Buffer[2]=SPI_Out_Buffer...

0693W00000QKjV8QAL.jpg
ECast.12 by Associate II
  • 385 Views
  • 1 replies
  • 0 kudos