Hi i m coding function to write 8 bit data to a slave device, what does the (byte & 0x01) do in the for loop and what does the shift right statement ( byte = byte >> 1;) do ? void write8bit(uint8_t byte)
{
int i;
for (i = 0; i<8; i++)
{
lowClk()...
Hi I m aware FDCAN can be configured to work in class CAN 2.0 mode, could anyone advise how to configure this in the ioc? i.e. frame formate, mode , Time seg .... etc Thx
Hello i encountered this error on F072 nucleo board, it was working fine yesterday and todayit couldnt connect up to STM IDE, whats coursing this and how to overcome this issue?Error in initializing ST-LINK device. Reason: No device found on target
Hi i encounter this error while compiling SPI1 at ST7735.h, i dont understand as this error 'SPI_HandleTypeDef' type was generated by .ioc in main.c already and i had call this statement in ST7735.h. Could anyone kindly help? error: unknown type name...
Hi I m using F072 Nucleo bd, and compiler report the following errors but there was no syntax error from the code, can anyone advise?22:08:09 **** Incremental Build of configuration Debug for project F072_GPS_ NEO-6M_i2c_LCD_16x2 ****make -j8 allarm-...
Hello... can anyone advise? I had already a working code based on FD-CAN in H7 platform, now i need to use classic CAN 2.0 but how to convert these parameters into FD-CAN classic mode 2.0 parameters i.e. frame format, mode , Time seg .... etc these ...