I built a project from within TouchGFX and clicked the Run on Target button. Unfortunately, I forgot to plug STLink into my target board so programming failed. I connected STLink and clicked the Run on Target button again and it went and compiled ALL...
I am simply trying to read a few bytes from an I2C memory device using the following code: uint8_t buff[ 4 ];
HAL_I2C_Mem_Read( &hi2c1, ( uint16_t )( 80 << 1 ), 0, I2C_MEMADD_SIZE_16BIT, buff, 4, 10 );However, when I look at the output on the ...
Please remove the Edit Warning form when clicking Okay on the Edit User Constant form, it is not needed as you know you have just edited a constant.Andy
PLEASE PLEASE PLEASE Ditch STM32CubeMX version 5.This is the Worst software I have ever has the misfortune to use.Previous versions were bad but I would happily go back now I see how bad V5 is.AndyP.S. Your forum software is only marginally better th...
Posted on April 15, 2018 at 23:27I am following the example code found here to send and receive CAN messages:STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Examples\CAN\CAN_Networking\SrcI can happily receive CAN messages but when I call the followi...
Thanks for your comments however, the pins are initialised using STM32CubeMX generated code: /**I2C1 GPIO Configuration
PB8 ------> I2C1_SCL
PB9 ------> I2C1_SDA
*/
GPIO_InitStruct.Pin = EEPROM_SCL_Pin|EEPROM_SDA_Pin;
G...
If you know what terminal emulation you have configured then you can look up the appropriate escape sequence.i.e. VT52/VT100 you can send Esc[2J i.e. printf( "\x1B[2J" );.Andy
There are plenty of options:There are lots of boards out there that allow USB to I2C - something akin to the Bus Pirate board.Use a small micro to program it (using a UART to send the bytes to the programming micro which then does the I2C protocol to...