Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22436

LP-MSPM0L2228: When using Display_printf the string sometimes outputs discontinuously

$
0
0
Part Number: LP-MSPM0L2228

Tool/software:

Hi,


I am currently using the i2c_target example on the LP-MSPM0L2228, and I am trying to apply the I2C target own address alternate feature.

It was found that when using Display_printf, the string sometimes outputs discontinuously in i2cTargetCallback function, as shown in the reference image below.

However, the Display_printf in the mainThread function doesn't have this issue. Does anyone know the reason for this? thanks.

staticint_fast16_ti2cTargetCallback(
I2CTarget_Handle handle, I2CTarget_Event event, uint8_t *val)
{
    /* Omit certain parts */
    uint32_t test_val = 0x12;
    Display_printf(display, 0, 0, "Display printf test: %0x\n", test_val);

    return retCode;
}

Viewing all articles
Browse latest Browse all 22436

Trending Articles