Search found 9 matches

by sittinhawk
16 Mar 2024, 19:35
Forum: Nuvoton Cortex-M4 MCU
Topic: M487 issues with SPIM DMA Write
Replies: 2
Views: 6078

Re: M487 issues with SPIM DMA Write

Never mind, I solved it. My software bug was resetting DWDELSEL to zero, and apparently the hardware doesn't like this value to be zero. All working now
by sittinhawk
08 Mar 2024, 20:13
Forum: Nuvoton Cortex-M4 MCU
Topic: M487 issues with SPIM DMA Write
Replies: 2
Views: 6078

M487 issues with SPIM DMA Write

I've been messing around with the SPIM module to interface with a quad flash chip. So far I have achieved: 1) Using Normal IO Mode to read, erase, write flash 2) Using DMM mode to read flash So the next task was to use DMA Write Mode to write to flash. I followed the instructions listed in 6.22.5.5 ...
by sittinhawk
06 Feb 2024, 20:57
Forum: Nuvoton Cortex-M4 MCU
Topic: M487 "turbo" mode
Replies: 4
Views: 3022

Re: M487 "turbo" mode

Okay, thank you for letting me know that. The user manual describes the single bit in the CLK_LDOCTL register as "DPD (deep power down mode) Wake Up Time Select Bit", so I wasn't able to infer that this bit would change the LDO output to 1.26V.
by sittinhawk
05 Feb 2024, 20:48
Forum: Nuvoton Cortex-M4 MCU
Topic: M487 "turbo" mode
Replies: 4
Views: 3022

Re: M487 "turbo" mode

Thank you, that helped. Looks like the piece I was missing was setting the flash controller cache miss cycles to the appropriate value for the higher frequency. Now I'm am running at 192 MHz. Still didn't exactly see in SystemInit() where the LDO voltage was being changed. Maybe it happens automatic...
by sittinhawk
04 Feb 2024, 19:58
Forum: Nuvoton Cortex-M4 MCU
Topic: M487 "turbo" mode
Replies: 4
Views: 3022

M487 "turbo" mode

I want to have the M487 CPU core run at maximum frequency (192 MHz). I already have the PLL setup and can get it up to 96 MHz right now, but if I try to go faster the CPU stalls out. Table 6.2-2 of User Manual says 192 MHz is only possible in Turbo mode, but it does not explain what "turbo" mode is ...
by sittinhawk
01 Feb 2024, 19:09
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: EBI missing AD10?
Replies: 2
Views: 4728

Re: EBI missing AD10?

I get that it doesn't have all EBI pins, just seems strange that they would only have 1 out of 24 pins missing from being able to do Figure 6.30-2 (16-bit EBI data width with 16-bit device), especially if they have doubles for other pins. In fact, none of the examples shown in the EBI section can tr...
by sittinhawk
30 Jan 2024, 20:16
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: EBI missing AD10?
Replies: 2
Views: 4728

EBI missing AD10?

I'm planning on utilizing the EBI interface. For my part, M487SIDAE (64 pin package), the datasheet has a pin for all 16 AD pins, except AD10. And I notice that there is 2 options for ADR19. Was this a typo, or is AD10 really not available?
by sittinhawk
09 Oct 2023, 04:53
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: NUC123 Internal oscillator for USB device operation?
Replies: 1
Views: 16913

NUC123 Internal oscillator for USB device operation?

Can the NUC123 use its internal oscillator (22.1184 MHz) as the clock source for USB device, or does it require an external oscillator?
by sittinhawk
14 Feb 2023, 19:23
Forum: Nuvoton Cortex-M4 MCU
Topic: Urgent: SWD unlock sequence
Replies: 0
Views: 21617

Urgent: SWD unlock sequence

I urgently need to know how to perform the SWD unlock sequence without a NuLink programmer.