2 years ago
Accessing BD address using 8bit-wide( uint8_t * )
Posted byJun-ichi Tobe0 points 1 replyHello 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
2 years ago
Hi Jun-ichi Tobe,
I will get contact with you directly.
Thanks, PM_DIalog