background image

 

 

30/55 

© 2022 ROHM Co., Ltd. 

No. 64UG118E Rev.002 

Feb.2022

 

User’s Guide 

1.4.3 

Registers – Tab 

 

If the device has an eligible internal register, the register editor tab can be used for reading and writing device register values (

Figure 52

).  

All the devices of the selected board, which have eligible registers can be selected from the “Device name” pull down menu. 

 

 

Figure 52. ROHM EVK GUI SW register editor tab 

 

NOTE

: When the device register is selected from the pull-down menu, the name of the tab will change to one of the following: 

 

<device name>. For example: KX132-1211. This means the Register editor was entered while the Streaming is not active. 

 

<device name> - MODIFYING STREAM. For example: KX132-1211 - MODIFYING STREAM. This means the Register editor was 

entered while the Streaming was enabled (

1.4.3.4 Stream modify mode

). 

 

NOTE

: When a new device in the register tab is opened, the register’s content shows the POR values of the registers as defined in the device 

datasheet. In order to see the current register’s values from the connected device,

 

press the Read All button to read all the registers at once or the 

Read button, to read the value of an individual register. 

 

1.4.3.1 

Updating register value 

 

The register editor provides an intuitive way to update the values of certain bits and entire registers. The register value can be modified by activating 

the desired field by the left mouse button and enter decimal or hexadecimal number. The register value also can be edited using with following 

keys; arrow up / arrow down will increase / decrease values by 1, and Page up / Down keys changes current value by 10. The Enter - key as well 

as Write button will write the value to the device. 

 

Single Bit Function 

When an individual bit defines a certain function, the value of the bit can be changed by checking / unchecking the check box (e.g., PC1 bit of the 

KX132-1211 that sets the part in operational or standby mode). When a selection is made, click on the Write button to write the setting to the device 

(

Figure 53

). 

 

 

Summary of Contents for RKX-EVK-001

Page 1: ...user guide describes the ROHM EVK SW For the ROHM EVK HW please refer to the ROHM EVK HW User s Guide Definitions ROHM EVK Provides the full range of software hardware and the firmware used for device evaluation purposes ROHM EVK SW Provides the full range of the software for device evaluation purposes consisting of ROHM EVK GUI SW and RKX EVK FW ROHM EVK GUI SW ROHM device evaluation softwarewith...

Page 2: ...tion Menu 11 1 3 4 Registers Menu 11 1 3 4 1 Load register configuration from file 12 1 3 4 2 Save registerconfiguration to file 12 1 3 4 3 Read all register values from IC 12 1 3 4 4 Write all register values to IC 12 1 3 4 5 Dump registervalues to file 12 1 3 4 6 Open register map definition 13 1 3 4 7 Verify write 13 1 3 5 Settings Menu 13 1 3 5 1 Auto Connect USB 13 1 3 5 2 Auto config and reg...

Page 3: ...1 6 1 No data pop up window 37 1 6 2 Streaming pop up window 37 1 6 3 ODR has not reached the target value pop up window 38 1 6 4 Wake up pop up window 38 1 7 Shortcuts 40 2 USBDriver 41 2 1 USB Driver Installation Procedure 41 3 Firmware 46 3 1 Firmware Update Procedure 46 4 Troubleshootingandknownissues 49 4 1 Communication Troubleshooting 49 4 1 1 RKX EVK 001 Communication Issues 49 4 1 1 1 Sta...

Page 4: ... be installed by downloading the latest installer file from the ROHM Semiconductor website https www rohm com support accelerometer evk support Before running the ROHM EVK GUI SW the necessary USB serial drivers must be installed if Windows does not install these drivers automatically See 2 USB Drive for details 1 2 2 Start with ROHM EVK GUI SW 1 2 2 1 When you connect RKX EVK 001 to a computer Pl...

Page 5: ...22 User s Guide Figure 2 ROHM application folder in the Start menu 2 Select a suitable board from the dropdown menu Figure 3 of the Connection status indicator or from the Board menu Figure 4 Figure 3 ROHM EVK GUI SW opening view Figure 4 Board Menu ...

Page 6: ...ction status is EVK disconnected ref Figure 8 NOTE In this example RKX EVK 001 ADC EVB are shown Figure 5 Board InformationTab 4 After the verification is done connect your device to the computer with a micro USB cable Figure 6 The ROHM EVK GUI SW connection status indicator will change to yellow EVK Connected state Figure 5 See alternative methods for EVB connection from Figure 89 Figure 6 Adevic...

