Hello,
my application is based on MIMXRT1176 and uses Bluetooth (external chip) thru the SDK Zephyr bluetooth library (SDK version 2.13.1). The BT library uses CAAM by default, and everything is working perfectly, as far as BT is concerned.
The problem is that, my own application code needs to use mbedtls for some encryption and CERT operations. As soon as i use the (for example)
mbedtls_ctr_drbg_seed()
it would hang on CAAM_wait in the underlying CAAM driver .... i am guessing that, both BT and my code want to use jobring0, so there is a conflict. Indeed, is that is the case, i even should not need to initialise CAAM in my code, as this is alreday done in BT
Is there a clean way to allow 2 entities (among them a library, that i cannot modify) to use the same CAAM concurrently thru a high level API, like mbedtls ?
I must be missing something, as this sounds like a trivial and common use case, but I could not find any way of doing so far, neither some relevant instructions in the SDK doc.
Any help greatly appreciated,
Jacques