Announcements

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Laldin
Employee
Employee
First reply posted First question asked Welcome!

Hi, 

 

So I am currently writing firmware to interface Traveo board (using SDL) with the BGT60TR13C radar. However I am unable to detect the sensor, as the chip id returned is not correct. 

 

According to dataset CHIP ID is : 

Laldin_0-1696831670759.png

This is my code to read the chip_id : 

uint32_t chipid;
if (XENSIV_BGT60TRXX_STATUS_OK == status)
{
status = xensiv_bgt60trxx_get_reg(dev, XENSIV_BGT60TRXX_REG_CHIP_ID, &chipid);
}

if (XENSIV_BGT60TRXX_STATUS_OK == status)
{
xensiv_bgt60trxx_device_t device_type = detect_device_type(chipid);
if (device_type != XENSIV_DEVICE_UNKNOWN)
{
dev->type = &bgt60trxx_types[device_type];
}
else
{
dev->type = NULL;
status = XENSIV_BGT60TRXX_STATUS_DEV_ERROR;
}
}

return status;
}

This chipid being returned is 

Laldin_1-1696831897250.png

This results in the device not being detected correctly. 

 

Also, the CHIP_ID changes for every build. 

Kindly suggest how this can be solved. Thanks!

 

0 Likes
1 Solution
Pugitha_N
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 50 solutions authored

Hello @Laldin,

Would you be able to read the Digital ID and RF ID and update me on their respective values?

If the values for both parameters return as 3, then it is an indication that you are connected to BGT60TR13C.

Best Regards,

Pugitha

View solution in original post

0 Likes
5 Replies
Pugitha_N
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 50 solutions authored

Hello @Laldin,

Can you provide me with information on the value assigned to XENSIV_BGT60TRXX_REG_CHIP_ID?

Best Regards,

Pugitha

0 Likes
Laldin
Employee
Employee
First reply posted First question asked Welcome!

Hi Pugitha

Here it is defined as a macro

#define XENSIV_BGT60TRXX_REG_CHIP_ID                (0x02U) /*!< CHIP_ID: addr */

 

0 Likes
Pugitha_N
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 50 solutions authored

Hello @Laldin,

Would you be able to read the Digital ID and RF ID and update me on their respective values?

If the values for both parameters return as 3, then it is an indication that you are connected to BGT60TR13C.

Best Regards,

Pugitha

0 Likes
Laldin
Employee
Employee
First reply posted First question asked Welcome!

Hi Pugitha, 

 

Laldin_0-1696912631302.png

 

These are the value for the parameters. Also these values changes for each run. 

Thanks,

Laldin

0 Likes
Pugitha_N
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 50 solutions authored

Hello @Laldin,

Can you kindly provide us with the file for your program?

Best Regards,

Pugitha

0 Likes