访问BD地址ss using 8bit-wide( uint8_t * )

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Jun-ichi Tobe
Offline
Last seen:4 months 3 weeks ago
加入:2016-04-01 10:39
访问BD地址ss using 8bit-wide( uint8_t * )

Hello support team!

In order to send the BD address information to the host microcomputer,
I am reading register information from BLE_BDADDRL_REG.

In that case,
if I access with 8bit-wide (uint8_t *), a hard fault may occur.
On the other hand, It seems that there is no problem with access with uint16_t *, uint32_t *.

When accessing the BD address, is there a bit width limitation?
Is accessing 8 bits (uint 8 _ t *) the correct way?
Or is it accessing with uint16_t * or uint32_t * correctly?

The reason for accessing uint8_t * is because I want to transfer it to the SPI connected host microcomputer.
I want to transfer with pointers of byte array.

When I access with uint8_t *, it may be able to transfer normally.
For example, a hard fault occurs when accessing immediately after startup (timing when advertisement is started).
After SPI communication has started, I can access with uint8_t * without any problems.

Best regards,

Jun

Device:
PM_Dialog
Offline
Last seen:1 day 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Jun-ichi Tobe,

Hi Jun-ichi Tobe,

I will get contact with you directly.

谢谢,PM_DIalog