STM32 MCUs Boards and hardware tools

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I am designing a high-performance line-following robot, and I would like to know if my schematic is correct?

I am designing a line-following robot that also avoids various obstacles (two digital infrared (IR) sensors), but I am a bit confused with my schematic since I am a beginner in electronics, and that is why I would like to know if my schematic is corr...

DPonz.1 by Associate
  • 2530 Views
  • 2 replies
  • 1 kudos

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
  • 454 Views
  • 1 replies
  • 0 kudos