Page 7: ...the Streaming button 1 2 2 2 Connection status indicator ROHM EVK GUI SW features a connection status indicator between the computer and ROHM EVK 001 Figure 8 1 When ROHM EVK GUI SW is launched the status indicator will appear as EVK Disconnected 2 When ROHM EVK 001 is connected to the computer with a micro USB the status will change to EVK Connected 3 After the Confirm board button is pressed the...

Page 8: ...example for accelerometers Select the board configuration from the Board menu 1 e g RKX EVK 001 Accelerometer EVB I2C Select the desired configuration stream for thecorresponding accelerometer sensor from the Stream menu 2 E g KX132 1211 ADPdata 1600Hz Band Pass 100Hz 200Hz with RMS NOTE I2C interface can be used for all digital sensors but the highest Output Data Rate ODR will be limited to 3400H...

Page 9: ... from the Board menu 1 e g RKX EVK 001 ADC EVB Select the desired configuration stream for thecorrespondingADC from the Stream menu 2 e g BU79100G ADC data VA 3 3V 10kSPS non inverted If the Please enable streaming to activate Plotter movement Pop up window appears on the screen enable data streaming with the Streaming button The plotter should now display real time output forADC Figure 11 ...

Page 10: ... is availableby hovering the mouse pointer on the menu items 1 3 1 File Menu Figure 12 File menu The File menu contains only the option to exit the application Selecting Exit will exit from the application 1 3 2 Data Menu Figure 13 Data Menu The Data menu contains the options related to acquiring the data 1 3 2 1 Streaming The streaming menu is used for enabling disabling device data streaming NOT...

Page 11: ...The Bluetooth connection Windows BLE is reserved for other host platforms supported by the ROHM EVK The ROHM EVK GUI SW uses USB COM connection by default When auto connect is enabled the USBconnection is establishedautomatically when the RKX EVK 001 is connected Figure 15 Connection Menu NOTE Changing connection may take a while please be patient NOTE Ifyou are havingconnection problems CTRL R ca...

Page 12: ...register values to IC Selecting this menu allows the user to write all of the current register values from the register editor to theIC 1 3 4 5 Dump register values to file Selecting this menu allows the user to save all of the current registervalues from the register editor to a file Figure 17 Figure 17 Partial Snapshot of theKX132 1211 Register Dump NOTE The default location to save the Register...

Page 13: ...verification of the written register values by reading the values from the ICafter write 1 3 5 Settings Menu The settings menu contains various connectivity and functionality settings Figure 19 Settings Menu 1 3 5 1 Auto Connect USB When Autoconnect is enabled everytime when ROHMEVKGUISWisstarted itwill automaticallyselecttheUSBCOMportfor theconnected device and connect to it 1 3 5 2 Auto config a...

Page 14: ...incertainmodes Itcanalso beusedto definehowdata is received or processed from other devices The list of streams is dynamic and will change according to the chosen board configurations 1 3 7 Board Menu Forexample ifthe RKX EVK 001 AccelerometerEVB SPI boardconfiguration is selectedfrom the Board menu the KXTJ3sensor will notbeshownintheStreammenubecauseitdoesnotsupportanSPIinterface However whenthe...

Page 15: ...the host adapter used and the communication interface protocol supported by the sensor that is being evaluated NOTE TheBoardmenulistseitherallsupportedboardconfigurationsforallsupported HostAdapters Figure23 oronlytherelevantones Figure 22 thataresupportedbytheHostAdaptercurrentlypluggedin e g CY8CKIT 059 RKX A3 EVK 001 thatcomeswiththeROHMEVKpackage by default The selection is done via the View m...

Page 16: ...output in sub channel view The Sub channel view is located on the right hand side panel and it is always visible when some device stream is activated This view is not shown if the current board configuration has no device streams The Sub channelview has acolumn forthedigital outputofeachsub channel whichcanbe enabledwiththe Digitaloutputin subchannel view submenu NOTE Available sub channel views a...

Page 17: ...with Sub Channel View and Digital Output Enabled It is possible to select which channels are enabled by pressing on the channel name For example for a default stream such as Accelerometer data50Hz 2ghigh performance of the KX132 1211 in ordertomonitortheaccelerometer s Zaxis only press onceonAccXandAccYto disable these channels The only remaining channel would beAccZ as shown in Figure 28 ...

Page 18: ...rence line When the Reference line is enabled the plotter shows an additional horizontal line that can help to compare the real time signal value against the referenced value Figure 30 The line can be dragged up down the plotter view by pressing and holding the left mouse button The present value of the Reference line position is also shown in the Status bar lower right corner of the window To ach...

