Page 469 - ARM Based Microcontroller Projects Using MBED
P. 469

INDEX                                  455
               PDL, 367, 367f                         Simple TCP Socket Tester, 343, 344f
               program listing, 367–369, 368f         Sine waveform generation
               thread priority, 369, 370t              circuit diagram, 230
               thread states, 369–370                  description, 229
             thread synchronization                    PDL program, 230–232, 232f
               mutexes, 374–375, 375–376f              program listing, 232–233f, 233
               semaphores, 375–376, 377f              Sound level meter
               signals, 377–378, 378f                  block diagram, 219, 219f
             timer, 386, 388f                          circuit diagram, 219, 219f
            Reverse Polish Notation (RPN), 294         construction, 220, 220f
            Round Robin (RR) scheduling, 365, 366f     description, 218
            RTOS. See Real-time operating system (RTOS)  PDL program, 220, 221f
                                                       SoundLevel program listing, 221, 222–223f
            S                                         SPI. See Serial Peripheral Interface (SPI)
            Sawtooth waveform generation              SSEL, 316, 316t
             circuit diagram, 226                     Stepper motor
             description, 226                          bipolar stepper motor, 272–273, 273t, 273f
             generated waveform, 227–228, 228f         circuit diagram, 274–275, 274f
             PDL program, 227                          description, 271
             program listing, 227–228, 227f            PDL, 275, 275f
            7-segment LED dice                         program listing, 275–278, 276t, 277–278f
             block diagram, 153f, 156                  STM332 Nucleo expansion board
             circuit diagram, 141f, 156                  high-power bipolar motors, 405–406, 406f, 416–417,
             description, 156                             418f
             DICE program, 156, 158–159f                 low-voltage motor, 417, 419f
             PDL program, 156, 157f                      two-axis stepper motor, 406, 407f
            Semaphores, 375–376, 377f                  unipolar stepper motor, 272, 272f, 272t
            Serial interrupt                          STM32F411RET6 microcontroller
             description, 184                          ADC, 67–68
             PDL program, 184, 186f                    block diagram, 62, 62f
             SerISR program, 184–187, 187f             clock circuit
            Serial Peripheral Interface (SPI)            configuration, 70–73, 71–72f
             format function, 316, 316t                  external clock sources, 68–70
             MISO and MOSI, 316, 316t                    internal clock sources, 68–70
             Nucleo-F411RE ports, 317                    LSCO, 70
             SCK, 315–316, 315f                          MCO, 70
             SDI, 315–316, 315f                        DAC, 68
             SDO, 315–316, 315f                        electrical characteristics, 66–67, 66–67t
             square wave generation                    GPIOs, 73–74, 74f
                                                        2
               block diagram, 318, 318f                I C interface, 74
               description, 317                        internal structure, 62, 64–65f
               MCP4921, 318–319, 319f                  interrupt controller, 67
                                                        2
               PDL, 319–320, 320f                      I S interface, 75
               program listing, 321, 322–323f          key features, 61–62
               project construction, 319, 320f         pin configuration, 62, 63f
            Servo motor                                power modes
             block diagram, 269, 269f                    Sleep mode, 66
             circuit diagram, 270, 270f                  Standby mode, 66
             description, 268                            Stop mode, 66
             PDL, 270, 270f                            SPI interface, 75
             program listing, 270, 271f                temperature sensor, 68
            SevenSegMux2 program, 138–139, 138f        timers and watchdogs, 68, 69t
            Shared distributed processor, 391, 391f    USART, 75
   464   465   466   467   468   469   470   471