Pressure Sensors Forum Discussions
Dear,
i have couple of question on pressure sensor KP264 and usage of Diag1\Diag2 .
1- The Diag1 and Diag2 test shall be triggered at start-up or after start-up by means of Diag SPI commands ?
2- The use case UC2 in the safety manual mention a tsafety= 1ms. Does it means that the pressure measurement is available 1ms after the Acquire pressure SPI command? (So opposite to the UC1 where the system shall wait 5 ms before reading the response of a Pressure SPI command).
Show LessHi, I have a KP466 sensor on our boards. It is a shared SPI bus with one CS going to the KP466 and another CS going to a CAN controller. The CAN controller works fine. I have the Vprog line tied to ground as I'm leaving it with the default settings.
Code to read 10-bit pressure:
GPIO_PinOutClear(PRESS_CS_PORT, PRESS_CS_PIN);
vTaskDelay(10);
SPIDRV_MTransferB(sl_spidrv_usart_SPI_handle, tx_val, rx_val, 2);
GPIO_PinOutSet(PRESS_CS_PORT, PRESS_CS_PIN);
vTaskDelay(1000);
GPIO_PinOutClear(PRESS_CS_PORT, PRESS_CS_PIN);
vTaskDelay(10);
SPIDRV_MTransferB(sl_spidrv_usart_SPI_handle, tx_val, rx_val, 2);
GPIO_PinOutSet(PRESS_CS_PORT, PRESS_CS_PIN);
vTaskDelay(10);
uint8_t err = rx_val[0];
err >>= 3;
uint16_t press_raw = rx_val[0] << 8;
press_raw |= rx_val[1];
press_raw &= 0x07FF;
press_raw >>= 1;
There 5-bit error code is not matching documentation, it's consistently 0b10101. The raw 16-bit value returned is 0xa97a.
Furthermore, if I try to read a 10-bit temperature with 0x4000 I always get 0x8000 back. Any help would be much appreciated!
We bought SP4X_DEV_KIT. I am trying to communicate with SP400-15-11 sensor and CC1101 SubGHz transceiver. I can see it's broadcasting on 433MHz. But i can't see the data packets the SP40 is sending.
There is very little information about SP40.
I use CC-Debugger with CC1101 and SmartRF Studio 7.0 from TI. I am sharing my SmartRF Studio 7.0 setting parameters in the attachment.
Which parameters is wrong? How can I build communication CC1101 with SP40?
Show LessHello,
I'm currently using your S2GOPRESSUREDPS368TOBO1 module integrating the DPS368 pressure sensor. Today I received the order for 5 modules, and I noticed something strange on the DPS368 sensor: the metal part on top is detached. .... Is this sensor fragile, or does this problem stem from the delivery conditions? Because in my application there are vibrations, and if your sensor is fragile, this will cause a problem.
Please find attached 2 photos showing the problem encountered.
Hello,
I hope you are well
How many mechanical shocks (in g) does the DPS368 sensor support?
Thanks in advance
I registered on MyICP, but I can't find any example code to use in the SP40 DevKit. Where can I find?
I buy IFX demo KIT_XMC_2GO_XMC1100_V1 + KIT_DPS310_2GO *3PCS
I watch the XMC 2Go One-cl ick Setup Wizard , use the IFX tool SES2G, but other errors can't stop the sensor hub.
Instructions
1. Connect the XMC 2Go sensor, equipped with a DPS sensor, with your computer, via Micro USB cable.
2. Open the XMC2GoSetupWizard.exe to run the application.
3. The Setup Wizard will then detect whether or not you have installed the Segger J-Link drivers.
4. In case the drivers are not installed in your machine, the Setup Wizard will open the J-Link driver installer. Click 'Next' on every step of this installer and then click finish once the installation is done. Then the program will automatically move to step 5.
5. If J-link drivers are already installed this step will be executed instead of number 4. Here, the Setup Wizard will flash the XMC 2 Go board with Infineon’s firmware. The latter will act as a communication medium, between the DPS and the SES, our graphical interface for sensor data.
2PCS demo kit failure log
22:51:49.429 13.07.2023 INFO Opened log file: 'C:\Users\Jeremy\SenHub\sensor.evaluation.log'.
22:51:53.532 13.07.2023 INFO Connected Cable Device COM1 - JLink CDC UART Port (COM1)
22:51:53.563 13.07.2023 INFO Host: stop
22:51:54.569 13.07.2023 INFO Host: stop
22:51:55.570 13.07.2023 ERROR Couldn't stop sensorhub.
OK log
22:52:32.472 13.07.2023 INFO Opened log file: 'C:\Users\Jeremy\SenHub\sensor.evaluation.log'.
22:52:36.094 13.07.2023 INFO Connected Cable Device COM2 - JLink CDC UART Port (COM2)
22:52:36.122 13.07.2023 INFO Host: stop
22:52:36.212 13.07.2023 INFO Host: hello
22:52:36.558 13.07.2023 INFO Host: info
22:52:36.621 13.07.2023 INFO Host: sinfo id=1
22:52:36.713 13.07.2023 INFO Host: registers
22:52:36.751 13.07.2023 INFO Host: modes
22:52:36.780 13.07.2023 INFO Host: mode id=0
22:52:36.823 13.07.2023 INFO Host: mode id=1
22:52:36.855 13.07.2023 INFO Host: mode id=2
22:52:36.886 13.07.2023 INFO Host: mode id=3
22:52:36.917 13.07.2023 INFO Host: mode id=4
22:52:36.949 13.07.2023 INFO Host: mode id=5
22:52:36.980 13.07.2023 INFO Host: mode id=6
22:52:37.011 13.07.2023 INFO Host: get_all_modes
22:52:37.053 13.07.2023 INFO 1 mode cmd
22:52:37.053 13.07.2023 INFO 1 prs_mr 8.00
22:52:37.053 13.07.2023 INFO 1 prs_osr 8
22:52:37.053 13.07.2023 INFO 1 temp_mr 8.00
22:52:37.053 13.07.2023 INFO 1 temp_osr 1
22:52:37.053 13.07.2023 INFO 1 offs 0
22:52:37.053 13.07.2023 INFO 1 sl 1013.25
22:52:37.067 13.07.2023 INFO Host: start
22:52:37.099 13.07.2023 INFO Changed 'Mode' in Sensor Settings. NewValue='cmd' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Pressure Measurement Rate' in Sensor Settings. NewValue='8.00' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Pressure Oversampling Rate' in Sensor Settings. NewValue='8' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Temperature Measurement Rate' in Sensor Settings. NewValue='8.00' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Temperature Oversampling Rate' in Sensor Settings. NewValue='1' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Offset Compensation' in Sensor Settings. NewValue='0' Previous Value=''.
22:52:37.100 13.07.2023 INFO Changed 'Sea Level Pressure' in Sensor Settings. NewValue='1013.25' Previous Value=''.
22:52:37.113 13.07.2023 INFO Host: get_all_modes
Show Less