Page 19: ...istsallsupported boardconfigurationsforallsupported HostAdapters or only the relevant ones that are supported by the HostAdapter currently plugged in 1 3 8 View Menu 1 3 8 5 Show ODR warning pop up window The ODR warning pop up window appears anytime the real time Output Data Rate ODR as measured by the ROHM EVK GUI SW is significantly different from the nominal ODR set in the Stream Figure 67 1 3...

Page 20: ... release notes text file where details of the version release are explained 1 3 9 3 About ROHM EVK The AboutROHMEVKGUISW helpmenushowsthecurrentROHMEVKGUISW sversioninformation Italsoshows thelinkwhere thelatest version can be downloaded from Figure 32 Figure 32 About ROHM EVK GUI SW 1 3 9 4 About Host Adapter Board The About HostAdapter Board help menu shows the current ROHM EVK HW and ROHM EVK F...

Page 21: ... the plotter s performance Pause pauses the plotter The shortcut P or left mouse button canalso be used for this Clear clears all data points from the plotter The shortcut C can also be used for this FFT turns on the Fast Fourier Transform FFT functionality of the plotter More information can be found in 1 4 1 6 Frequency analysis Data range this slider bar adjusts the amount of data points shown ...

Page 22: ...w and in the Digital Output view channel will be incorrect ForADC streaming inverted settings are available only when raw data is disabled Figure 37 ADC data in SI units V 1 4 1 2 Zooming You can zoom in and out using the mouse scroll button or the right mouse button CTRL NOTE When you perform zooming while Auto scaling is enabled the Plotter will terminate autoscaling In order to useAuto scaling ...

Page 23: ...ents 300Hz and 600Hz The plotter is configured to show only data for accelerometer Z axis AccZ with logarithmic scale on Y axis FFT data can be shown also from ADC Evaluation board data Example FFT data of a sine wave with a frequency of 200 Hz input to ADC Evaluation Board Figure 39 Also it is possible to change the x axis to a logarithmic scale and they axis to a dB scale Figure 40 NOTE The x ax...

Page 24: ...ure 41 In these examples the selected stream for the KX132 1211 sensor isADP data WUF BTS Detection 1600Hz Band pass 200Hz 400Hz with RMS TheAdvanced Data Path is configured to band pass filter topology with the signal bandwidth set from 200Hz to 400Hz From Figure 41 it can be seen that the bandpass filtered signal produces a 10dBattenuation at600Hz The outputis thenrouted tothe RMS engineand then...

Page 25: ...KX132 1211 with FFTfunctionality ADPchannel Ifthere is aneed to changethethresholdvalues then the properthresholdvalues canbeseenfromtheplotterviewandthen writtento thesensor using the register editor see 1 4 3 4Stream modify mode for details Figure 42 The plotter view withADP WUF data stream ...

Page 26: ... start a new calibration by clicking the start button and by executing following steps while streaming is active NOTE IfROHMEVKGUISWdetectsthatcalibration hasbeen doneonthe samecalibrationpositiontwicein a row the Calibration Errorwindow will appear and the user will be required to restart the calibration procedure from the 1st calibration procedure Figure 44 Figure 44 Angle Calibration Error Mess...

Page 27: ...2 Click Next and hold the device still until the diagram changes to the 2nd position Figure 46 The last current value for position 1 is nowstored and shown in the 2nd table Figure 46 Angle Calibration Position 2 3 Click Next and hold the device still until the diagram changes to the 3rd position Figure 47 ...

Page 28: ...position Figure 48 Figure 48 Angle Calibration Position 4 After the 4th calibration position is finished the orientation figure returns to the 1st position The Inclinometer calibrated status will appear in the rightcorner of the status bar Figure 49 and a small desktop notification message will appear for a few seconds to indicate that the calibration procedure is done Figure 50 ...

Page 29: ...ndividual json file that can be loaded next time the ROHM EVK GUI SW restarts These calibration parameters will nowbe used for angle calculations The plotter view now shows theAccelerometer X Y Z acceleration data stream as well as the angle stream The default units for angle values are radians To display the angle information in degrees click on the Raw data button located above the plotter view ...

Page 30: ...er s content shows the POR values of the registers as defined in the device datasheet In order to see the current register s values from the connected device press the ReadAll button to read all the registers atonce or the Read button to read the value of an individual register 1 4 3 1 Updating register value Theregistereditorprovidesanintuitivewaytoupdatethevaluesofcertainbitsandentireregisters T...

Page 31: ...rdertochangethevalue theuser can simply enter the value either as a decimal or as a hex value the hex format is 0xFF and press the Enter key Once the value is written the value fieldoftheregistergetsupdatedwith thenewvalue Itispossibletoreadthevalueback Also if the Eventsviewpanel functionisenabled in the View menu 1 3 8 2 Events view panel the write information will be shown in the events window ...

