Hi,
1, we connect the HSUSB_VBUS to 5V directly
It's OK.
2, use external 24M HXT source
The M480 HSUSB clock source can only come from 12M HXT
Please repleace the HXT from 24M to 12M then download the simplest example [HSUSBD_HID_Mouse] in M480 BSP to check the hardware is fine first.
Thanks
Search found 31 matches
- 06 Aug 2019, 14:40
- Forum: Nuvoton Cortex-M4 MCU
- Topic: Could M483 disable VBUS function?
- Replies: 3
- Views: 8938
- 06 Aug 2019, 14:26
- Forum: Nuvoton Cortex-M4 MCU
- Topic: how to decide M483 HSUSB descriptors
- Replies: 2
- Views: 7264
Re: how to decide M483 HSUSB descriptors
Hi,
The examples in the M480 BSP are suitable for all the part of M480 series.
Could you please download the simplest example such likes "HSUSBD_HID_Mouse" in the M480 BSP first to check the haredware which you used is work.
Thanks
The examples in the M480 BSP are suitable for all the part of M480 series.
Could you please download the simplest example such likes "HSUSBD_HID_Mouse" in the M480 BSP first to check the haredware which you used is work.
Thanks
- 10 Jun 2019, 10:27
- Forum: Nuvoton Cortex-M4 MCU
- Topic: HSUSB ISO TXPKIF strange behavior
- Replies: 2
- Views: 6455
Re: HSUSB ISO TXPKIF strange behavior
HI vsf,
Could you show us the USB packet during transmission, without that I have no idea what's USB going on.
Thanks
Could you show us the USB packet during transmission, without that I have no idea what's USB going on.
Thanks
- 10 Jun 2019, 10:13
- Forum: Nuvoton Cortex-M4 MCU
- Topic: How to configure for external HXT source?
- Replies: 2
- Views: 9105
Re: How to configure for external HXT source?
Hi David, Please enable the CKO (clock output) function to check the HXT is fine or not. We have a sample code which shows how to use the external clock as HXT clock source, but the readme file is written by Chinese: https://www.nuvoton.com/hq/resource-download.jsp?tp_GUID=EC0120171219135320 Thanks
- 19 Mar 2019, 11:08
- Forum: Nuvoton Cortex-M4 MCU
- Topic: HsUSBD Fly-Mode packetizing size control
- Replies: 1
- Views: 24450
Re: HsUSBD Fly-Mode packetizing size control
Hi Kojima-san, The fly-mode only care how many data in the endpoint buffer, if the data in the EP buffer is less than maximum packet size, the HS-USBD will send all of data in A package after receive the in-token from HOST. But if data is more than the maximum packet size, the data will be divided i...
- 12 Mar 2019, 11:27
- Forum: Nuvoton Cortex-M0/M23 MCU
- Topic: Where can I find BSB for NuMaker emWIN NUC126?
- Replies: 1
- Views: 24710
- 15 Feb 2019, 16:07
- Forum: Development Platform
- Topic: How to activate ETM on M48x ?
- Replies: 2
- Views: 95469
Re: How to activate ETM on M48x ?
Hi, To enable the ETM trace function, you need to add some code to switch the pin's multi-function to ETM trace pin at the initial state: /* Setup ETM Pin Usage - PE.8: DAT3 - PE.9: DAT2 - PE.10: DAT1 - PE.11: DAT0 - PE.12: CLK */ SYS->GPE_MFPH &= ~(SYS_GPE_MFPH_PE8MFP_Msk | SYS_GPE_MFPH_PE9MFP_Msk ...
- 15 Feb 2019, 15:22
- Forum: Nuvoton Cortex-M4 MCU
- Topic: HsUSBD Proper Read-out method for Bulk-OUT EPs
- Replies: 9
- Views: 30412
Re: HsUSBD Proper Read-out method for Bulk-OUT EPs
Hi Kojima-san, [Checking emptiness] _BUFEMPTYIF is just a status flag indicate that do endpoint buffer have data or not. If endpoint buffer have unread data inside it will keep "0", even there is only 1 byte unread data inside endpoint buffer. [Memory space management done by USBD IP] If the endpoin...
- 12 Feb 2019, 14:23
- Forum: Nuvoton Cortex-M4 MCU
- Topic: HsUSBD Proper Read-out method for Bulk-OUT EPs
- Replies: 9
- Views: 30412
Re: HsUSBD Proper Read-out method for Bulk-OUT EPs
Hi Kojima-san The _DATCNT always indicate how many data in the endpoint buffer, and it will decrease by "1" each time you read-out (byte accessed) the data from the endpoint buffer. And the endpoint buffer is work likes "Ring Buffer", if it have enough space to stored "A data package", the USB hardw...
- 11 Feb 2019, 16:30
- Forum: Nuvoton Cortex-M4 MCU
- Topic: HsUSBD Proper Read-out method for Bulk-OUT EPs
- Replies: 9
- Views: 30412
Re: HsUSBD Proper Read-out method for Bulk-OUT EPs
Hi Kojima-san, Allow me to simplify your question: You want to operate the endpoint buffer likes the "double-buffer", allocates double packet size for a endpoint (BUF1, BUF2), the first package from HOST will be stored into BUF1, the next package will be stored into BUF2, so you can handle the previ...