-
I've made a board with an stm32F302C8 and I've notice that the usb IRQ is weird the irq is somewhat bound to the can IRQ and separated in two LP and HP.
Thx for your help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
I suggest calling (I've never tried remapping the interrupts, so the below is what I understand based on the reference manual, and I have not tried to have different handlers for different interrupts.) It doesn't hurt (except for wasting CPU time) to call the interrupt handler too often. The handler checks the interrupt flags, and will do nothing in the case that there is no event flag set. The manual for your MCU ( RM0365 Rev 8) seems to have an error, it lists the remap bit (SYSCFG_CFGR1.5), but later says it is reserved, so I don't know if it works in the F302C8 or not. My guess is that there is some other issue causing your enumeration failure. |
Beta Was this translation helpful? Give feedback.
-
Schematic.PDF |
Beta Was this translation helpful? Give feedback.
-
can you tell me for witch specific mcu in the f3 series you acctually tested the stack? I could try to see any difference |
Beta Was this translation helpful? Give feedback.
-
I think i found my problem in https://www.st.com/content/ccc/resource/technical/document/application_note/group0/0b/10/63/76/87/7a/47/4b/DM00296349/files/DM00296349.pdf/jcr:content/translations/en.DM00296349.pdf the f2 fammily need a 1.5k pullup to D+ witch i didnt added and were the discovery board do have I'll add one monday and keep you up to date thx for your help. |
Beta Was this translation helpful? Give feedback.
I think i found my problem in https://www.st.com/content/ccc/resource/technical/document/application_note/group0/0b/10/63/76/87/7a/47/4b/DM00296349/files/DM00296349.pdf/jcr:content/translations/en.DM00296349.pdf the f2 fammily need a 1.5k pullup to D+ witch i didnt added and were the discovery board do have I'll add one monday and keep you up to date thx for your help.