Search found 26 matches
- Tue Feb 20, 2024 1:12 pm
- Forum: Hints and tips
- Topic: BB02: Reading Switches
- Replies: 2
- Views: 138
Re: BB02: Reading Switches
Here's an example of reading the PLL_RANGE values and using that to adapt things in your program. ; LFO example using BOOTSTAT to read sample rate ; LFO freq is based on the sample rate, so if you change the PLL range, the LFO ; speed will also change. This program uses POT0 to set the LFO rate from...
- Wed Feb 14, 2024 3:13 pm
- Forum: Hints and tips
- Topic: BB02: Reading Switches
- Replies: 2
- Views: 138
BB02: Reading Switches
Have you ever looked at your FXCore dev board and wondered "what are all these switches?!" Yes, the dev board has a lot of DIP switches. Some are not designed to be tweaked in real-time, some are to set the parameters of the chip, and some are available to you in your program. Generally yo...
- Wed Jan 04, 2023 9:20 pm
- Forum: Software
- Topic: Question using the cho function
- Replies: 3
- Views: 16621
Re: Question using the cho function
You also have to be aware that the depth of the CHR instruction matters here. If you declare a memory block of a certain size, you need to make sure that you don't go past either end of it. If you do: .mem delay 1024 chr lfo0_sin delay+512 The program will start in the middle of the delay memory and...
- Mon Oct 31, 2022 11:36 am
- Forum: Hints and tips
- Topic: What is this forum?
- Replies: 1
- Views: 30261
What is this forum?
Simply put, this is a place for me to post educational content - think of it as a knowledge base similar to the one on the old Spin Semi website. Frank has graciously allowed me to have this little spot for my own purposes, so I'll use it to post information to help new users get started as well as ...
- Thu Oct 20, 2022 12:54 pm
- Forum: Hints and tips
- Topic: BB01 - Volume Controls
- Replies: 0
- Views: 18415
BB01 - Volume Controls
BUILDING BLOCKS 01 - VOLUME CONTROLS A volume control is essentially a way to scale a signal somewhere between a minimum and maximum value. If you're used to analog signal design, you'd usually implement this with a voltage divider like this: https://cdn.sparkfun.com/r/400-400/assets/6/3/e/5/e/511a...
- Tue Oct 18, 2022 8:42 am
- Forum: Software
- Topic: Need help with writing to FLASH problem
- Replies: 5
- Views: 16999
Re: Need help with writing to FLASH problem
Here's how I do it: Send an I2C command: Address 0x30, 0xA5, 0x5A, 0x30 This puts the FXCore in program mode Send MREGs: 0x30, 0x04, 0x7F, mreg_data Send CREGs: 0x30, 0x01, 0x0F, creg_data Send SFRs: 0x30, 0x02, 0x0B, sfr_data Send PRG: 0x30, progSize >> 8, progSize & 0x00FF Send PRG data: 0x30,...
- Sat Oct 01, 2022 8:16 pm
- Forum: Hardware
- Topic: Hardware Hacking with FXCore!
- Replies: 6
- Views: 16356
Re: Hardware Hacking with FXCore!
[reserved]
- Sat Oct 01, 2022 8:16 pm
- Forum: Hardware
- Topic: Hardware Hacking with FXCore!
- Replies: 6
- Views: 16356
Re: Hardware Hacking with FXCore!
[reserved]
- Sat Oct 01, 2022 6:55 pm
- Forum: Hardware
- Topic: Hardware Hacking with FXCore!
- Replies: 6
- Views: 16356
Re: Hardware Hacking with FXCore!
Hardware Hacking pt. 2 - External Bypass Switching Effects are great, but sometimes you want (or need) to turn the thing off. FXCore has a built-in bypass switch using pin 24, hold it low to bypass or leave it floating to enable. When FXCore is in "bypass" the chip connects SDI0 to SDO0 an...
- Sat Oct 01, 2022 6:55 pm
- Forum: Hardware
- Topic: Hardware Hacking with FXCore!
- Replies: 6
- Views: 16356
Re: Hardware Hacking with FXCore!
Hardware Hacking pt. 1 - Adding Pots What is a "pot input," anyway? It's a pin on your FXCore that reads in a DC voltage and then allows you to read that voltage in your code. On FXCore, we generally use a potentiometer (aka "pot") connected as a voltage divider between 3.3V and...