Page 32: ...DP_F1_BAis updated from a single 8 bit register The user has the ability to update the entire 23 bit value through writeto theADP_CNTL4 register that stores the lowest 8 bits of the 23 bit value NOTE The one byte register will always show the full value in the bit field However the 8 bit register value field will show the actual 8 bit value of the register 1 4 3 2 Register sets The listof register...

Page 33: ...e protocol Documents ROHM_EVK_v3 ROHM EVK GUI Configuration stream_config board_05SENSORS_8_RKX EVK 001_i2c_0 Documents ROHM_EVK_v3 ROHM EVK GUI Configuration stream_config board_05SENSORS_8_RKX EVK 001_spi_1 The custom register set files can be created and stored in the dedicated user folder where they will be loaded together with the default register sets Documents ROHM_EVK_v3 ROHM EVK GUI Senso...

Page 34: ...the polling feature has an auto stop checkbox which stops the registerpolling as soon as the value of any of the registers in the register set changes The register polling continues when the Start button is pressed again The below example shows how to monitor Wake Up Back to Sleep detection Select sensor KX132 1211 from Device Name pull down menu Select set WU BTS Settings register set from the Se...

Page 35: ...ream modify mode When the Register editor tab is selected while Streaming is enabled the register editor will enter into a data stream modify mode as indicated by the name of the Registers tab e g KX132 1211 MODIFYING STREAM Figure 62 This mode offers the user a way to change the registers which will have an effect on the data stream itself When the desired register changes have been made and the ...

Page 36: ...onfiguration will be written to the device NOTE When a full scale range of the device is changed e g g range of the KX132 1211 accelerometer the SI units m s 2 will not be shown correctly in the plotter view and the Digital Output sub channel view 1 4 1 1 Raw data The counts value is not affected NOTE When registers have beenchanged MODIFIED text will be shown after thestream name in the Plotter V...

Page 37: ...lculated when ROHM EVK GUI SW receives the data from the used connection layer 1 6 User Interface Pop up windows The application makes use of pop up windows to notify the user about important actions This section provides detailed information about pop up windows 1 6 1 No data pop up window Nodatareceived pop upwindow Figure65 appearswhenstreaminghasbeenstarted butnodataisreceived Theproblemcouldb...

Page 38: ...ified through the Stream Modify Mode 1 4 3 4 Stream modify mode Figure 68 Real time ODR is significantly different than the nominal ODR 1 6 4 Wake up pop up window Figure 69 Wake Up Interrupt pop up window The Wake up pop up window Figure 69 appears for selected wake up back to sleep event detection streams Figure 20 When a wake up event is detected the pop up window is displayed in the plotter Fi...

Page 39: ...39 55 2022 ROHM Co Ltd No 64UG118E Rev 002 Feb 2022 User s Guide Figure 70 The plotter view with wake up triggered ...

Page 40: ...nection is established CTRL E Show events view CTRL D Show digital output in sub channel view works only ifsubchannel view is enabled C Clears the current points in plotter view CTRL B Show all boardconfiguration CTRL O Show ODR warning pop up window G Shows the grid in the plotter P Pause plotter CTRL W Hide show wake up interrupt pop up window SHIFT L Hide show reference line CTRL SHIFT D Regist...

Page 41: ...sions are not able to automatically find the CDC ACM driver and the user will need to install the signed release inf file as described in 2 1 USB Driver Installation Procedure 2 1 USB Driver Installation Procedure 1 Following the installation of the ROHM EVK software locate the folder cdc_acm_driver on the computer in the following location Documents ROHM_EVK_v3 ROHM EVK Firmware Windows dependenc...

Page 42: ...ger where you should find the Evaluation Kit Infineon Figure 72 Figure 72 Device Manager View 4 Right click the Evaluation Kit Infineon item and choose Update Driver Software Anew window should open Select Browse my computer for driver software Figure 73 Figure 73 Update Driver Software 1 ...

Page 43: ...v 002 Feb 2022 User s Guide 5 Select Let me pick from a list of device drivers on my computer Figure 74 Figure 74 Update Driver Software 2 6 Choose Next the selection in thelist does not matter Figure 75 Figure 75 Update Driver Software 3 ...

Page 44: ... 76 Figure 76 Update Driver Software 4 8 The installer should install required files If this kind of a pop up window Figure 77 appears please proceed forward by selecting OK You will be returned to an older pop up window where youshouldselect Next Figure 78 Figure 77 Update Driver Software 5 ...

