Replies: 6 comments 1 reply
-
Hello @cvinayak , Regarding the MACRO NET_BUF_POOL_DEFINE, it indeed allocates from the pool located in the RAM section of memory. However, this is not the final location where the buffer resides before being sent, correct? If I want to define and implement my own hardware queue in another section of memory, there shouldn't be any confusion with that MACRO, right? Could you please explain further? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Yes, the net_buf can be enqueued (copied) to another section of memory as needed by the lower layer in the SoC. |
Beta Was this translation helpful? Give feedback.
-
Hello @cvinayak , I have a question regarding a scenario where the host and controller are located on separate chips. Assuming there is a connection between them, such as SPI, UART, or any similar interface for data transmission. When the host enqueues a buffer in the cmd_tx_queue, how can the controller dequeue it, given that they do not share the same memory space? Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
-
ok
The host on one chip uses the SPI, UART or any similar interface to send data to over the transport, and the Controller on the other chip will use the SPI, UART or similar interface to receive the data and vice versa. |
Beta Was this translation helpful? Give feedback.
-
Hello @cvinayak , Could you please clarify the role of the memq utility in the project? Is it the final vendor queue in the hardware that we need to update and modify, or should we avoid making changes to it? Additionally, what is the distinction between memq and lll_adv_data, considering that you previously mentioned lll_adv_data is a vendor-specific lower link layer? Furthermore, if we have data to send that is not advertisement-related, where is its final destination in the project that the vendor needs to update and modify? Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
-
hello @cvinayak , [00:00:59.820,000] os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 Any help please! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is initiated to explore the integration of the Zephyr BLE project into a specific vendor's System on Chip (SoC). Our goal is to thoroughly understand the project, focusing primarily on the lower link layer, and determine how we can modify it to be compatible with our hardware.
Beta Was this translation helpful? Give feedback.
All reactions