Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback Functions for USBX Interrupt #168

Open
MauricioConceptu opened this issue Jul 30, 2024 · 0 comments
Open

Callback Functions for USBX Interrupt #168

MauricioConceptu opened this issue Jul 30, 2024 · 0 comments
Labels
hardware New hardware or architecture support request

Comments

@MauricioConceptu
Copy link

MauricioConceptu commented Jul 30, 2024

Hello, I have doubts about the operation of USBX interrupts in relation to USB Device High Speed.
Taking a deeper look at the
UINT (*ux_system_slave_change_function)(ULONG) parameter of the function ux_device_stack_initialize.
I found that there are a number of callback functions that tie the operating system to the HAL in ux_dcd_stm32_callback.c and of these functions only HAL_PCD_SuspendCallback is called when disconnecting or connecting the HOST through the chip USB3300 microchip.
In addition, the system only recognizes void OTG_HS_IRQHandler(void)
and never uses the VOID _ux_dcd_stm32_interrupt_handler(VOID) function. I'm curious when this interrupt_handle function is called in the operating system or if I need to implement a function.
And I'm still in doubt about how to communicate with the phy registers through the ULPI commands, I didn't find the function that makes this communication.
I'm trying to understand how the Operating System identifies that the HOST is connected or disconnected.

@MauricioConceptu MauricioConceptu added the hardware New hardware or architecture support request label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware New hardware or architecture support request
Projects
None yet
Development

No branches or pull requests

1 participant