• sending busy (NAK) to host for usb
    I'm using the MDK Middleware library with stm32f2xx_hal and I need to NAK to host. I see a reference to usbdRequestNAK but unsure how this can be used. I need to decorate my NAK around my emulated eeprom...
  • FX2 manual NAK a given endpoint
    Hello, I have a Cypress FX2 based device with customer firmware. There is EP6 that is configured as AUTOIN=0. The FX2 is itself is configured as a slave device with internal master. within the...
  • String tokenizing
    I need to extract eight values from a string I'm receiving from my serial port. I have the following code: unsigned char xdata *p_ch; unsigned int xdata ch = 0; // Get command p_ch = strtok( com_buffer...
  • semaphore token counter is not limited
    Hello, µVision V5.12, CMSIS OS RTX V4.75 It seemed to me, that a binary Semaphore does not work correctly with my test code. osSemaphoreWait returns a value of 4, but it is a binary semaphore...
  • Get Semaphore Token Count
    Hello All, I'm new to the RTX system and I am porting some code from VxWorks to RTX. I'm trying to figure out if a semaphore is blocked or not. How do I access the token count in the semaphore/mutex...