Page 45: ... 002 Feb 2022 User s Guide Figure 78 Update Driver Software 6 9 Windows will promptyou to install the driver please select Install Figure 79 Figure 79 Update Driver Software 7 10 Finally please wait until the driver installation is complete ...

Page 46: ... Infineon s account from Infineon s website https softwaretools infineon com tools com ifx tb tool psocprogrammer 2 Following the installation of the ROHM EVK software locate the folder Infineon PSoC on thecomputer in the following location Documents ROHM_EVK_v3 ROHM EVK Firmware CY8CKIT 59 and verify the presence of a ROHM EVK Firmware file with the extension hex 3 Connect the CY8CKIT 059 Prototy...

Page 47: ... communication firmware on the kit does not match what is installed with the release of the PSoC Programmer click the OK button to navigate to the Utilities tab in the PSoC Programmer andclicktheUpgradeFirmwarebutton Figure82 Whenthefirmwareupgradeiscompleted gobacktotheProgrammer tab and proceed to the next step Figure 82 Programmer FirmwareUpdate 5 Next selectthe firmware hex file mentionedin th...

Page 48: ...rogram or by pressing the F5 key Figure 81 If the programming was successful the Programming Succeeded message will appear in the Results window Figure 83 Figure 83 Firmware Upgrade Success Message 7 You are now ready to use CY8CKIT 059 Prototyping Kit with the ROHM EVK GUI SW ...

Page 49: ...es The communication between the ROHM EVK GUI SW and RXK EVK 001 may not work for several reasons The issue can be related to hardware software or both The following steps can be used as a guidance to troubleshoot such issues 4 1 1 1 Status EVK Disconnected in ROHM EVK GUI SW Status Bar Figure 84 Status Bar Disconnected This status means that the ROHM EVK GUI is not connected to the host adapter b...

Page 50: ...EVK FW See 3 1 Firmware Update Procedure fordetails If the blue LED1 CY8CKIT 059 is turned OFF please try the following Check that the micro USB cable is securely connected to the CY8CKIT 059 Prototyping Kit and to the USB port on the PC Figure 71 Connect to a different USB port on the PC Replace the micro USB cable witha new high quality USB certified cable 2 The green LED1 Figure 85 If the green...

Page 51: ...K GUI SW and the SW4 in the incorrect position the Help menu item 1 3 9 4 About Host Adapter Board wouldstillworkproperlybecausetheinformationaboutthehostadapterfirmwareisreadoutfromtheCY8CKIT 059PrototypingKit notthesensor 9 The orange LED2 is ON Check if the Stream selectedcorresponds to the sensor being tested 1 3 6 Stream Menu NOTE The ROHM EVK GUI SW does not check the value of the WHO AM I r...

Page 52: ...d board_04ADC_10_RKX EVK 001_spi_0 does not support the protocol version 2 0 of the firmware Supported protocol versions in board config 2 4 3 1 4 3 ODR accuracy and Timestamping ROHM EVK GUI SW timestamping is done on a PC and it is not accurate with high ODRs This influences the delta time statistics The real time ODR shown in the ROHM EVK GUI SW may show fluctuating and be off the nominal ODR v...

Page 53: ...ted Please run the Windows update or install the required Net version manually to resolve the issue Figure 87 AWindows error message example which indicates that Windows NETinstallation is out of date 4 5 Desktop shortcuts may not work properly Sometimes after installation the desktop shortcuts will not work To overcome this please uninstall and reinstall the application again to a different desti...

Page 54: ...J15 Infineon CY8CKIT 059 compatible header 5 SW1 VDD_SENSOR select switch VBUS or VR1_OUT 16 J14 Infineon CY8CKIT 059 compatible header 6 J7 R64 VDD_Sensor current measurement header bypass 17 J4 Arduino UNO R3 CompatibleDigital Header bottom mount 7 SW3 IO_VDD Select switch VDD_SENSOR of VR2_OUT 18 J6 ROHM EVK EVB compatible header 8 SW2 7 position rotary switch to configure VR1_OUTvoltage 1 3 3V...

Page 55: ...55 55 2022 ROHM Co Ltd No 64UG118E Rev 002 Feb 2022 User s Guide 5 2 Interface with ROHM EVK EVB Figure 89 Interface with ROHM EVK EVB ...

Page 56: ...uch technical information The Products specified in this document are not designed to be radiation tolerant For use of our Products in applications requiring a high degree of reliability as exemplified below please contact and consult with a ROHM representative transportation equipment i e cars ships trains primary communication equipment traffic lights fire crime prevention safety equipment medic...

Reviews: