AnsweredAssumed Answered

i have two  SPC5 I2C Driver problem  and The SPC5studio IDE problem

Question asked by guo qiang on Jun 26, 2017
Latest reply on Jun 28, 2017 by Erwan Y

question 1:

i2c_result_t i2c_lld_write(uint8_t dev_addr, uint16_t reg_addr,uint8_t *data, uint8_t ndata_bytes)


  /* Check for valid address */
   if ((dev_addr < 8U) || (dev_addr > 119U))




Why is the slave address between 8-119? Is this slave address 7bit or 8bit?

question 2:

My project uses FreeRTOS, each time the code generated, the macro configUSE_TIMERS will automatically become 0. And the Makefile in the compiler parameters will automatically become -O2. Each modification is very troublesome, how can I do?