Hexiwear_bluetooth IAR: TSI Failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hexiwear_bluetooth IAR: TSI Failure

484 Views
drechen
NXP Employee
NXP Employee

Hi,

I tried to compile the Hexiwear_bluetooth IAR project

What I've done:

  • Download KW40Z_Connectivity_Software_1.0.1
  • Download HEXIWEAR-SW
  • Replaced SDK files with files in KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0 with ..\KW40\SDK modifications 
  • Added HEXIWEAR_bluetooth folder (HEXIWEAR-SW)  to example folder ../KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth
  • Adapted argument variables: _KSDK_1_3_0_PATH_ and _KSDK_1_3_0_PATH_
  • build ..\KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0\lib\ksdk_freertos_lib\iar\KW40Z4
  • build ..\KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth\HEXIWEAR_bluetooth\frdmkw40z\FreeRTOS\build\iar

  

The build run deliveres the failure:

pastedImage_3.png

It is not surprising:

  • KW40 is specified with TSI=4
  • but in SDK 1.3.0 (fsl_tsi_v4_hal_specific.h) we have the definition:
    • typedef struct TsiConfig {
      tsi_electrode_osc_prescaler_t ps; /*!< Prescaler */
      tsi_external_osc_charge_current_t extchrg; /*!< Electrode charge current */
      tsi_reference_osc_charge_current_t refchrg; /*!< Reference charge current */
      tsi_n_consecutive_scans_t nscn; /*!< Number of scans. */
      tsi_analog_mode_select_t mode; /*!< TSI mode of operation. */
      tsi_oscilator_voltage_rails_t dvolt; /*!< Oscillator's voltage rails. */
      uint16_t thresh; /*!< High threshold. */
      uint16_t thresl; /*!< Low threshold. */
      }tsi_config_t;
  •  the initialization:
    • tsi_op_mode.config.serres = module->rom->module_params.tsi->config->serres;
      tsi_op_mode.config.filter = module->rom->module_params.tsi->config->filter;
    • don't fit

Question:

  • Is my preparation process to use the example code right?
  • Which SDK is necessary?
  • What is wrong?

Thank you very much for help in andvance

best regards Henry

Labels (1)
Tags (1)
0 Kudos
1 Reply

308 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Henry 

All the question about Hexiwear you can make a post on the Hexiwear forums on the following link:

http://www.hexiwear.com/forums/

Regards

Vicente Gomez

0 Kudos