New users must post here first and let us know a little bit about yourself.
-
R3MDG
- Posts: 27
- Joined: Tue Jun 11, 2024 3:07 pm
Post
by R3MDG » Tue Jun 03, 2025 3:18 am
Tell me how these interrupt handlers differ, besides the fact that I use a buffer with a different index, I need to send the sound not via I2S, but to the C7000 sound buffer (160 bytes) ?
Code: Select all
void HAL_I2SEx_TxRxHalfCpltCallback(I2S_HandleTypeDef *hi2s)
{
if (!stopOnNextI2SDMAInterrupt)
{
if (isSending)
{
g_TX_SAI_in_use = soundRefillData(0);
}
else if(isReceiving)
{
soundReceiveRefillData(0);
}
}
else
{
clearI2SBuffersAndFlags();
}
}
void HAL_I2SEx_TxRxCpltCallback(I2S_HandleTypeDef *hi2s)
{
if (!stopOnNextI2SDMAInterrupt)
{
if (isSending)
{
g_TX_SAI_in_use = soundRefillData(1);
}
else if(isReceiving)
{
soundReceiveRefillData(1);
}
}
else
{
clearI2SBuffersAndFlags();
}
}
-
VK3KYY
- Posts: 8682
- Joined: Sat Nov 16, 2019 3:25 am
- Location: Melbourne, Australia
Post
by VK3KYY » Tue Jun 03, 2025 4:06 am
R3MDG wrote: ↑Tue Jun 03, 2025 3:18 am
Tell me how these interrupt handlers differ, besides the fact that I use a buffer with a different index, I need to send the sound not via I2S, but to the C7000 sound buffer (160 bytes) ?
Code: Select all
void HAL_I2SEx_TxRxHalfCpltCallback(I2S_HandleTypeDef *hi2s)
{
if (!stopOnNextI2SDMAInterrupt)
{
if (isSending)
{
g_TX_SAI_in_use = soundRefillData(0);
}
else if(isReceiving)
{
soundReceiveRefillData(0);
}
}
else
{
clearI2SBuffersAndFlags();
}
}
void HAL_I2SEx_TxRxCpltCallback(I2S_HandleTypeDef *hi2s)
{
if (!stopOnNextI2SDMAInterrupt)
{
if (isSending)
{
g_TX_SAI_in_use = soundRefillData(1);
}
else if(isReceiving)
{
soundReceiveRefillData(1);
}
}
else
{
clearI2SBuffersAndFlags();
}
}
One callback is called when the buffer is half full and the other when the buffer is full. You will notice that the functions called by these callbacks have a different value for their argument i.e 0 vs 1
-
R3MDG
- Posts: 27
- Joined: Tue Jun 11, 2024 3:07 pm
Post
by R3MDG » Mon Jun 09, 2025 3:17 pm
Tell me how correct this modification is?
viewtopic.php?f=19&t=4266&start=30
what was the resistance in previous versions?
and how will this affect the diodes in the keyboard?
and it’s still not clear whether 82 ohms is the total resistance or each resistor’s?
-
R3MDG
- Posts: 27
- Joined: Tue Jun 11, 2024 3:07 pm
Post
by R3MDG » Mon Jun 09, 2025 3:54 pm
EA3ITA wrote: ↑Mon Jun 02, 2025 3:36 pm
Hi! Is the source code available for the 008?
I'd be willing to help if I can download the repo and compile it as is one of the radios that I own
Are you really still sure that you can help?
-
BA7IQE
- Posts: 43
- Joined: Thu Aug 29, 2024 12:34 pm
Post
by BA7IQE » Thu Jun 12, 2025 3:58 am
Very great job HR-C7000 has many radios starting to use and looking forward to further news.