Forum : ST7/STM8
Post Information | Post |
---|---|
November 10, 2007 - 1:58am
|
I have slowly been integrating and bringing up the USB low-speed example (i.e. the ST USBLS Library 4.21) from C:/RIDE/EXAMPLES/ST7/REVA/63B/COSMIC/ST7USBLS/ and, because debugging over ICC doesn't seem to work, have been trying to get serial working over SCI. However, when I enable interrupt mode SCI usage with: SCI_Init(SCI_DEFAULT_PARAM1, SCI_DEFAULT_PARAM2); the USB enumeration fails, regardless of whether I actually use the SCI via printf or SCI_PutString. If I simply #if 0...#endif the above SCI initialization code, the USB enumeration works again. Is there anything expressly restricted or forbidden about using these two blocks concurrently? Neither pins are multiplexed, so I cannot see that there would be. |